Pairwise sequence comparison. Global alignment with linear gap cost
|
|
- Stephanie Webb
- 6 years ago
- Views:
Transcription
1 Pirwise sequence comprison Globl linment with liner p cost
2 DNA sequences The humn enome 5 cells, ech contins 3 pirs of chromosomes, DNA molecules, which stores enetic informtion... GGCCTAAAGGCGCCGGTCTT TCGTACCCCAAAATCTCGGC ATTTTAAGATAAGTGAGTGT TGCGTTACACTAGCGATCTA CCGCGTCTTATACTTAAGCG TATGCCCAGATCTGACTAAT CGTGCCCCCGGATTAGACGG GCTTGATGGGAAAGAACAGC TCGTCTGTTTACGTATAAAC AGAATCGCCTGGGTTA... Totl: 3... ACGT's
3 Usin sequence dt Evolution: DNA evolve by muttions... The most frequent muttions re: Insertion, deletion nd substitution of symbols GTTATC
4 Usin sequence dt Evolution: DNA evolve by muttions... The most frequent muttions re: Insertion, deletion nd substitution of symbols GTTATC ins GTTACTC
5 Usin sequence dt Evolution: DNA evolve by muttions... The most frequent muttions re: Insertion, deletion nd substitution of symbols GTTATC ins GTTACTC del TTACTC
6 Usin sequence dt Evolution: DNA evolve by muttions... The most frequent muttions re: Insertion, deletion nd substitution of symbols GTTATC ins GTTACTC del TTACTC sub TTGCTC
7 Usin sequence dt Evolution: DNA evolve by muttions... The most frequent muttions re: Insertion, deletion nd substitution of symbols GTTATC ins GTTACTC del TTACTC sub TTGCTC G T T A - T C - T T G C T C Prsimony principle: The simplest explntion is ood estimte of evolution, i.e sequences tht look similr re relted... A resonble question: How similr re two sequences?
8 Usin sequence dt Evolution: DNA evolve by muttions... The most frequent muttions re: Insertion, deletion nd substitution of symbols GTTATC ins GTTACTC del G T T A - T C TTACTC - T T G C T C sub TTGCTC Note: lso pplies to proteins, since muttions in codin DNA implies chnes to the encoded Prsimony principle: The sequence simplest of explntion mino cids... is ood estimte of evolution, i.e sequences tht look similr re relted... A resonble question: How similr re two sequences?
9 Wht is pirwise linment c t t c c t c t c t - - c t A pirwise linment of cttcct nd ctctct
10 Wht is pirwise linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t p / indel columns A pirwise linment of cttcct nd ctctct
11 Wht is pirwise linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t p / indel columns An linment cn be interpreted s: Emphsizin sequence similrity: objective is to mximize the number of mtch-columns of similr/identicl symbols... Explinin sequence difference: objective is to minimize the number of indels nd subs (of different symbols)...
12 Wht is pirwise linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t p / indel columns - An linment cn be interpreted - columns re not llowed s: Emphsizin sequence similrity: objective is to mximize the number of mtch-columns of similr/identicl symbols... Explinin sequence difference: objective is to minimize the number of indels nd subs (of different symbols)...
13 How to find n optiml linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t p / indel columns To computtionlly find n optiml linment, we must: Define the cost of n linment (typiclly score mtrix nd p cost) Define n optiml linment (typiclly n linment of mx (or min) cost) Construct n efficient lorithm for computin n optiml linment
14 Cost of n linment Mtch / Mis-mtch / sub columns c t c t c t t c c t c t c t - - c t p / indel columns pcost: Cost of linment = sum of the cost of ech column Wht is the cost of the bove linment? 6
15 Cost of n linment Mtch / Mis-mtch / sub columns c t c t c t t c c t c t c t - - c t p / indel columns pcost: Cost of linment = sum of the cost of ech column Wht is the cost of the bove linment? 6
16 Cost of n linment Mtch / Mis-mtch / sub columns c t c t c t t c c t c t c t - - c t p / indel columns pcost: Cost of linment = sum of the cost of ech column Wht is the cost of the bove linment? 6
17 Cost of n linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t c t Score mtrix: c c t c t t pcost: - p / indel columns pcost: Cost of linment = sum of the cost of ech column Wht is now the cost of the bove linment? 8
18 Cost of n linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t c t Score mtrix: c c t c t t pcost: - p / indel columns pcost: Cost of linment = sum of the cost of ech column Wht is now the cost of the bove linment? 8
19 Cost of n linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t c t Score mtrix: c c t c t t Note bout p cost pcost: - p / indel columns pcost: In enerl: cost of p block = (k), where k is the p lenth Our exmples: (k) = k zero p cost (k) = - k liner p cost Mny prorms: (k) = + b k ffine p cost
20 Cost of n linment Mtch / Mis-mtch / sub columns c t t c c t c t c t - - c t c t Score mtrix: c c t c t t Note bout p cost pcost: - p / indel columns pcost: In enerl: cost of p block = (k), where k is the p lenth Our exmples: (k) = k zero p cost (k) = - k liner p cost Mny prorms: (k) = + b k ffine p cost
21 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost.
22 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. Exmple: Find n optiml linment of A=cttcct nd B=ctctct usin: c t c t pcost:
23 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. Exmple: Find n optiml linment of A=cttcct nd B=ctctct usin: Is this linment optiml? c t c t pcost: c t t c c t c t c t - - c t Cost: 6
24 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. Exmple: Find n optiml linment of A=cttcct nd B=ctctct usin: Is this linment optiml? c t c t pcost: c t t c c t c t c t - - c t Cost: 6 c t t c c t - c t c t c t Cost: 9
25 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. Exmple: Find n optiml linment of A=cttcct nd B=ctctct usin: Is this linment optiml? c t c t pcost: c t t c c t c t c t - - c t Cost: 6 c t t c c t - c t c t c t Cost: 9 Ide: Compute the cost of every linment of A nd B nd pick the mx...
26 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. Exmple: Find n optiml linment of A=cttcct nd B=ctctct usin: Is this linment optiml? c t c t pcost: c t t c c t c t c t - - c t Ide: Compute the cost of every linment of A nd B nd Cost: 6 c t t c c t - pick the mx... c t c t c t How mny linments Cost: re there 9 of two strins? E. nd ct?
27 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. Exmple: Find n optiml linment of A=cttcct nd B=ctctct usin: Is this linment optiml? c t c t pcost: c t t c c t c t c t - - c t Cost: 6 Ide: Compute the cost of every linment of A nd B nd pick the mx... c t t c c t - c t c t c t How mny linments Cost: re there 9 of two strins? E. nd ct?
28 Computin n optiml linment Objective: Given two sequences A nd B, score mtrix nd p cost, find n linment of A nd B of mximum (or minimum) cost. GGCCTAAAGG CGCCGGTCTT TCGTACCCCA AAATCTCGGC ATTTTAAGAT AAGTGAGTGT TGCGTTACAC TAGCGATCTA CCGCGTCTTA TACTTAAGCG TATGCCCAGA TCTGACTAAT CGTGCCCCCG GATTAGACGG GCTTGATGGG AAAGAACAGC TCGTCTGTTT ACGTATAAAC AGAATCGCCT GGGTTCGC GGGCTAAAGG TTAGGGTCTT TCACACTAAA GAGTGGTGCG TATCGTGGCT AATGTACCGC TTCTGGTATC GTGGCTTACG GCCAGACCTA CAAGTACTAG ACCTGAGAAC TAATCTTGTC GAGCCTTCCA TTGAGGGTAA TGGGAGAGAA CATCGAGTCA GAAGTTATTC TTGTTTACGT AGAATCGCCT GGGTCCGC Needs n efficient computtionl tool. One of the first nd most studied problems in bioinformtics...
29 Computin n optiml linment V. I. Levenshtein. Binry codes cpble of correctin deletions, insertions nd reversls. Soviet Physics Dokldy, 966. T. K. Vintsyuk. Speech discrimintion by dynmic prormmin. Kibernetik, 968. S. B. Needlemn nd C. D. Wunsch. A enerl method pplicble to the serch for similrities in the mino cid sequence of two proteins. Journl of Moleculr Bioloy, 97. D. Snkoff. Mtchin sequence under deletion/insertion constrints. Proceedins of the Ntionl Acdemy of Science of the USA, 97. R. A. Wner nd M. J. Fisher. The Strin to Strin Correction Problem. Journl of the ACM, 973. P. H. Sellers. On the theory nd computtion of evolutionry distnce. SIAM Journl of Applied Mthemtics, nd mny more...
30 Constructin n lorithm Problem: Wht is the cost, Cost(i, j), of n optiml linment of the first i symbols in A, A[..i ], nd the first j symbols in B, B[..j ]? Cost(n,m)
31 Constructin n lorithm Problem: Wht is the cost, Cost(i, j), of n optiml linment of the first i symbols in A, A[..i ], nd the first j symbols in B, B[..j ]? ATACAACGC ATCTCCACC A T ATACAACGC ATCTCCACCT A - ATACAACGCA ATCTCCACC - T Cost(n,m) Solution: Look t the lst column, there re 3 cses, pick the best
32 Constructin n lorithm Problem: Wht is the cost, Cost(i, j), of n optiml linment of the first i symbols in A, A[..i ], nd the first j symbols in B, B[..j ]? ATACAACGC ATCTCCACC A T Cost(n-,m-) + subcost(a[n], B[m]) An optiml linment of the first n- symbols in A nd the first m- symbols in B Cost(n,m) Solution: Look t the lst column, there re 3 cses, pick the best
33 Constructin n lorithm Problem: Wht is the cost, Cost(i, j), of n optiml linment of the first i symbols in A, A[..i ], nd the first j symbols in B, B[..j ]? ATACAACGC ATCTCCACC A T Cost(n-,m-) + subcost(a[n], B[m]) ATACAACGC ATCTCCACCT A - Cost(n-,m) + pcost ATACAACGCA ATCTCCACC - T Cost(n,m-) + pcost Cost(n,m) Solution: Look t the lst column, there re 3 cses, pick the best A simple recursive solution
34 Implementin the lorithm Possible cses: ATACAACGC ATCTCCACC ATACAACGC ATCTCCACCT A T A - func Cost(i,j): v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + ATACAACGCA ATCTCCACC or nothin Cost(,)= - T if (i = ) nd (j = ) then v4 = return mx(v,v,v3,v4) end print Cost(n,m) Is it ood solution? Is it correct? Is it efficient?
35 Experiment Mesure the runnin time for comprin sequences of lenth,, 3,... Slow! Wht is the bottleneck?
36 Anlysin the lorithm func Cost(i,j): v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = return mx(v,v,v3,v4) end print Cost(n,m) Computin Cost(,) involves Cost(,), Cost(,), Cost(,)... We compute the sme thin in nd in... Rule of thumb: Remember wht you hve done!!
37 Anlysin the lorithm func Cost(i,j): v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = return mx(v,v,v3,v4) end print Cost(n,m) Computin Cost(,) involves Cost(,), Cost(,), Cost(,)... We compute the sme thin in nd in... Rule of thumb: Cost(n,m) Remember wht you hve done!!
38 A better lorithm Store intermedite results Dynmic prormmin func Cost(i,j): end v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = return mx(v,v,v3,v4) print Cost(n,m) func Cost(i, j): end if T[i,j] = undef then endif v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = T[i,j] = mx(v,v,v3,v4) return T[i,j] T[..n][..m]=undef print Cost(n,m) How does this influence the runnin time?
39 Experiment Mesure the runnin time for comprin sequences of lenth,, 3,... Much fster!! The runnin time nd spce use is prop. to the size of the tble O(nm)
40 Experiment The runnin time of both lorithms implemented in C nd Python The improved lorithm mkes the solution usble in prctice
41 Globl linment recursion Cost(i, j) = mx Cost(i-, j-) + subcost(a[i ], B[j ]) Cost(i-, j) + pcost Cost(i, j-) + pcost if i= nd j= A[i] B[j] i-,j- i-,j i,j- i,j To compute the score of n optiml linment of A[..n] nd B[..m], fill out n (n+) x (m+) tble cf. bove recursion. The optiml linment score is in entry (n,m).
42 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell depends on three of its neihbor cells (left, upper-dionl, nd bove)... c t c t pcost:
43 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, nd bove)... 6 c t c t pcost:
44 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, nd 6+ bove)... 6 c t c t pcost:
45 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, nd 6+ bove) c t c t pcost:
46 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, 6+ nd 6+ bove) c t c t pcost:
47 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, 6+ nd 6+ bove) c t c t pcost:
48 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, 6+ nd 6+ bove) Cn we fill out the tble in other 6+ wys (e.. non-recursively)? c t c t pcost:
49 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, 6+ nd 6+ bove) Cn we fill out the tble in other 6+ wys (e.. non-recursively)? c t c t Row by row, or column by column, or dionl by dionl pcost:
50 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, 6+ nd 6+ bove) How much spce is consumed? Cn it be improved? 6+ c t c t pcost:
51 Bsic ide: Fillin out tble The lorithm essentilly fills out tble (dynmic prormmin) Observtion: The vlue in cell 6depends 6 on three of its neihbor cells (left, upper-dionl, 6+ nd 6+ bove) How much spce is consumed? Cn it be improved? 6+ c t c t O(n ) cn be improved to O(n) by keepin only two rows in memory pcost:
52 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t - t
53 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t - - t
54 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t - - t
55 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
56 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
57 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
58 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
59 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
60 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
61 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
62 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
63 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
64 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
65 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - c t t
66 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
67 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
68 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
69 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
70 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
71 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
72 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
73 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
74 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
75 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t
76 Exercise Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t The optiml score, but wht bout n optiml linment?
77 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
78 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
79 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
80 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
81 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
82 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: c t c t pcost: - t c t t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
83 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: Also optiml: t - c t t c t t c t c t c t pcost: - t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
84 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: Also optiml: t - c t t c t c t Runnin time? O(n) Spce - consumption? O(nm) t -4-3 c t c t pcost: - t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
85 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: Also optiml: t - c t t c t c t Runnin time? O(n) Spce - consumption? O(nm) t -4-3 c t c t pcost: - t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
86 Bcktrckin Compute the optiml score of n optiml linment of t nd ct usin: Also optiml: t - c t c t c t c t pcost: Runnin time? O(n) Spce - consumption? O(nm) Another lecture: Spce t consumption cn be improve to O(n) -4-3 t c t t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
87 func Cost(i, j): end if T[i,j] = undef then Bcktrckin Compute the optiml score of n optiml linment v = Cost(i-, of t j-) nd + d(a[i],b[j]) ct usin: v = v = v3 = v4 = undef if (i > ) nd (j > ) then if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + Also optiml: if (i = ) nd (j = ) then v4 = endif t - return T[i,j] c t T[i,j] = mx(v,v,v3,v4) c t c t c t pcost: Runnin time? O(n) Spce - consumption? O(nm) Another lecture: Spce t consumption cn be improve to O(n) -4-3 T[..n][..m]=undef t c t print Cost(n,m) t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
88 Bcktrckin func Cost(i, j): func RecurBckTrck(i, j): if T[i,j] = undef then if (i > ) nd (j > ) then c t v = v = v3 = v4 = undef Compute the optiml score if T[i,j] of n == optiml T[i-i, j-] + subcost(a[i], B[j]) then if (i > ) nd (j > ) then c linment v = Cost(i-, of t j-) nd + d(a[i],b[j]) output column(a[i], B[j]) ct usin: if (i > ) nd (j >= ) then RecurBckTrck(i-, j-) t v = Cost(i-, j) + endif if (i >= ) nd (j > ) then pcost: - v3 = Cost(i, j-) + else if (i > ) nd (j > =) then Also if optiml: (i = ) nd (j = ) then if T[i,j] == T[i-,j] + then v4 = c output t column(a[i], -) T[i,j] = mx(v,v,v3,v4) RecurBckTrck(i-, j) endif t - endif end else if (i>=) nd (j > ) then - if T[i,j] == T[i,j-] + then Runnin time? O(n) output column(-, B[j]) Spce - consumption? RecurBckTrck(i, O(nm) j-) endif Another lecture: Spce endif t consumption cn be improve to O(n) end -4-3 return T[i,j] c t T[..n][..m]=undef t c t print Cost(n,m) RecurBckTrck(n,m) t - c t We find n optiml linment by decidin which choice of columns hs resulted in the optiml cost (lower riht entry).
89 Alinment rph An oriented weiht (rid) rph where nodes re the cells in the dynmic prormmin mtrix nd edes re the recursive dependencies. The weiht of n ede is the cost of the correspondin linment column... t c t c t c t pcost: -
90 Alinment rph An oriented weiht (rid) rph where nodes re the cells in the dynmic prormmin mtrix nd edes re the recursive dependencies. The weiht of n ede is the cost of the correspondin linment column... t c t c t c t pcost: - Weiht: -
91 Alinment rph An oriented weiht (rid) rph where nodes re the cells in the dynmic prormmin mtrix nd edes re the recursive dependencies. The weiht of n ede is the cost of the correspondin linment column... Weiht: subcost(,c)= c t t c t c t pcost: - Weiht: -
92 Alinment rph An oriented weiht (rid) rph where nodes re the cells in the dynmic prormmin mtrix nd edes re the recursive dependencies. The weiht of n ede is the cost of the correspondin linment column... Weiht: subcost(,c)= c t t c t c t pcost: - Weiht: subcost(,)= -4 Weiht: - -
93 Alinment rph An oriented weiht (rid) rph where nodes re the cells in the dynmic prormmin mtrix nd edes re the recursive dependencies. The weiht of n ede is the cost of the correspondin linment column... Weiht: subcost(,c)= c t t c t c t pcost: - Weiht: subcost(,)= -4 Weiht: - - The cost of n optiml linment is the lenth of lonest (shortest) pth from (,) to (n,m), nd the pth yields the linment...
94 Alinment rph An oriented weiht (rid) rph where nodes re the cells in the dynmic prormmin mtrix nd edes re the recursive dependencies. The weiht of n ede is the cost of the correspondin linment column... Weiht: subcost(,c)= c t t c t c t pcost: - Weiht: subcost(,)= -4 Weiht: - - The cost of n optiml linment is the lenth of lonest (shortest) pth from (,) to (n,m), nd the pth yields the linment...
95 Summry You hve been introduced to the nottion of pirwise linment n lorithms for computin n optiml (lobl) pirwise linment with liner p cost. You should be ble to explin how to compute the cost of n optiml linment in time O(n ) nd how to find n optiml linment by bcktrckin in time O(n).
96 Summry func Cost(i, j): end if T[i,j] = undef then endif v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = T[i,j] = mx(v,v,v3,v4) return T[i,j] T[..n][..m]=undef print Cost(n,m) Input: Sequences A nd B, nd score function... The column-score is iven s substitution mtrix d nd p cost... A C G T A 5 C 5 G 5 T 5 pcost: -5
97 Summry func Cost(i, j): end if T[i,j] = undef then endif v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = T[i,j] = mx(v,v,v3,v4) return T[i,j] T[..n][..m]=undef print Cost(n,m) Input: Sequences A nd B, nd score function... The column-score is iven s substitution mtrix d nd p cost... A C G T A 5 C 5 G 5 T 5 pcost: -5 Trnsitions (muttions between two purines (A,G) or two pyrimidines (T,C)) re more likely thn trnsversions (muttions between purine nd pyrimidine)...
98 Summry func Cost(i, j): end if T[i,j] = undef then endif v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = T[i,j] = mx(v,v,v3,v4) return T[i,j] T[..n][..m]=undef print Cost(n,m) Input: Sequences A nd B, nd score function... The column-score is iven s substitution mtrix d nd p cost... A C G T A 5 C 5 G 5 T 5 pcost: -5 Note: Cn be implemented s mximizin similrity, s bove, or minimizin cost (or distnce), with min insted of mx...
99 Summry func Cost(i, j): end if T[i,j] = undef then endif v = v = v3 = v4 = undef if (i > ) nd (j > ) then v = Cost(i-, j-) + d(a[i],b[j]) if (i > ) nd (j >= ) then v = Cost(i-, j) + if (i >= ) nd (j > ) then v3 = Cost(i, j-) + if (i = ) nd (j = ) then v4 = T[i,j] = mx(v,v,v3,v4) return T[i,j] T[..n][..m]=undef print Cost(n,m) Input: Sequences A nd B, nd score function... The column-score is iven s substitution mtrix d nd p cost... A C G T A 5 C 5 G 5 T 5 pcost: -5 Cn e.. be used to compute: () Unit cost edit-distnce, or () lenth of lonest common subsequence. How?
100 Extension Modelin pcost Bioloicl observtion: loner insertions nd deletions (indels) re more common thn shorter indels, i.e. ood linment tends to few lon indels rther thn mny short indels... Cn the simple lorithm for pirwise linment be dpted to reflect this dditionl bioloicl insith, i.e. better model of bioloy? Yes, we introduce the concept of pcost-function (k) which ives the cost/penlty for block of k consecutive insertions or deletions... Exmple A T A C A C G C A A T C T C C A C C T s(a,a) + s(t,t) + () + s(c,c) + s(a,t) + (3) + s(c,c) + () + s(c,c) + s(a,t)
101 Next time Topics Discussion of exercises Hndlin enerl nd ffine p cost Locl linment, findin the most similr pir of substrins
Arithmetic and Geometric Sequences
Arithmetic nd Geometric Sequences A sequence is list of numbers or objects, clled terms, in certin order. In n rithmetic sequence, the difference between one term nd the next is lwys the sme. This difference
More informationCache CPI and DFAs and NFAs. CS230 Tutorial 10
Cche CPI nd DFAs nd NFAs CS230 Tutoril 10 Multi-Level Cche: Clculting CPI When memory ccess is ttempted, wht re the possible results? ccess miss miss CPU L1 Cche L2 Cche Memory L1 cche hit L2 cche hit
More informationBurrows-Wheeler Transform and FM Index
Burrows-Wheeler Trnsform nd M Index Ben ngmed You re free to use these slides. If you do, plese sign the guestbook (www.lngmed-lb.org/teching-mterils), or emil me (ben.lngmed@gmil.com) nd tell me briefly
More information3/1/2016. Intermediate Microeconomics W3211. Lecture 7: The Endowment Economy. Today s Aims. The Story So Far. An Endowment Economy.
1 Intermedite Microeconomics W3211 Lecture 7: The Endowment Economy Introduction Columbi University, Spring 2016 Mrk Den: mrk.den@columbi.edu 2 The Story So Fr. 3 Tody s Aims 4 Remember: the course hd
More informationChapter 3: The Reinforcement Learning Problem. The Agent'Environment Interface. Getting the Degree of Abstraction Right. The Agent Learns a Policy
Chpter 3: The Reinforcement Lerning Problem The Agent'Environment Interfce Objectives of this chpter: describe the RL problem we will be studying for the reminder of the course present idelized form of
More information3: Inventory management
INSE6300 Ji Yun Yu 3: Inventory mngement Concordi Februry 9, 2016 Supply chin mngement is bout mking sequence of decisions over sequence of time steps, fter mking observtions t ech of these time steps.
More informationJFE Online Appendix: The QUAD Method
JFE Online Appendix: The QUAD Method Prt of the QUAD technique is the use of qudrture for numericl solution of option pricing problems. Andricopoulos et l. (00, 007 use qudrture s the only computtionl
More informationA Closer Look at Bond Risk: Duration
W E B E X T E S I O 4C A Closer Look t Bond Risk: Durtion This Extension explins how to mnge the risk of bond portfolio using the concept of durtion. BOD RISK In our discussion of bond vlution in Chpter
More informationCS 270 Algorithms. Oliver Kullmann. Binary trees. The notion of binary search tree. Tree traversal. Queries in binary search trees.
Week 8 Generl Binrys 1 2 We consider, nother importnt dt structure. We lern how to use them, by mkin efficient queries. And we lern how to build them. 3 4 Redin from CLRS for week 8 1 Sections 12.1, 12.2,
More informationComplete the table below to show the fixed, variable and total costs. In the final column, calculate the profit or loss made by J Kane.
Tsk 1 J Kne sells mchinery to the frm industry. His fixed costs re 10,000 nd ech mchine costs him 400 to buy. He sells them t 600 nd is trying to work out his profit or loss t vrious levels of sles. He
More informationOutline. CSE 326: Data Structures. Priority Queues Leftist Heaps & Skew Heaps. Announcements. New Heap Operation: Merge
CSE 26: Dt Structures Priority Queues Leftist Heps & Skew Heps Outline Announcements Leftist Heps & Skew Heps Reding: Weiss, Ch. 6 Hl Perkins Spring 2 Lectures 6 & 4//2 4//2 2 Announcements Written HW
More informationCS 188 Introduction to Artificial Intelligence Fall 2018 Note 4
CS 188 Introduction to Artificil Intelligence Fll 2018 Note 4 These lecture notes re hevily bsed on notes originlly written by Nikhil Shrm. Non-Deterministic Serch Picture runner, coming to the end of
More informationRoadmap of This Lecture
Reltionl Model Rodmp of This Lecture Structure of Reltionl Dtbses Fundmentl Reltionl-Algebr-Opertions Additionl Reltionl-Algebr-Opertions Extended Reltionl-Algebr-Opertions Null Vlues Modifiction of the
More informationThe Okun curve is non-linear
Economics Letters 70 (00) 53 57 www.elsevier.com/ locte/ econbse The Okun curve is non-liner Mtti Viren * Deprtment of Economics, 004 University of Turku, Turku, Finlnd Received 5 My 999; ccepted 0 April
More informationToday s Outline. One More Operation. Priority Queues. New Operation: Merge. Leftist Heaps. Priority Queues. Admin: Priority Queues
Tody s Outline Priority Queues CSE Dt Structures & Algorithms Ruth Anderson Spring 4// Admin: HW # due this Thursdy / t :9pm Printouts due Fridy in lecture. Priority Queues Leftist Heps Skew Heps 4// One
More informationReinforcement Learning. CS 188: Artificial Intelligence Fall Grid World. Markov Decision Processes. What is Markov about MDPs?
CS 188: Artificil Intelligence Fll 2010 Lecture 9: MDP 9/2/2010 Reinforcement Lerning [DEMOS] Bic ide: Receive feedbck in the form of rewrd Agent utility i defined by the rewrd function Mut (lern to) ct
More informationUNIVERSITY OF NOTTINGHAM. Discussion Papers in Economics BERTRAND VS. COURNOT COMPETITION IN ASYMMETRIC DUOPOLY: THE ROLE OF LICENSING
UNIVERSITY OF NOTTINGHAM Discussion Ppers in Economics Discussion Pper No. 0/0 BERTRAND VS. COURNOT COMPETITION IN ASYMMETRIC DUOPOLY: THE ROLE OF LICENSING by Arijit Mukherjee April 00 DP 0/0 ISSN 160-48
More informationINF 4130 Exercise set 4
INF 4130 Exercise set 4 Exercise 1 List the order in which we extrct the nodes from the Live Set queue when we do redth first serch of the following grph (tree) with the Live Set implemented s LIFO queue.
More informationMARKET POWER AND MISREPRESENTATION
MARKET POWER AND MISREPRESENTATION MICROECONOMICS Principles nd Anlysis Frnk Cowell Note: the detil in slides mrked * cn only e seen if you run the slideshow July 2017 1 Introduction Presenttion concerns
More informationName Date. Find the LCM of the numbers using the two methods shown above.
Lest Common Multiple Multiples tht re shred by two or more numbers re clled common multiples. The lest of the common multiples is clled the lest common multiple (LCM). There re severl different wys to
More informationA Fuzzy Inventory Model With Lot Size Dependent Carrying / Holding Cost
IOSR Journl of Mthemtics (IOSR-JM e-issn: 78-578,p-ISSN: 9-765X, Volume 7, Issue 6 (Sep. - Oct. 0, PP 06-0 www.iosrournls.org A Fuzzy Inventory Model With Lot Size Dependent Crrying / olding Cost P. Prvthi,
More informationProblem Set for Chapter 3: Simple Regression Analysis ECO382 Econometrics Queens College K.Matsuda
Problem Set for Chpter 3 Simple Regression Anlysis ECO382 Econometrics Queens College K.Mtsud Excel Assignments You re required to hnd in these Excel Assignments by the due Mtsud specifies. Legibility
More informationSmart Investment Strategies
Smrt Investment Strtegies Risk-Rewrd Rewrd Strtegy Quntifying Greed How to mke good Portfolio? Entrnce-Exit Exit Strtegy: When to buy? When to sell? 2 Risk vs.. Rewrd Strtegy here is certin mount of risk
More informationChapter55. Algebraic expansion and simplification
Chpter55 Algebric expnsion nd simplifiction Contents: A The distributive lw B The product ( + b)(c + d) C Difference of two squres D Perfect squres expnsion E Further expnsion F The binomil expnsion 88
More informationA portfolio approach to the optimal funding of pensions
Economics Letters 69 (000) 01 06 www.elsevier.com/ locte/ econbse A portfolio pproch to the optiml funding of pensions Jysri Dutt, Sndeep Kpur *, J. Michel Orszg b, b Fculty of Economics University of
More information9.3. Regular Languages
9.3. REGULAR LANGUAGES 139 9.3. Regulr Lnguges 9.3.1. Properties of Regulr Lnguges. Recll tht regulr lnguge is the lnguge ssocited to regulr grmmr, i.e., grmmr G = (N, T, P, σ) in which every production
More informationDYNAMIC PROGRAMMING REINFORCEMENT LEARNING. COGS 202 : Week 7 Presentation
DYNAMIC PROGRAMMING REINFORCEMENT LEARNING COGS 202 : Week 7 Preenttion OUTLINE Recp (Stte Vlue nd Action Vlue function) Computtion in MDP Dynmic Progrmming (DP) Policy Evlution Policy Improvement Policy
More informationChapter 2: Relational Model. Chapter 2: Relational Model
Chpter : Reltionl Model Dtbse System Concepts, 5 th Ed. See www.db-book.com for conditions on re-use Chpter : Reltionl Model Structure of Reltionl Dtbses Fundmentl Reltionl-Algebr-Opertions Additionl Reltionl-Algebr-Opertions
More informationThe Market Approach to Valuing Businesses (Second Edition)
BV: Cse Anlysis Completed Trnsction & Guideline Public Comprble MARKET APPROACH The Mrket Approch to Vluing Businesses (Second Edition) Shnnon P. Prtt This mteril is reproduced from The Mrket Approch to
More informationAccess your online resources today at
978--07-670- - CmbridgeMths: NSW Syllbus for the Austrlin Curriculum: Yer 0: Stte./. Access your online resources tody t www.cmbridge.edu.u/go. Log in to your existing Cmbridge GO user ccount or crete
More informationResearch Article Existence of Positive Solution to Second-Order Three-Point BVPs on Time Scales
Hindwi Publishing Corportion Boundry Vlue Problems Volume 2009, Article ID 685040, 6 pges doi:10.1155/2009/685040 Reserch Article Existence of Positive Solution to Second-Order hree-point BVPs on ime Scles
More informationGridworld Values V* Gridworld: Q*
CS 188: Artificil Intelligence Mrkov Deciion Procee II Intructor: Dn Klein nd Pieter Abbeel --- Univerity of Cliforni, Berkeley [Thee lide were creted by Dn Klein nd Pieter Abbeel for CS188 Intro to AI
More informationThe MA health reform and other issues
The MA helth reorm nd other issues Gruer: three key issues or ny reorm Poolin Need wy to ornize helth cre other thn need Otherwise -- dverse selection Prolem: current system leves out smll irms Aordility
More informationTechnical Appendix. The Behavior of Growth Mixture Models Under Nonnormality: A Monte Carlo Analysis
Monte Crlo Technicl Appendix 1 Technicl Appendix The Behvior of Growth Mixture Models Under Nonnormlity: A Monte Crlo Anlysis Dniel J. Buer & Ptrick J. Currn 10/11/2002 These results re presented s compnion
More informationA ppendix to. I soquants. Producing at Least Cost. Chapter
A ppendix to Chpter 0 Producing t est Cost This ppendix descries set of useful tools for studying firm s long-run production nd costs. The tools re isoqunts nd isocost lines. I soqunts FIGURE A0. SHOWS
More informationUNinhabited aerial vehicles (UAVs) are becoming increasingly
A Process Algebr Genetic Algorithm Sertc Krmn Tl Shim Emilio Frzzoli Abstrct A genetic lgorithm tht utilizes process lgebr for coding of solution chromosomes nd for defining evolutionry bsed opertors is
More informationOptimal firm's policy under lead time- and price-dependent demand: interest of customers rejection policy
Optiml firm's policy under led time- nd price-dependent demnd: interest of customers rejection policy Abduh Syid Albn Université Grenoble Alpes, G-SCOP, F-38000 Grenoble, Frnce bduh-syid.lbn@grenoble-inp.org
More informationOutline. CS 188: Artificial Intelligence Spring Speeding Up Game Tree Search. Minimax Example. Alpha-Beta Pruning. Pruning
CS 188: Artificil Intelligence Spring 2011 Lecture 8: Gme, MDP 2/14/2010 Pieter Abbeel UC Berkeley Mny lide dpted from Dn Klein Outline Zero-um determinitic two plyer gme Minimx Evlution function for non-terminl
More informationWhat is Monte Carlo Simulation? Monte Carlo Simulation
Wht is Monte Crlo Simultion? Monte Crlo methods re widely used clss of computtionl lgorithms for simulting the ehvior of vrious physicl nd mthemticl systems, nd for other computtions. Monte Crlo lgorithm
More information3. Argumentation Frameworks
3. Argumenttion Frmeworks Argumenttion current hot topic in AI. Historiclly more recent thn other pproches discussed here. Bsic ide: to construct cceptble set(s) of beliefs from given KB: 1 construct rguments
More informationRecap: MDPs. CS 188: Artificial Intelligence Fall Optimal Utilities. The Bellman Equations. Value Estimates. Practice: Computing Actions
CS 188: Artificil Intelligence Fll 2008 Lecture 10: MDP 9/30/2008 Dn Klein UC Berkeley Recp: MDP Mrkov deciion procee: Stte S Action A Trnition P(,) (or T(,, )) Rewrd R(,, ) (nd dicount γ) Strt tte 0 Quntitie:
More informationTHE FINAL PROOF SUPPORTING THE TURNOVER FORMULA.
THE FINAL PROOF SUPPORTING THE TURNOVER FORMULA. I would like to thnk Aris for his mthemticl contriutions nd his swet which hs enled deeper understnding of the turnover formul to emerge. His contriution
More informationAddition and Subtraction
Addition nd Subtrction Nme: Dte: Definition: rtionl expression A rtionl expression is n lgebric expression in frction form, with polynomils in the numertor nd denomintor such tht t lest one vrible ppers
More informationLecture 6 Phylogenetic Analysis. Algorithm. Types of Data. UPGMA Neighbor Joining. Minimum Evolution
Leture 6 Phylogeneti Anlysis Algorithms Types of Dt Distnes Nuleotie sites Tree-uiling Metho Clustering Algorithm Optimlity Criterion UPGMA Neighor Joining Minimum Evolution Mximum Prsimony Mximum Likelihoo
More informationA comparison of quadratic discriminant function with discriminant function based on absolute deviation from the mean
A comprison of qudrtic discriminnt function with discriminnt function bsed on bsolute devition from the men S. Gneslingm 1, A. Nnthkumr Siv Gnesh 1, 1 Institute of Informtion Sciences nd Technology College
More informationCH 71 COMPLETING THE SQUARE INTRODUCTION FACTORING PERFECT SQUARE TRINOMIALS
CH 7 COMPLETING THE SQUARE INTRODUCTION I t s now time to py our dues regrding the Qudrtic Formul. Wht, you my sk, does this men? It mens tht the formul ws merely given to you once or twice in this course,
More informationMath 205 Elementary Algebra Fall 2010 Final Exam Study Guide
Mth 0 Elementr Algebr Fll 00 Finl Em Stud Guide The em is on Tuesd, December th from :0m :0m. You re llowed scientific clcultor nd " b " inde crd for notes. On our inde crd be sure to write n formuls ou
More information2x2x2 Heckscher-Ohlin-Samuelson (H-O-S) Model with no factor substitution
2x2x2 Heckscher-Ohlin-Smuelson (H-O-S) odel with no fctor substitution In the H-O-S model we will focus entirely on the role of fctor sulies nd ssume wy differences in technology. Therefore, unlike in
More informationFinancial Mathematics 3: Depreciation
Finncil Mthemtics 3: Deprecition Student Book - Series M-1 25% p.. over 8 yers Mthletics Instnt Workooks Copyright Finncil mthemtics 3: Deprecition Student Book - Series M Contents Topics Topic 1 - Modelling
More informationMATH 236 ELAC MATH DEPARTMENT FALL 2017 SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.
MATH 236 ELAC MATH DEPARTMENT FALL 2017 TEST 1 REVIEW SHORT ANSWER. Write the word or phrse tht best completes ech sttement or nswers the question. 1) The supply nd demnd equtions for certin product re
More informationAnnouncements. CS 188: Artificial Intelligence Fall Recap: MDPs. Recap: Optimal Utilities. Practice: Computing Actions. Recap: Bellman Equations
CS 188: Artificil Intelligence Fll 2009 Lecture 10: MDP 9/29/2009 Announcement P2: Due Wednedy P3: MDP nd Reinforcement Lerning i up! W2: Out lte thi week Dn Klein UC Berkeley Mny lide over the coure dpted
More informationECON 105 Homework 2 KEY Open Economy Macroeconomics Due November 29
Instructions: ECON 105 Homework 2 KEY Open Economy Mcroeconomics Due Novemer 29 The purpose of this ssignment it to integrte the explntions found in chpter 16 ok Kennedy with the D-S model nd the Money
More information164 CHAPTER 2. VECTOR FUNCTIONS
164 CHAPTER. VECTOR FUNCTIONS.4 Curvture.4.1 Definitions nd Exmples The notion of curvture mesures how shrply curve bends. We would expect the curvture to be 0 for stright line, to be very smll for curves
More informationFirst Assignment, Federal Income Tax, Spring 2019 O Reilly. For Monday, January 14th, please complete problem set one (attached).
First Assignment, Federl Income Tx, Spring 2019 O Reilly For Mondy, Jnury 14th, plese complete problem set one (ttched). Federl Income Tx Spring 2019 Problem Set One Suppose tht in 2018, Greene is 32,
More informationUNIT 7 SINGLE SAMPLING PLANS
UNIT 7 SINGLE SAMPLING PLANS Structure 7. Introduction Objectives 7. Single Smpling Pln 7.3 Operting Chrcteristics (OC) Curve 7.4 Producer s Risk nd Consumer s Risk 7.5 Averge Outgoing Qulity (AOQ) 7.6
More informationProblem Set 4 - Solutions. Suppose when Russia opens to trade, it imports automobiles, a capital-intensive good.
roblem Set 4 - Solutions uestion Suppose when ussi opens to trde, it imports utomobiles, cpitl-intensive good. ) According to the Heckscher-Ohlin theorem, is ussi cpitl bundnt or lbor bundnt? Briefly explin.
More informationFractal Analysis on the Stock Price of C to C Electronic Commerce Enterprise Ming Chen
6th Interntionl Conference on Electronic, Mechnicl, Informtion nd Mngement (EMIM 2016) Frctl Anlysis on the Stock Price of C to C Electronic Commerce Enterprise Ming Chen Soochow University, Suzhou, Chin
More informationchecks are tax current income.
Humn Short Term Disbility Pln Wht is Disbility Insurnce? An esy explntion is; Disbility Insurnce is protection for your pycheck. Imgine if you were suddenly disbled, unble to work, due to n ccident or
More informationAnnouncements. CS 188: Artificial Intelligence Fall Reinforcement Learning. Markov Decision Processes. Example Optimal Policies.
CS 188: Artificil Intelligence Fll 2008 Lecture 9: MDP 9/25/2008 Announcement Homework olution / review eion: Mondy 9/29, 7-9pm in 2050 Vlley LSB Tuedy 9/0, 6-8pm in 10 Evn Check web for detil Cover W1-2,
More informationLong-term Memory Review PROFICIENCY PRACTICE: MONDAY REVIEW
PROFICINCY PRACTIC: MONDAY RVIW : A D 14 cm B 21 cm C 2) Use : The tringles in the figure ove re similr. ) nd re mesures of corresponding sides. ) nd re mesures of nother pir of corresponding sides. 3)
More informationMeasuring Search Trees
Mesuring Serch Trees Christin Bessiere 1, Bruno Znuttini 2, nd Cèsr Fernández 3 1 LIRMM-CNRS, Montpellier, Frnce 2 GREYC, Cen, Frnce 3 Univ. de Lleid, Lleid, Spin Astrct. The SAT nd CSP communities mke
More information(a) by substituting u = x + 10 and applying the result on page 869 on the text, (b) integrating by parts with u = ln(x + 10), dv = dx, v = x, and
Supplementry Questions for HP Chpter 5. Derive the formul ln( + 0) d = ( + 0) ln( + 0) + C in three wys: () by substituting u = + 0 nd pplying the result on pge 869 on the tet, (b) integrting by prts with
More informationOPEN BUDGET QUESTIONNAIRE SOUTH AFRICA
Interntionl Budget Prtnership OPEN BUDGET QUESTIONNAIRE SOUTH AFRICA September 28, 2007 Interntionl Budget Prtnership Center on Budget nd Policy Priorities 820 First Street, NE Suite 510 Wshington, DC
More informationOpen Space Allocation and Travel Costs
Open Spce Alloction nd Trvel Costs By Kent Kovcs Deprtment of Agriculturl nd Resource Economics University of Cliforni, Dvis kovcs@priml.ucdvis.edu Pper prepred for presenttion t the Americn Agriculturl
More informationMaximum Expected Utility. CS 188: Artificial Intelligence Fall Preferences. MEU Principle. Rational Preferences. Utilities: Uncertain Outcomes
CS 188: Artificil Intelligence Fll 2011 Mximum Expected Utility Why hould we verge utilitie? Why not minimx? Lecture 8: Utilitie / MDP 9/20/2011 Dn Klein UC Berkeley Principle of mximum expected utility:
More informationThe IndoDairy Smallholder Household Survey From Farm-to-Fact
The Centre for Glol Food nd Resources The IndoDiry Smllholder Household Survey From Frm-to-Fct Fctsheet 7: Diry Frming Costs, Revenue nd Profitility Bckground This fctsheet uilds on the informtion summrised
More informationTime Scales: From Nabla Calculus to Delta Calculus and Vice Versa via Duality
Interntionl Journl of Difference Equtions ISSN 0973-6069, Volume 5, Number 1, pp. 25 40 (2010) http://cmpus.mst.edu/ijde Time Scles: From Nbl Clculus to Delt Clculus nd Vice Vers vi Dulity M. Cristin Cputo
More informationMaximizing Profit: Chapter 9: Weekly Revenue and Cost Data for a Gold Miner. Marginal Revenue:
Chpter : Mximizing rofit: rofit = Totl Revenue - Totl Cost Mrginl Revenue: It mesures the hnge in totl revenue generted y one dditionl unit of goods or servies. Totl Revenue (TR) = Averge Revenue (AR)
More informationASYMMETRIC SWITCHING COSTS CAN IMPROVE THE PREDICTIVE POWER OF SHY S MODEL
Document de trvil 2012-14 / April 2012 ASYMMETRIC SWITCHIG COSTS CA IMPROVE THE PREDICTIVE POWER OF SHY S MODEL Evens Slies OFCE-Sciences-Po Asymmetric switching costs cn improve the predictive power of
More informationEFFECTS OF SOYBEAN CHECKOFF RESEARCH EXPENDITURES ON U.S. SOYBEAN YIELDS AND NET REVENUE: A TIME SERIES ANALYSIS. David A.
EFFECTS OF SOYBEAN CHECKOFF RESEARCH EXPENDITURES ON U.S. SOYBEAN YIELDS AND NET REVENUE: A TIME SERIES ANALYSIS Dvid A. Bessler* TAMRC Commodity Mrket Reserch Report No. CM-02-09 April 2009 * Dvid A.
More informationPRICING CONVERTIBLE BONDS WITH KNOWN INTEREST RATE. Jong Heon Kim
Kngweon-Kyungki Mth. Jour. 14 2006, No. 2, pp. 185 202 PRICING CONVERTIBLE BONDS WITH KNOWN INTEREST RATE Jong Heon Kim Abstrct. In this pper, using the Blck-Scholes nlysis, we will derive the prtil differentil
More informationProblem Set 2 Suggested Solutions
4.472 Prolem Set 2 Suggested Solutions Reecc Zrutskie Question : First find the chnge in the cpitl stock, k, tht will occur when the OLG economy moves to the new stedy stte fter the government imposes
More informationBuckling of Stiffened Panels 1 overall buckling vs plate buckling PCCB Panel Collapse Combined Buckling
Buckling of Stiffened Pnels overll uckling vs plte uckling PCCB Pnel Collpse Comined Buckling Vrious estimtes hve een developed to determine the minimum size stiffener to insure the plte uckles while the
More informationChoice of strategic variables under relative profit maximization in asymmetric oligopoly
Economics nd Business Letters () 5-6 04 Choice of strtegic vriles under reltive profit mximiztion in symmetric oligopoly Atsuhiro Stoh Ysuhito Tnk * Fculty of Economics Doshish University Kyoto Jpn Received:
More informationTopics Covered: Rules of indices Expanding bracketed expressions Factorisation of simple algebraic expressions
Algebr Workshop: Algebr Topics Covered: Rules of indices Expnding brcketed expressions Fctoristion of siple lgebric expressions Powers A power is used when nuber is ultiplied by itself severl ties. For
More informationAnnouncements. Maximizing Expected Utility. Preferences. Rational Preferences. Rational Preferences. Introduction to Artificial Intelligence
Introduction to Artificil Intelligence V22.0472-001 Fll 2009 Lecture 8: Utilitie Announcement Will hve Aignment 1 grded by Wed. Aignment 2 i up on webpge Due on Mon 19 th October (2 week) Rob Fergu Dept
More informationThis paper is not to be removed from the Examination Halls
This pper is not to be remove from the Exmintion Hlls UNIVESITY OF LONON FN3092 ZB (279 0092) BSc egrees n iploms for Grutes in Economics, Mngement, Finnce n the Socil Sciences, the iploms in Economics
More informationOPEN BUDGET QUESTIONNAIRE
Interntionl Budget Project OPEN BUDGET QUESTIONNAIRE UNITED STATES October 2005 Interntionl Budget Project Center on Budget nd Policy Priorities 820 First Street, NE Suite 510 Wshington, DC 20002 www.interntionlbudget.org
More informationT4.3 - Inverse of Matrices & Determinants
() Review T. - nverse of Mtries & Determinnts B Mth SL - Sntowski - t this stge of stuying mtries, we know how to, subtrt n multiply mtries i.e. if Then evlute: () + B (b) - () B () B (e) B n B (B) Review
More informationA Static Model for Voting on Social Security
A Sttic Model for Voting on Socil Security Henning Bohn Deprtment of Economics University of Cliforni t Snt Brbr Snt Brbr, CA 93106, USA; nd CESifo Phone: 1-805-893-4532; Fx: 1-805-893-8830. E-mil: bohn@econ.ucsb.edu
More informationControlling a population of identical MDP
Controlling popultion of identicl MDP Nthlie Bertrnd Inri Rennes ongoing work with Miheer Dewskr (CMI), Blise Genest (IRISA) nd Hugo Gimert (LBRI) Trends nd Chllenges in Quntittive Verifiction Mysore,
More informationOption exercise with temptation
Economic Theory 2008) 34: 473 501 DOI 10.1007/s00199-006-0194-3 RESEARCH ARTICLE Jinjun Mio Option exercise with tempttion Received: 25 Jnury 2006 / Revised: 5 December 2006 / Published online: 10 Jnury
More informationPERSONAL FINANCE Grade Levels: 9-12
PERSONAL FINANCE Grde Levels: 9-12 Personl Finnce llows the student to explore personl finncil decision-mking. It lso helps individuls use skills in money mngement, record-keeping, bnking, nd investing.
More informationRicardian Model. Mercantilism: 17 th and 18 th Century. Adam Smith s Absolute Income Hypothesis, End of 18 th Century: Major Shift in Paradigm
Mercntilism: th nd th Century Ricrdin Model lesson in Comprtive dvntge Trde ws considered s Zero-Sum Gme It ws viewed mens to ccumulte Gold & Silver Exports were encourged Imports were discourged End of
More informationMenu costs, firm size and price rigidity
Economics Letters 66 (2000) 59 63 www.elsevier.com/ locte/ econbse Menu costs, firm size nd price rigidity Robert A. Buckle *, John A. Crlson, b School of Economics nd Finnce, Victori University of Wellington,
More informationPillar 3 Quantitative Disclosure
Pillr 3 Quntittive Disclosure In complince with the requirements under Bsel Pillr 3 nd the Monetry Authority of Singpore (MAS) Notice 637 Public Disclosure, vrious dditionl quntittive nd qulittive disclosures
More informationOn the Complexity of Computing the Justification Status of an Argument
On the Complexity of Computing the Justifiction Sttus of n Argument dbi Reserch Seminr, Vienn Wolfgng Dvořák Institute of Informtion Systems, Vienn University of Technology Oct 13, 2011 Supported by the
More informationNotes on the BENCHOP implementations for the COS method
Notes on the BENCHOP implementtions for the COS method M. J. uijter C. W. Oosterlee Mrch 29, 2015 Abstrct This text describes the COS method nd its implementtion for the BENCHOP-project. 1 Fourier cosine
More informationThe Combinatorial Seller s Bid Double Auction: An Asymptotically Efficient Market Mechanism*
The Combintoril Seller s Bid Double Auction: An Asymptoticlly Efficient Mret Mechnism* Rhul Jin IBM Wtson Reserch Hwthorne, NY rhul.jin@us.ibm.com Prvin Vriy EECS Deprtment University of Cliforni, Bereley
More informationDPClass: An Effective but Concise Discriminative Patterns-Based Classification Framework
DPClss: An Effective but Concise Discrimintive Ptterns-Bsed Clssifiction Frmework Jingbo Shng Wenzhu Tong Jin Peng Jiwei Hn Deprtment of Computer Science, University of Illinois t Urbn-Chmpign, Urbn, IL,
More informationEdgeworth box. apples. F-f. A-a. trade. f f F. fig leaves
Chpters 9 nd 1 pples Edgeworth box 9.4.1 F-f trde A- A f f F fig leves pples Edgeworth box 9.4.1 F-f trde A- A Adm gets (f,) Eve gets (F-f, A-) f f F fig leves pples Edgeworth box 9.4.1 F-f endowment A-
More informationproduction for Community & Culture Project Reference e 2 design episodes Bogotá: Building a Sustainable City and Affordable Green Housing.
Community & Culture Project Reference e 2 design episodes Bogotá: Building Sustinble City nd Affordble Green Housing. 1) Red the bckground essy nd discussion questions for e 2 design episodes Bogotá: Building
More informationACHIEVING ALARP WITH SAFETY INSTRUMENTED SYSTEMS
ACHIEVING ALARP WITH SAFETY INSTRUMENTED SYSTEMS C.R. Timms, MIEE, United Kingdom, Tel: + 44 (0) 9 88668, Emil: c.timms@ifb.co.uk Keywords: ALARP, hzrds, risk, sfety, SIS. Abstrct This pper sets out methodology
More information4/30/2012. Overview. MDPs. Planning Agent. Grid World. Review: Expectimax. Introduction & Agents Search, Heuristics & CSPs Adversarial Search
Overview CSE 473 Mrkov Deciion Procee Dn Weld Mny lide from Chri Bihop, Mum, Dn Klein, Sturt Ruell, Andrew Moore & Luke Zettlemoyer Introduction & Agent Serch, Heuritic & CSP Adverril Serch Logicl Knowledge
More informationThis paper is not to be removed from the Examination Halls
This pper is not to be remove from the Exmintion Hlls UNIVESITY OF LONON FN3092 ZA (279 0092) BSc egrees n iploms for Grutes in Economics, Mngement, Finnce n the Socil Sciences, the iploms in Economics
More informationMath F412: Homework 4 Solutions February 20, κ I = s α κ α
All prts of this homework to be completed in Mple should be done in single worksheet. You cn submit either the worksheet by emil or printout of it with your homework. 1. Opre 1.4.1 Let α be not-necessrily
More informationRational Equity Bubbles
ANNALS OF ECONOMICS AND FINANCE 14-2(A), 513 529 (2013) Rtionl Equity Bubbles Ge Zhou * College of Economics, Zhejing University Acdemy of Finncil Reserch, Zhejing University E-mil: flhszh@gmil.com This
More informationPillar 3 Quantitative Disclosure
Pillr 3 Quntittive Disclosure In complince with the requirements under Bsel Pillr 3 nd the Monetry Authority of Singpore (MAS) Notice 637 Public Disclosure, vrious dditionl quntittive nd qulittive disclosures
More informationNon-Deterministic Search. CS 188: Artificial Intelligence Markov Decision Processes. Grid World Actions. Example: Grid World
CS 188: Artificil Intelligence Mrkov Deciion Procee Non-Determinitic Serch Dn Klein, Pieter Abbeel Univerity of Cliforni, Berkeley Exmple: Grid World Grid World Action A mze-like problem The gent live
More informationDecision Making Under Uncertainty
CSC384: Intro to Artificil Intelligence Preferences Decision Mking Under Uncertinty Decision Trees DBN: 15.1 nd 15.5 Decision Network: 16.1,16.2,16.5,16.6 I give root plnning prolem: I wnt coffee ut coffee
More information