Physics 434, 2012: Lecture 4

From Ilya Nemenman: Theoretical Biophysics @ Emory
Revision as of 09:26, 13 September 2012 by nemenman>Ilya (Main lecture)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Emory Logo

Back to the main Teaching page.

Back to Physics 434, 2012: Information Processing in Biology.

We are continuing our review of some basic concepts of probability theory, such as probability distributions, conditionals, marginals, expectations, etc. We will discuss the central limit theorem and will derive some properties of random walks. Finally, we will study some specific useful probability distributions. In the course of this whole lecture block, we should be thinking about E. coli chemotaxis in the background -- all of these concepts will be applicable.

A very good introduction to probability theory can be found in Introduction to Probability by CM Grinstead and JL Snell.

Warmup question

  1. What is the mean and the variance of the position of E. coli at the end of a single run, if the bacterium started at the origin? Let's suppose that the motion is 1-dimensional.
  2. Solve the same problem for 2 and 3 dimensional version at home.

Main lecture

  • Multivariate distributions
    • Conditional and joint probabilities, Bayes theorem: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(A,B)=P(A|B)P(B)=P(B|A)P(A)}
    • independence: two variables are independent if and only if Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(A,B)=P(A)P(B)} , or, equivalently, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(A|B)=P(A)} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(B|A)=P(B)} .
  • Change of variables for continuous and discrete variates Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(x')=P(x)\frac{dx}{dx'}}
    • Grad students: for multi-dimensional variables
    • How do we generate an exponentially distributed random variable? Log of a uniform random number is an exponentially distributed random number.
  • Addition of variables:
    • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \langle f(x)+g(x)\rangle=\int dx\, P(x)[f(x)+g(x)] = \int dx\, P(x) f(x) +\int dx,P(x) g(x)=\langle f(x)\rangle+\langle g(x)\rangle}
    • If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} are independent, that is, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P(x,y)=P(x)P(y)} , then we prove similarly that .
  • Moment generating functional
    • Moment generating function (MGF): . The utility of MGF comes from the following result: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mu_n=\left.\frac{d^n M_x(\lambda)}{d\lambda^n}\right|_{\lambda=0}} . That is: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle M(\lambda)=1+ \mu_1\lambda+\frac{\mu_2}{2}\lambda^2+\frac{\mu_3}{3!}\lambda^3+\cdots} .
    • Properties of MGF:Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle M_{x+a}(\lambda)=e^{a\lambda}M_x(\lambda)} .
    • If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle z=x+y} , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle M_z(\lambda)=M_x(\lambda)M_y(\lambda)} .
    • Example: We explicitly calculate the MGF for the Poisson distribution: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle M_n(\lambda)=e^{rT(e^\lambda-1)}} .
  • Cumulant generating function (CGF): Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle C_x(\lambda)=\log M_x(\lambda)} . Then the cumulants are: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c_n=\left.\frac{d^n C_x(\lambda)}{d\lambda^n}\right|_{\lambda=0}} . That is: . Cumulants are another version of moments of the distribution.
    • We can show how the first few cumulants are related to the moments:
      • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c_1=\left.\frac{d C_x(\lambda)}{d\lambda}\right|_{\lambda=0}=\left.\frac{d \log M_x(\lambda)}{d\lambda}\right|_{\lambda=0}=\left.\frac{M_x'(\lambda)}{M_x(\lambda)}\right|_{\lambda=0}=\frac{\mu}{1}=\mu}
      • Similarly we show thatFailed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c_2=\sigma^2} .
    • CGF of independent variables add.