N = the phylogeny = (1,(1,1,1,1,1))
t = theta = 10
p(N,t) = probability = SUM(c_i * p_i)
c(N,t) = coefficient
D(N,t) = denominator = 30
N'1 = (1,(2,1,1,1))
N'2 = (1,(1,2,1,1))
N'3 = (1,(1,1,2,1))
N'4 = (1,(1,1,1,2))
N'5 = (1,(2,1,1,1))
N'6 = (1,(1,2,1,1))
N'7 = (1,(1,1,2,1))
N'8 = (1,(1,1,1,2))
N'9 = (1,(1,2,1,1))
N'10 = (1,(2,1,1,1))
N'11 = (1,(1,1,2,1))
N'12 = (1,(1,1,1,2))
N'13 = (1,(1,1,2,1))
N'14 = (1,(1,2,1,1))
N'15 = (1,(2,1,1,1))
N'16 = (1,(1,1,1,2))
N'17 = (1,(1,1,1,2))
N'18 = (1,(1,1,2,1))
N'19 = (1,(1,2,1,1))
N'20 = (1,(2,1,1,1))
For t = 10:
p'1 = 0.0027573616859331157 (calculated at once with NewickVector)
p'2 = 0.0027573616859331157 (calculated at once with NewickVector)
p'3 = 0.0027573616859331153 (calculated at once with NewickVector)
p'4 = 0.0027573616859331148 (calculated at once with NewickVector)
p'5 = 0.0027573616859331157 (calculated at once with NewickVector)
p'6 = 0.0027573616859331157 (calculated at once with NewickVector)
p'7 = 0.0027573616859331153 (calculated at once with NewickVector)
p'8 = 0.0027573616859331148 (calculated at once with NewickVector)
p'9 = 0.0027573616859331157 (calculated at once with NewickVector)
p'10 = 0.0027573616859331157 (calculated at once with NewickVector)
p'11 = 0.0027573616859331153 (calculated at once with NewickVector)
p'12 = 0.0027573616859331148 (calculated at once with NewickVector)
p'13 = 0.0027573616859331153 (calculated at once with NewickVector)
p'14 = 0.0027573616859331157 (calculated at once with NewickVector)
p'15 = 0.0027573616859331157 (calculated at once with NewickVector)
p'16 = 0.0027573616859331148 (calculated at once with NewickVector)
p'17 = 0.0027573616859331148 (calculated at once with NewickVector)
p'18 = 0.0027573616859331153 (calculated at once with NewickVector)
p'19 = 0.0027573616859331157 (calculated at once with NewickVector)
p'20 = 0.0027573616859331157 (calculated at once with NewickVector)
c'1 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'2 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'3 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'4 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'5 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'6 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'7 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'8 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'9 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'10 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'11 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'12 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'13 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'14 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'15 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'16 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'17 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'18 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'19 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
c'20 = t / d = 10 / 30 = 0.33333333333333331 (as f equals 1)
p(N,t) = SUM(c_i * p_i)
= ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331153 )
+ ( 0.33333333333333331 * 0.0027573616859331148 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331153 )
+ ( 0.33333333333333331 * 0.0027573616859331148 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331153 )
+ ( 0.33333333333333331 * 0.0027573616859331148 )
+ ( 0.33333333333333331 * 0.0027573616859331153 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331148 )
+ ( 0.33333333333333331 * 0.0027573616859331148 )
+ ( 0.33333333333333331 * 0.0027573616859331153 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
+ ( 0.33333333333333331 * 0.0027573616859331157 )
= 0.018382411239554104 (hand-calculated)
= 0.018382411239554104 (calculated at once by NewickVector)
|