1 / 18

Review of Exercises 6.3, 6.4, 6.5. Intro to Monte Carlo Markov Chain Application to CLUSTAL W.

BIOINFORMATICS 2054 Statistical Foundations for Bioinformatics Data Mining Class #13, April 17, 2003. Review of Exercises 6.3, 6.4, 6.5. Intro to Monte Carlo Markov Chain Application to CLUSTAL W. Simulation of a.a. coincidence in aligned blocks, p.201 (code will be e-mailed).

gdemby
Download Presentation

Review of Exercises 6.3, 6.4, 6.5. Intro to Monte Carlo Markov Chain Application to CLUSTAL W.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BIOINFORMATICS 2054Statistical Foundations for Bioinformatics Data MiningClass #13, April 17, 2003 Review of Exercises 6.3, 6.4, 6.5. Intro to Monte Carlo Markov Chain Application to CLUSTAL W. Simulation of a.a. coincidence in aligned blocks, p.201 (code will be e-mailed).

  2. Metropolis-Hastings algorithm Given a likelihood function L() for  in  (not necessarily normalized) , Goal: To generate variates from L()/(L()). Idea: Imagine swarms of particles at each value of , with relative quantity L*(). They jump at each “tick” with probability. Pr(2|1)=q(2|1). Except that sometimes they stick!

  3. Let p(1,2) = Allow a particle at 1to jump to 2 (chosen by h) if and only if a) p > 1 or b) Z~Bernoulli(p) equals 1. So Pr(starts at 1, jumps to 2)

  4. L(2) L(1) 1 2 The net interchange between 1 and 2 is

  5. Irreducibility and convergence Transition kernel too narrow to reach across. Not irreducible; will not converge to correct distribution. Transition kernel will reach across eventually. Irreducible; but convergence may take too long.

  6. If L*(1)/L*(2) = L(1)/L(2), then no net change. The true distribution is stationaryw.r.t. this transition. Also, “self-correcting”

  7. State Space Function Space (random quantities) (prob distributions) initial distribution, 0 T T T T T T stationary distribution,  T is a stochastic process [TTT…TTT()]  T is a functional (a function that takes a function to another function). TTTT…TTT(0)

  8. Gibbs sampling One always accepts, because… This leads to an acceptance probability p(1,2) = always equal to one. Notice this cycles through parameters--- really a successive composition of a number of transition processes.

  9. WinBugs • the movie!

  10. Connection with Bayesian networks • Arrows represent simplest factorization, using conditional independence. • Directed acyclic graph. u v d

  11. Connection with Bayesian networks • Arrows represent simplest factorization, using conditional independence. • Directed acyclic graph. u v x d

  12. v children(v) parents(v) par(ch(v)) anc(par(v)) Connection with Bayesian networks • Directed acyclic graph, arrows represent simplest factorization, using conditional independence. • Derive the “full conditional” by dropping terms without v. desc(ch(v))

  13. Application to CLUSTAL W(section 6.6)

  14. W 1 1 n N Reduced array

  15. Notation

  16. Aside: Beta and dirichlet as “conjugate priors”

  17. initialize the ’s. • initialize the p’s. • pick a row l (at random? or in order?) • update the p’s using Eq. 1. • update (l) (randomly) using Eq.2. Algorithm 1 2

  18. Assignment for next week • Reminder: Due next week: • Identify the exons of TP53. • State and test a hypothesis about the codons.

More Related