Lecture 3: Statistical Basis for Macroscopic...

74
Probability, the three central distributions, and qualitative behavior of dynamical systems. The power of sketching global behaviors Lecture 3: Statistical Basis for Macroscopic Phenomena Winter 2017 R. Ranganathan Green Center for Systems Biology, ND11.120E Carl Friederich Gauss 1777 - 1855 Pierre-Simon LaPlace 1749 - 1827 Simeon Denis Poisson 1781 - 1840

Transcript of Lecture 3: Statistical Basis for Macroscopic...

Page 1: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability, the three central distributions, and qualitative behavior of dynamical systems. The power of sketching global behaviors

Lecture 3: Statistical Basis for Macroscopic Phenomena Winter 2017

R. Ranganathan Green Center for Systems Biology, ND11.120E

Carl Friederich Gauss 1777 - 1855

Pierre-Simon LaPlace 1749 - 1827

Simeon Denis Poisson 1781 - 1840

Page 2: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

So, today we do two things: consider the statistics of systems of various size, and we learn to think qualitatively about behaviors of linear dynamical systems.

Linear

Nonlinear

n = 1

n = 2 or 3

n >> 1

continuum

exponential growth and decay

single step conformational change

fluorescence emission

pseudo first order kinetics

fixed points

bifurcations, multi stability

irreversible hysteresis

overdamped oscillators

second order reaction kinetics

linear harmonic oscillators

simple feedback control

sequences of conformational change

anharmomic oscillators

relaxation oscillations

predator-prey models

van der Pol systems

Chaotic systems

electrical circuits

molecular dynamics

systems of coupled harmonic oscillators

equilibrium thermodynamics

diffraction, Fourier transforms

systems of non-linear oscillators

non-equilibrium thermodynamics

protein structure/function

neural networks

the cell

ecosystems

Diffusion

Wave propagation

quantum mechanics

viscoelastic systems

Nonlinear wave propagation

Reaction-diffusion in dissipative systems

Turbulent/chaotic flows

adapted from S. Strogatz

Page 3: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

So, today we do two things: consider the statistics of linear systems of various size, and we consider a few examples of such dynamical systems.

The goals will be two-fold:

(1) Review the essentials probability theory….what are probabilities, ways of counting, the three central distributions of primary importance….the binomial, Poisson, and Gaussian.

(2) See how probability theory provides a powerful basis for predicting the behavior of simple systems. And, reinforces the importance of fluctuations in driving reactions.

Page 4: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

Page 5: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

Page 6: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

or stated mathematically…

Page 7: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

Page 8: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

the concept of joint probability…

Page 9: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

…and then the conditional probability…

Page 10: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

This leads to the general definition of statistical independence…

Page 11: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

This leads to the general definition of statistical independence…

Page 12: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

This leads to the general definition of statistical independence…

Also…

Page 13: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

This leads to the general definition of statistical independence…

Also…

Page 14: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Probability theory….starting with the basics.

…and finally the combined probability…

Page 15: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

Page 16: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

We can simplify this….

Page 17: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

This is the number of ways of taking n things r at a time….

Page 18: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

For example, if we have a tetrameric channel, we can ask how many ways are there of taking two subunits at a time….

1 2

3 4

Page 19: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

For example, if we have a tetrameric channel, we can ask how many ways are there of taking two subunits at a time….

1 2

3 4

This is the number of permutations…

Page 20: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

But if we don't care about the order of taking pairs, then this is called the number of combinations of n things taken r at a time…

This is the number of permutations…

This is the number of combinations…

Page 21: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

But if we don't care about the order of taking pairs, then this is called the number of combinations of n things taken r at a time…

This is the number of permutations…

This is the number of combinations…

So for the tetrameric channel….12 permutations but only 6 combinations

Page 22: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Counting statistics…permutations and combinations

Page 23: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

This gets us to the binomial distribution…

And in general, for getting r heads in n tries….

Page 24: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

This gets us to the binomial distribution…

And in general, for getting r heads in n tries….

Page 25: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

This gets us to the binomial distribution…

And in general, for getting r heads in n tries….

But, what if p(head) is not same as p(tail)?

Page 26: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

This gets us to the binomial distribution…

This is the binomial probability density function….

Page 27: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

This gets us to the binomial distribution…

This is the binomial probability density function….

It gives us the probability of getting r events out of n trials given a fixed probability of the event with each trial.

Page 28: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

This gets us to the binomial distribution…

This is the binomial probability density function….

It gives us the probability of getting r events out of n trials given a fixed probability of the event with each trial.

In general, it is used in cases where the total number of trials is not large, and the probability of the event is relatively high

Page 29: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

General shape of the binomial distribution…

So…the probability of getting k events out of n trials given a mean probability of events of p

Page 30: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

General shape of the binomial distribution…

So…the probability of getting k events out of n trials given a mean probability of events of p

Quite reasonably, the most likely outcome is the case of k = 5. In general…the mean is np.

Page 31: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

Now what happens if n approaches infinity and p is small?

Page 32: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

Page 33: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

This is probably not so obvious….

Page 34: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

Page 35: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

And….

Page 36: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

Putting it all together….

Page 37: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

There are two interesting limits to the Binomial distribution….first the Poisson distribution

Page 38: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

The nearly universal importance of the Poisson distribution

Page 39: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

The nearly universal importance of the Poisson distribution…example 1

Single-step molecular conformational change. An example of a first order process…

Consider its microscopic characteristics….

Page 40: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Single-step molecular conformational change. An example of a first order process…

(1) the number of trials is large (and not directly observed)

(2) the probability of barrier crossing is even unknown….all we know is the mean number of events per time (the rate constant).

The nearly universal importance of the Poisson distribution…example 1

Page 41: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Single-step molecular conformational change. An example of a first order process…

So…

The nearly universal importance of the Poisson distribution…example 1

Page 42: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Single-step molecular conformational change. An example of a first order process…

So…

The nearly universal importance of the Poisson distribution…example 1

Page 43: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Two solutions to the first order process!

The deterministic solution….

with initial conditions and specified range…

Page 44: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Two solutions to the first order process!

The deterministic solution….

with initial conditions and specified range…

Page 45: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Two solutions to the first order process!

The deterministic solution….

with initial conditions and specified range…

The stochastic solution….

Page 46: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Two solutions to the first order process!

The deterministic solution….

with initial conditions and specified range…

The stochastic solution….

the microscopic basis for all single-exponential processes…. a large number of random, independent trials with a single characteristic wait time.

Page 47: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Example 2: Ion channel gating

The stochastic opening and closing of single ion channels….

Page 48: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

With single channel recording…

assay

data

Example 2: Ion channel gating

Page 49: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

assay

data

Example 2: Ion channel gating

Page 50: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

assay

data

Example 2: Ion channel gating

Page 51: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

assay

data

fitting to theory

Example 2: Ion channel gating

Page 52: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

assay

data

fitting to theory

Another example of our process of modeling….

Example 2: Ion channel gating

Page 53: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Example 2: Ion channel gating

Page 54: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Example 2: Ion channel gating

Page 55: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Example 2: Ion channel gating

Page 56: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Why?

Example 2: Ion channel gating

Page 57: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

So, the sum of many Poisson processes is itself a Poisson process with a mean rate equal to the sum of rates

Example 2: Ion channel gating

Page 58: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Example 3: fluorescence emission….

The GFP chromophore The Jabolinski diagram….

fluorescence

Fluorescence emission comes out of the thermally equilibrated “singlet” state. The relaxation of molecules is a Poisson process. Thus….

where

Page 59: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

And fluorescence resonance energy transfer (FRET)….

What is the effect of FRET for the fluorescence lifetime of the donor?

Page 60: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

And fluorescence resonance energy transfer (FRET)….

Donor emission is still a single exponential but with a faster rate (shorter lifetime) due to FRET…

where

Page 61: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

The other interesting limit of the Binomial distribution….first the Gaussian distribution

The binomial density function for p = 0.5 and n = 10. Now what happens if n approaches infinity but p is NOT small?

Page 62: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Then the binomial distribution is well approximated by the Gaussian (or normal) distribution….the bell-shaped curve

The other interesting limit of the Binomial distribution….first the Gaussian distribution

Page 63: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

What’s so special about the Gaussian distribution?

[

Page 64: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 65: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 66: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 67: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 68: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 69: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 70: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 71: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 72: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 73: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

[

What’s so special about the Gaussian distribution?

Page 74: Lecture 3: Statistical Basis for Macroscopic Phenomenaranganathanlab.org/wp-content/uploads/2018/05/QB...(1)Review the essentials probability theory….what are probabilities, ways

Next time…an analysis of n >> 1 linear systems…diffusion and the thermodynamic limit

Linear

Nonlinear

n = 1

n = 2 or 3

n >> 1

continuum

exponential growth and decay

single step conformational change

fluorescence emission

pseudo first order kinetics

fixed points

bifurcations, multi stability

irreversible hysteresis

overdamped oscillators

second order reaction kinetics

linear harmonic oscillators

simple feedback control

sequences of conformational change

anharmomic oscillators

relaxation oscillations

predator-prey models

van der Pol systems

Chaotic systems

electrical circuits

molecular dynamics

systems of coupled harmonic oscillators

equilibrium thermodynamics

diffraction, Fourier transforms

systems of non-linear oscillators

non-equilibrium thermodynamics

protein structure/function

neural networks

the cell

ecosystems

Diffusion

Wave propagation

quantum mechanics

viscoelastic systems

Nonlinear wave propagation

Reaction-diffusion in dissipative systems

Turbulent/chaotic flows

adapted from S. Strogatz