SlideShare une entreprise Scribd logo
1  sur  60
Télécharger pour lire hors ligne
Moment closure inference for
                    stochastic kinetic models


                 Colin Gillespie


School of Mathematics & Statistics
Talk outline
    An introduction to moment closure
    Case study: Aphids
    Conclusion




                                        2/43
Birth-death process

Birth-death model
                       X −→ 2X        and 2X −→ X

which has the propensity functions λX and µX .

Deterministic representation
The deterministic model is

                         dX (t )
                                   = ( λ − µ )X (t ) ,
                             dt

which can be solved to give X (t ) = X (0) exp[(λ − µ)t ].



                                                                 3/43
Birth-death process

Birth-death model
                       X −→ 2X        and 2X −→ X

which has the propensity functions λX and µX .

Deterministic representation
The deterministic model is

                         dX (t )
                                   = ( λ − µ )X (t ) ,
                             dt

which can be solved to give X (t ) = X (0) exp[(λ − µ)t ].



                                                                 3/43
Stochastic representation
In the stochastic framework, each
reaction has a probability of occurring
                                                       50

The analogous version of the
                                                       40
birth-death process is the difference




                                          Population
equation                                               30


                                                       20
dpn
      = λ(n − 1)pn−1 + µ(n + 1)pn+1                    10
 dt
      − (λ + µ)npn                                     0

                                                            0   1    2     3   4
                                                                    Time
Usually called the forward Kolmogorov
equation or chemical master equation



                                                                                   4/43
Moment equations
Multiply the CME by enθ and sum over n, to obtain

                 ∂M                            ∂M
                    = [λ(eθ − 1) + µ(e−θ − 1)]
                 ∂t                            ∂θ
where
                                       ∞
                        M (θ; t ) =   ∑ e n θ pn ( t )
                                      n =0

If we differentiate this p.d.e. w.r.t θ and set θ = 0, we get

                     dE[N (t )]
                                  = (λ − µ)E[N (t )]
                         dt

where E[N (t )] is the mean

                                                                5/43
The mean equation

                 dE[N (t )]
                              = (λ − µ)E[N (t )]
                     dt

This ODE is solvable - the associated forward Kolmogorov equation is
also solvable
The equation for the mean and deterministic ODE are identical
When the rate laws are linear, the stochastic mean and deterministic
solution always correspond




                                                                       6/43
The variance equation
If we differentiate the p.d.e. w.r.t θ twice and set θ = 0, we get:

         dE[N (t )2 ]
                        = (λ − µ)E[N (t )] + 2(λ − µ)E[N (t )2 ]
              dt

and hence the variance Var[N (t )] = E[N (t )2 ] − E[N (t )]2 .
Differentiating three times gives an expression for the skewness, etc




                                                                        7/43
Simple dimerisation model

Dimerisation
                      2X1 −→ X2      and   X2 −→ 2X1

with propensities 0.5k1 X1 (X1 − 1) and k2 X2 .




                                                          8/43
Dimerisation moment equations
We formulate the dimer model in terms of moment equations

     dE[X1 ]               2
               = 0.5k1 (E[X1 ] − E[X1 ]) − k2 E[X1 ]
      dt
         2
    dE[X1 ]             2                               2
               = k1 (E[X1 X2 ] − E[X1 X2 ]) + 0.5k1 (E[X1 ] − E[X1 ])
       dt
                                    2
                 + k2 (E[X1 ] − 2E[X1 ])

where E[X1 ] is the mean of X1 and E[X1 ] − E[X1 ]2 is the variance
                                      2

The i th moment equation depends on the (i + 1)th equation




                                                                        9/43
Deterministic approximates stochastic
Rewriting
                 dE[X1 ]               2
                           = 0.5k1 (E[X1 ] − E[X1 ]) − k2 E[X1 ]
                    dt
in terms of its variance, i.e. E[X1 ] = Var[X1 ] + E[X1 ]2 , we get
                                  2


       dE[X1 ]
                 = 0.5k1 E [X1 ](E[X1 ] − 1) + 0.5k1 Var[X1 ] − k2 E[X1 ]   (1)
            dt

     Setting Var[X1 ] = 0 in (1), recovers the deterministic equation
     So we can consider the deterministic models as an approximation to
     the stochastic
     When we have polynomial rate laws, setting the variance to zero
     results in the deterministic equation

                                                                             10/43
Deterministic approximates stochastic
Rewriting
                 dE[X1 ]               2
                           = 0.5k1 (E[X1 ] − E[X1 ]) − k2 E[X1 ]
                    dt
in terms of its variance, i.e. E[X1 ] = Var[X1 ] + E[X1 ]2 , we get
                                  2


       dE[X1 ]
                 = 0.5k1 E [X1 ](E[X1 ] − 1) + 0.5k1 Var[X1 ] − k2 E[X1 ]   (1)
            dt

     Setting Var[X1 ] = 0 in (1), recovers the deterministic equation
     So we can consider the deterministic models as an approximation to
     the stochastic
     When we have polynomial rate laws, setting the variance to zero
     results in the deterministic equation

                                                                             10/43
Simple dimerisation model
To close the equations, we assume an underlying distribution
The easiest option is to assume an underlying Normal distribution, i.e.

                    E[X1 ] = 3E[X1 ]E[X1 ] − 2E[X1 ]3
                       3         2



But we could also use, the Poisson

                    3
                 E[X1 ] = E[X1 ] + 3E[X1 ]2 + E[X1 ]3

or the Log normal
                                            2     3
                               3       E [ X1 ]
                          E [ X1 ] =
                                       E [ X1 ]



                                                                     11/43
Simple dimerisation model
To close the equations, we assume an underlying distribution
The easiest option is to assume an underlying Normal distribution, i.e.

                    E[X1 ] = 3E[X1 ]E[X1 ] − 2E[X1 ]3
                       3         2



But we could also use, the Poisson

                    3
                 E[X1 ] = E[X1 ] + 3E[X1 ]2 + E[X1 ]3

or the Log normal
                                            2     3
                               3       E [ X1 ]
                          E [ X1 ] =
                                       E [ X1 ]



                                                                     11/43
Heat shock model
Proctor et al, 2005. Stochastic kinetic model of the heat shock system
     twenty-three reactions
     seventeen chemical species
A single stochastic simulation up to t = 2000 takes about 35 minutes.
If we convert the model to moment equations, we get 139 equations
                                      ADP                                      Native Protein

                     1200                                  6000000



                                                           5950000
                     1000


                                                           5900000
                     800
        Population




                                                           5850000
                     600

                                                           5800000

                     400
                                                           5750000


                     200
                                                           5700000


                        0
                            0   500   1000   1500   2000             0   500       1000         1500   2000
                                                            Time
                                                                                                              Gillespie, CS, 2009




                                                                                                                              12/43
Density plots: heat shock model

                              Time t=200                                 Time t=2000




          0.006
Density




          0.004




          0.002




          0.000

                  600   800     1000       1200     1400   600     800      1000       1200   1400
                                                  ADP population




                                                                                                     13/43
P53-Mdm2 oscillation model

Proctor and Grey, 2008                             300
    16 chemical species
                                                   250
    Around a dozen reactions
                                                   200




                                      Population
The model contains an events
    At t = 1, set X = 0                            150


If we convert the model to moment                  100

equations, we get 139 equations.                   50

However, in this case the moment                     0

closure approximation doesn’t do to                      0   5   10    15    20   25   30
                                                                      Time
well!




                                                                                       14/43
P53-Mdm2 oscillation model
Proctor and Grey, 2008
                                                   300
    16 chemical species
    Around a dozen reactions                       250

The model contains an events                       200




                                      Population
    At t = 1, set X = 0                            150

If we convert the model to moment                  100
equations, we get 139 equations.
                                                   50
However, in this case the moment
                                                     0
closure approximation doesn’t do to
                                                         0   5   10    15    20   25   30
well!                                                                 Time




                                                                                       14/43
P53-Mdm2 oscillation model
Proctor and Grey, 2008
                                                   300
    16 chemical species
    Around a dozen reactions                       250

The model contains an events                       200




                                      Population
    At t = 1, set X = 0                            150

If we convert the model to moment                  100
equations, we get 139 equations.
                                                   50
However, in this case the moment
                                                     0
closure approximation doesn’t do to
                                                         0   5   10    15    20   25   30
well!                                                                 Time




                                                                                       14/43
What went wrong?
The Moment closure (tends) to fail when there is a large difference
between the deterministic and stochastic formulations
In this particular case, strongly correlated species
Typically when the MC approximation fails, it gives a negative
variance
The MC approximation does work well for other parameter values for
the p53 model




                                                                      15/43
Part II

Cotton aphids




                16/43
Cotton aphids

Aphid infestation (G & Golightly, 2010)
A cotton aphid infestation of a cotton plant can result in:
     leaves that curl and pucker
     seedling plants become stunted and may die
     a late season infestation can result in stained cotton
     cotton aphids have developed resistance to many chemical
     treatments and so can be difficult to treat
     Basically it costs someone a lot of money




                                                                   17/43
Cotton aphids

Aphid infestation (G & Golightly, 2010)
A cotton aphid infestation of a cotton plant can result in:
     leaves that curl and pucker
     seedling plants become stunted and may die
     a late season infestation can result in stained cotton
     cotton aphids have developed resistance to many chemical
     treatments and so can be difficult to treat
     Basically it costs someone a lot of money




                                                                   17/43
Cotton aphids
The data consists of
    five observations at each plot
    the sampling times are t=0, 1.14, 2.29, 3.57 and 4.57 weeks (i.e.
    every 7 to 8 days)
    three blocks, each being in a distinct area
    three irrigation treatments (low, medium and high)
    three nitrogen levels (blanket, variable and none)




                                                                        18/43
The data

               Zero                   Variable                   Block
                                                 q
2500

2000                                                                     q

1500




                                                                                 Low
                      q
                                                                         q
1000                                             q
                      q                                                  q
                      q   q                      q

500             q         q                          q
                                         q           q
                q                        q                        q          q
                          q       q      q                        q
                                                                  q
           q
           q                      q
                                  q                  q       q
                                                             q               q
   0   q                      q                          q


2500
                                                 q
2000




                                                                                 Medium
                                                                         q
1500
                      q                                                      q
                      q
                      q   q                                                         19/43
1000                                             q                       q
                                                 q
Zero                            Variable                         Block
                                                                                                                                 The data
                                                                            q
                2500

                2000                                                                                        q

                1500




                                                                                                                        Low
                                           q
                                                                                                            q
                1000                                                        q
                                           q                                                                q
                                           q       q                        q

                500                q               q                                q
                                                                    q               q
                                   q                                q                               q               q
                                                   q       q        q                               q
                                                                                                    q
                           q
                           q                               q
                                                           q                        q       q
                                                                                            q                       q
                   0   q                               q                                q


                2500
                                                                            q
No. of aphids




                2000




                                                                                                                        Medium
                                                                                                            q
                1500
                                           q                                                                        q
                                           q
                                           q       q
                1000                                                        q                               q
                                   q                                        q

                500                                                 q               q
                                   q               q
                                                                    q                               q
                                                                                                    q               q
                           q       q               q                q               q                               q
                       q   q                           q   q
                                                           q                            q   q
                   0

                2500

                2000
                                                                            q
                                                                                                            q




                                                                                                                        High
                1500
                                           q
                                           q
                                           q                                                                q
                1000                                                        q                               q
                                                   q                        q
                                                                                    q                               q
                500                q
                                   q                                q               q
                                   q               q                q                               q               q
                           q                                        q               q               q
                       q   q                       q   q   q
                                                           q                            q   q                       q
                   0                                       q                                q

                       0   1   2       3       4       0   1    2       3       4       0   1   2       3       4
                                                               Time



                                                                                                                                        19/43
Some notation
Let
      n (t ) to be the size of the aphid population at time t
      c (t ) to be the cumulative aphid population at time t
        1. We observe n (t ) at discrete time points
        2. We don’t observe c (t )
        3. c (t ) ≥ n (t )




                                                                    20/43
The model
We assume, based on previous modelling (Matis et al., 2004)
    An aphid birth rate of λn (t )
    An aphid death rate of µn (t )c (t )
    So extinction is certain, as eventually µnc > λn for large t




                                                                   21/43
The model

Deterministic representation
Previous modelling efforts have focused on deterministic models:

                     dN (t )
                               = λN (t ) − µC (t )N (t )
                      dt
                     dC (t )
                               = λN (t )
                        dt

Some problems
    Initial and final aphid populations are quite small
    No allowance for ‘natural’ random variation
    Solution: use a stochastic model

                                                                   22/43
The model

Deterministic representation
Previous modelling efforts have focused on deterministic models:

                     dN (t )
                               = λN (t ) − µC (t )N (t )
                      dt
                     dC (t )
                               = λN (t )
                        dt

Some problems
    Initial and final aphid populations are quite small
    No allowance for ‘natural’ random variation
    Solution: use a stochastic model

                                                                   22/43
The model

Stochastic representation
Let pn,c (t ) denote the probability:
     there are n aphids in the population at time t
     a cumulative population size of c at time t
This gives the forward Kolmogorov equation

          dpn,c (t )
                       = λ(n − 1)pn−1,c −1 (t ) + µc (n + 1)pn+1,c (t )
             dt
                                                − n ( λ + µ c ) p n ,c ( t )

Even though this equation is fairly simple, it still can’t be solved exactly.


                                                                                23/43
Some simulations

                               800



                               600
                  Aphid pop.


                               400



                               200



                                 0

                                     0   2     4    6       8   10
                                             Time (days)


Parameters: n (0) = c (0) = 1, λ = 1.7 and µ = 0.001                      24/43
Some simulations

                               800



                               600
                  Aphid pop.



                               400



                               200



                                 0

                                     0   2     4    6       8   10
                                             Time (days)


Parameters: n (0) = c (0) = 1, λ = 1.7 and µ = 0.001                      24/43
Some simulations

                               800



                               600
                  Aphid pop.


                               400



                               200



                                 0

                                     0   2     4    6       8   10
                                             Time (days)


Parameters: n (0) = c (0) = 1, λ = 1.7 and µ = 0.001                      24/43
Stochastic parameter estimation
Let X(tu ) = (n (tu ), c (tu )) be the vector of observed aphid counts
and unobserved cumulative population size at time tu ;
To infer λ and µ, we need to estimate

                        Pr[X(tu )| X(tu −1 ), λ, µ]

i.e. the solution of the forward Kolmogorov equation
We will use moment closure to estimate this distribution




                                                                         25/43
Stochastic parameter estimation
Let X(tu ) = (n (tu ), c (tu )) be the vector of observed aphid counts
and unobserved cumulative population size at time tu ;
To infer λ and µ, we need to estimate

                        Pr[X(tu )| X(tu −1 ), λ, µ]

i.e. the solution of the forward Kolmogorov equation
We will use moment closure to estimate this distribution




                                                                         25/43
Moment equations for the means


 dE[n (t )]
              = λE[n(t )] − µ(E[n(t )]E[c (t )] + Cov[n(t ), c (t )])
   dt
 dE[c (t )]
              = λE[n(t )]
     dt


The equation for the E[n (t )] depends on the Cov[n (t ), c (t )]
Setting Cov[n (t ), c (t )]=0 gives the deterministic model
We obtain similar equations for higher-order moments




                                                                        26/43
Moment equations for the means


 dE[n (t )]
              = λE[n(t )] − µ(E[n(t )]E[c (t )] + Cov[n(t ), c (t )])
   dt
 dE[c (t )]
              = λE[n(t )]
     dt


The equation for the E[n (t )] depends on the Cov[n (t ), c (t )]
Setting Cov[n (t ), c (t )]=0 gives the deterministic model
We obtain similar equations for higher-order moments




                                                                        26/43
Parameter inference
Given
    the parameters: {λ, µ}
    the initial states: X(tu −1 ) = (n (tu −1 ), c (tu −1 ));
We have
                   X(tu ) | X(tu −1 ), λ, µ ∼ N (ψu −1 , Σu −1 )

where ψu −1 and Σu −1 are calculated using the moment closure
approximation




                                                                   27/43
Parameter inference
Summarising our beliefs about {λ, µ} and the unobserved
cumulative population c (t0 ) via priors p (λ, µ) and p (c (t0 ))
The joint posterior for parameters and unobserved states (for a single
data set) is

                                            4
   p (λ, µ, c | n) ∝ p (λ, µ) p (c(t0 ))   ∏ p (x(tu ) | x(tu−1 ), λ, µ)
                                           u =1



For the results shown, we used a simple random walk MH step to
explore the parameter and state spaces
For more complicated models, we can use a Durham & Gallant style
bridge (Milner, G & Wilkinson, 2012).

                                                                           28/43
Parameter inference
Summarising our beliefs about {λ, µ} and the unobserved
cumulative population c (t0 ) via priors p (λ, µ) and p (c (t0 ))
The joint posterior for parameters and unobserved states (for a single
data set) is

                                            4
   p (λ, µ, c | n) ∝ p (λ, µ) p (c(t0 ))   ∏ p (x(tu ) | x(tu−1 ), λ, µ)
                                           u =1



For the results shown, we used a simple random walk MH step to
explore the parameter and state spaces
For more complicated models, we can use a Durham & Gallant style
bridge (Milner, G & Wilkinson, 2012).

                                                                           28/43
Simulation study
Three treatments & two blocks
Baseline birth and death rates: {λ = 1.75, µ = 0.00095}
Treatment 2 increases µ by 0.0004
Treatment 3 increases λ by 0.35
The block effect reduces µ by 0.0003



          Treatment 1       Treatment 2       Treatment 3
Block 1   {1.75, 0.00095}   {1.75, 0.00135}   {2.1, 0.00095}
Block 2   {1.75, 0.00065}   {1.75, 0.00105}   {2.1, 0.00065}



                                                               29/43
Simulation study
Three treatments & two blocks
Baseline birth and death rates: {λ = 1.75, µ = 0.00095}
Treatment 2 increases µ by 0.0004
Treatment 3 increases λ by 0.35
The block effect reduces µ by 0.0003



          Treatment 1       Treatment 2       Treatment 3
Block 1   {1.75, 0.00095}   {1.75, 0.00135}   {2.1, 0.00095}
Block 2   {1.75, 0.00065}   {1.75, 0.00105}   {2.1, 0.00065}



                                                               29/43
Simulation study
Three treatments & two blocks
Baseline birth and death rates: {λ = 1.75, µ = 0.00095}
Treatment 2 increases µ by 0.0004
Treatment 3 increases λ by 0.35
The block effect reduces µ by 0.0003



          Treatment 1       Treatment 2       Treatment 3
Block 1   {1.75, 0.00095}   {1.75, 0.00135}   {2.1, 0.00095}
Block 2   {1.75, 0.00065}   {1.75, 0.00105}   {2.1, 0.00065}



                                                               29/43
Simulation study
Three treatments & two blocks
Baseline birth and death rates: {λ = 1.75, µ = 0.00095}
Treatment 2 increases µ by 0.0004
Treatment 3 increases λ by 0.35
The block effect reduces µ by 0.0003



          Treatment 1       Treatment 2       Treatment 3
Block 1   {1.75, 0.00095}   {1.75, 0.00135}   {2.1, 0.00095}
Block 2   {1.75, 0.00065}   {1.75, 0.00105}   {2.1, 0.00065}



                                                               29/43
Simulated data

                            Treament 1                            Treatment 2                           Treatment 3
             1500



                                                                                                              q                       Block
Population




             1000
                                  q                                                                                                    q      1

                                                                                q                                                             2
             500                          q
                                                                        q
                                                                                                    q                 q
                        q
                                                                                        q
                                                  q           q
                    q                                                                           q                             q
                0                                         q

                    0   1     2       3       4       5   0   1     2       3       4       5   0   1     2       3       4       5
                                                                    Time



                                                                                                                                              30/43
Parameter structure
Let i , k represent the block and treatments level, i ∈ {1, 2} and
k ∈ {1, 2, 3}
For each data set, we assume birth rates of the form:

                          λik = λ + αi + β k

where α1 = β 1 = 0
So for block 1, treatment 1 we have:

                               λ11 = λ

and for block 2, treatment 1 we have:

                            λ21 = λ + α2
                                                                     31/43
MCMC scheme
Using the MCMC scheme described previously, we generated 2M
iterates and thinned by 1K
This took a few hours and convergence was fairly quick
We used independent proper uniform priors for the parameters
For the initial unobserved cumulative population, we had

                          c (t0 ) = n (t0 ) +

where   has a Gamma distribution with shape 1 and scale 10.
This set up mirrors the scheme that we used for the real data set




                                                                    32/43
Marginal posterior distributions for
                                                            λ and µ

                                                             20000

          6
                                                             15000
Density




                                                   Density
          4
                                                             10000


          2
                                                              5000



          0
                          X                                      0
                                                                                X
              1.6   1.7         1.8    1.9   2.0                     0.00090   0.00095           0.00100

                          Birth Rate                                                Death Rate




                                                                                                           33/43
Marginal posterior distributions for birth
    rates
                                              −0.2 0.0   0.2   0.4

                            Block 2             Treatment 2            Treatment 3



                   6
         Density




                   4



                   2



                   0        X                      X                                  X
                       −0.2 0.0   0.2   0.4                          −0.2 0.0   0.2   0.4

                                                 Birth Rate



We obtained similar densities for the death rates.



                                                                                            34/43
Application to the cotton aphid data set
Recall that the data consists of
     five observations on twenty randomly chosen leaves in each plot;
     three blocks, each being in a distinct area;
     three irrigation treatments (low, medium and high);
     three nitrogen levels (blanket, variable and none);
     the sampling times are t=0, 1.14, 2.29, 3.57 and 4.57 weeks (i.e.
     every 7 to 8 days).
Following in the same vein as the simulated data, we are estimating 38
parameters (including interaction terms) and the latent cumulative aphid
population.



                                                                           35/43
Cotton aphid data
                                        Marginal posterior distributions



          6
                                                               15000
Density




                                                     Density
          4
                                                               10000



          2                                                    5000



          0                                                        0

              1.6   1.7           1.8    1.9   2.0                     0.00090     0.00095    0.00100

                          Birth Rate                                             Death Rate




                                                                                                        36/43
Does the model fit the data?
We simulate predictive distributions from the MCMC output, i.e. we
randomly sample parameter values (λ, µ) and the unobserved state
c and simulate forward
We simulate forward using the Gillespie simulator
    not the moment closure approximation




                                                                 37/43
Does the model fit the data?

Predictive distributions for 6 of the 27 Aphid data sets
                                            D 123                       D 121                          D131

                                                                                                                          2500

                                                                                                                          2000

                                                                                                                          1500
                                                                               X
                                                                               q
                                                                               q                             q
                                                                                                             q            1000
                                                                                                             X
                                                   q




                                                                                                              q
                                                   X                           q




                                                                                   q
                                                                               q                             q
          Aphid Population




                                            q      q
                                                    q
                                            q      q
                                             q
                                                                                        q                                 500
                                                                                        X
                                                                                        q                           q




                                                                                         q
                                            X
                                                                        q                             q




                                                                                                                    q
                                                          q                                           q             X
                                                                                                                    q
                                                                        q




                                                                                                       q
                                                                 q      X                             X




                                                                         q
                                                          q
                                                          q
                                     X
                                     q                    X                                    q

                                                                 q
                                                                                                q
                                                                 X                             X                          0
                                      q
                                            D 112                       D 122                         D 113
                                                                               q
                                                                               q
                                                                               X
                             2500

                                                                                   q
                                                                               q

                             2000

                             1500                  q
                                                   q
                                                   X
                                                    q
                                                   q                    q
                                                                        q
                             1000
                                                                         q
                                                          q             q
                                                                        q
                                                          X                             q
                                                                                        q                    X
                                                                                                             q
                                                          q
                                                          q
                                                                                                             q




                                                                                                              q
                                            q
                                                                                         q
                              500           X                    q                      q
                                                                                        X             q
                                             q
                                                                        X                             q




                                                                                                       q
                                                                 q                                                  q
                                                                 q
                                                                                                      X
                                                                                                                    q




                                                                                                                    q
                                     q
                                     X                           X                             q
                                                                                               X                    X
                                                                                                q
                               0
                                      q
                                    1.14   2.29   3.57   4.57   1.14   2.29   3.57     4.57   1.14   2.29   3.57   4.57

                                                                            Time

                                                                                                                                 38/43
Summarising the results
Consider the additional number of aphids per treatment combination
Set c (0) = n (0) = 1 and tmax = 6
We now calculate the number of aphids we would see for each
parameter combination in addition to the baseline
For example, the effect due to medium water:

                                                ∗
          λ211 = λ + αWater (M) and µ211 = µ + αWater (M)

So
                                    i            i
               Additional aphids = cWater (M) − cbaseline




                                                                     39/43
Aphids over baseline
                                                                             Main Effects
                                                0   2000      6000   10000

                         Nitrogen (V)                  Water (H)                    Water (M)


                                                                                                          0.0025


                                                                                                          0.0020


                                                                                                          0.0015


                                                                                                          0.0010


                                                                                                          0.0005


                                                                                                          0.0000
Density




                              Block 3                      Block 2                 Nitrogen (Z)


          0.0025


          0.0020


          0.0015


          0.0010


          0.0005


          0.0000

                   0   2000      6000   10000                                0   2000   6000      10000

                                                       Aphids




                                                                                                                   40/43
Aphids over baseline
                                                                              Interactions
                                          0 2000   6000   10000                           0 2000   6000   10000

                     W(H) N(Z)               W(M) N(Z)               W(H) N(V)               W(M) N(V)


          0.003


          0.002


          0.001


          0.000
                      B3 W(H)                 B2 W(H)                 B3 W(M)                 B2 W(M)


                                                                                                                  0.003
Density




                                                                                                                  0.002


                                                                                                                  0.001


                                                                                                                  0.000
                       B3 N(Z)                 B2 N(Z)                 B3 N(V)                 B2 N(V)


          0.003


          0.002


          0.001


          0.000

                  0 2000   6000   10000                           0 2000   6000   10000

                                                           Aphids




                                                                                                                          40/43
Conclusions
The 95% credible intervals for the baseline birth and death rates are
(1.64, 1.86) and (0.00090, 0.00099).
Main effects have little effect by themselves
However block 2 appears to have a very strong interaction with
nitrogen
Moment closure parameter inference is a very useful technique for
estimating parameters in stochastic population models




                                                                        41/43
Future work

Aphid model
    Other data sets suggest that there is aphid immigration in the early
    stages
    Model selection for stochastic models
    Incorporate measurement error

Moment closure
    Better closure techniques
    Assessing the fit




                                                                           42/43
Acknowledgements
   Andrew Golightly                                                       Richard Boys
   Peter Milner
   Darren Wilkinson                                                       Jim Matis (Texas A & M)



References
   Gillespie, CS Moment closure approximations for mass-action models. IET Systems Biology 2009.

   Gillespie, CS, Golightly, A Bayesian inference for generalized stochastic population growth models with application to aphids.
   Journal of the Royal Statistical Society, Series C 2010.
   Milner, P, Gillespie, CS, Wilkinson, DJ Moment closure approximations for stochastic kinetic models with rational rate laws.
   Mathematical Biosciences 2011.
   Milner, P, Gillespie, CS and Wilkinson, DJ Moment closure based parameter inference of stochastic kinetic models.
   Statistics and Computing 2012.




                                                                                                                                    43/43

Contenu connexe

Tendances

Simultaneous differential equations
Simultaneous differential equationsSimultaneous differential equations
Simultaneous differential equationsShubhi Jain
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesEnrique Valderrama
 
27 power series x
27 power series x27 power series x
27 power series xmath266
 
Elementary differential equation
Elementary differential equationElementary differential equation
Elementary differential equationAngeli Castillo
 
Time Series Analysis
Time Series AnalysisTime Series Analysis
Time Series AnalysisAmit Ghosh
 
International journal of engineering issues vol 2015 - no 2 - paper5
International journal of engineering issues   vol 2015 - no 2 - paper5International journal of engineering issues   vol 2015 - no 2 - paper5
International journal of engineering issues vol 2015 - no 2 - paper5sophiabelthome
 
How to Solve a Partial Differential Equation on a surface
How to Solve a Partial Differential Equation on a surfaceHow to Solve a Partial Differential Equation on a surface
How to Solve a Partial Differential Equation on a surfacetr1987
 
Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014 Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014 Rani Sulvianuri
 
Mit2 092 f09_lec16
Mit2 092 f09_lec16Mit2 092 f09_lec16
Mit2 092 f09_lec16Rahman Hakim
 
IJSRED-V2I5P56
IJSRED-V2I5P56IJSRED-V2I5P56
IJSRED-V2I5P56IJSRED
 
Average Sensitivity of Graph Algorithms
Average Sensitivity of Graph AlgorithmsAverage Sensitivity of Graph Algorithms
Average Sensitivity of Graph AlgorithmsYuichi Yoshida
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application Yana Qlah
 
Methods of solving ODE
Methods of solving ODEMethods of solving ODE
Methods of solving ODEkishor pokar
 
Maxima & Minima of Functions - Differential Calculus by Arun Umrao
Maxima & Minima of Functions - Differential Calculus by Arun UmraoMaxima & Minima of Functions - Differential Calculus by Arun Umrao
Maxima & Minima of Functions - Differential Calculus by Arun Umraossuserd6b1fd
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODEKris014
 

Tendances (19)

Simultaneous differential equations
Simultaneous differential equationsSimultaneous differential equations
Simultaneous differential equations
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examples
 
27 power series x
27 power series x27 power series x
27 power series x
 
Elementary differential equation
Elementary differential equationElementary differential equation
Elementary differential equation
 
Time Series Analysis
Time Series AnalysisTime Series Analysis
Time Series Analysis
 
International journal of engineering issues vol 2015 - no 2 - paper5
International journal of engineering issues   vol 2015 - no 2 - paper5International journal of engineering issues   vol 2015 - no 2 - paper5
International journal of engineering issues vol 2015 - no 2 - paper5
 
Section3 stochastic
Section3 stochasticSection3 stochastic
Section3 stochastic
 
How to Solve a Partial Differential Equation on a surface
How to Solve a Partial Differential Equation on a surfaceHow to Solve a Partial Differential Equation on a surface
How to Solve a Partial Differential Equation on a surface
 
Ch02 fuzzyrelation
Ch02 fuzzyrelationCh02 fuzzyrelation
Ch02 fuzzyrelation
 
Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014 Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014
 
Chapter 1 (maths 3)
Chapter 1 (maths 3)Chapter 1 (maths 3)
Chapter 1 (maths 3)
 
Mit2 092 f09_lec16
Mit2 092 f09_lec16Mit2 092 f09_lec16
Mit2 092 f09_lec16
 
IJSRED-V2I5P56
IJSRED-V2I5P56IJSRED-V2I5P56
IJSRED-V2I5P56
 
Average Sensitivity of Graph Algorithms
Average Sensitivity of Graph AlgorithmsAverage Sensitivity of Graph Algorithms
Average Sensitivity of Graph Algorithms
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
 
Methods of solving ODE
Methods of solving ODEMethods of solving ODE
Methods of solving ODE
 
Maxima & Minima of Functions - Differential Calculus by Arun Umrao
Maxima & Minima of Functions - Differential Calculus by Arun UmraoMaxima & Minima of Functions - Differential Calculus by Arun Umrao
Maxima & Minima of Functions - Differential Calculus by Arun Umrao
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODE
 
Boyd chap10
Boyd chap10Boyd chap10
Boyd chap10
 

En vedette

BMW from the future
BMW from the futureBMW from the future
BMW from the futurecateof
 
Scilabisnotnaive
ScilabisnotnaiveScilabisnotnaive
Scilabisnotnaivezan
 
Apprendre python3 arab
Apprendre python3 arabApprendre python3 arab
Apprendre python3 arabzan
 
Bayesian Experimental Design for Stochastic Kinetic Models
Bayesian Experimental Design for Stochastic Kinetic ModelsBayesian Experimental Design for Stochastic Kinetic Models
Bayesian Experimental Design for Stochastic Kinetic ModelsColin Gillespie
 
An introduction to moment closure techniques
An introduction to moment closure techniquesAn introduction to moment closure techniques
An introduction to moment closure techniquesColin Gillespie
 

En vedette (8)

Active passive
Active passiveActive passive
Active passive
 
Marketing Tips
Marketing TipsMarketing Tips
Marketing Tips
 
BMW from the future
BMW from the futureBMW from the future
BMW from the future
 
Scilabisnotnaive
ScilabisnotnaiveScilabisnotnaive
Scilabisnotnaive
 
venkat cv
venkat cvvenkat cv
venkat cv
 
Apprendre python3 arab
Apprendre python3 arabApprendre python3 arab
Apprendre python3 arab
 
Bayesian Experimental Design for Stochastic Kinetic Models
Bayesian Experimental Design for Stochastic Kinetic ModelsBayesian Experimental Design for Stochastic Kinetic Models
Bayesian Experimental Design for Stochastic Kinetic Models
 
An introduction to moment closure techniques
An introduction to moment closure techniquesAn introduction to moment closure techniques
An introduction to moment closure techniques
 

Similaire à Moment closure inference for stochastic kinetic models

International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) inventionjournals
 
Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Alexander Litvinenko
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionPedro222284
 
Physical Chemistry Assignment Help
Physical Chemistry Assignment HelpPhysical Chemistry Assignment Help
Physical Chemistry Assignment HelpEdu Assignment Help
 
Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010akabaka12
 
Local Volatility 1
Local Volatility 1Local Volatility 1
Local Volatility 1Ilya Gikhman
 
What happens when the Kolmogorov-Zakharov spectrum is nonlocal?
What happens when the Kolmogorov-Zakharov spectrum is nonlocal?What happens when the Kolmogorov-Zakharov spectrum is nonlocal?
What happens when the Kolmogorov-Zakharov spectrum is nonlocal?Colm Connaughton
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010akabaka12
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]Hazrul156
 
Phase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle SystemsPhase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle SystemsStefan Eng
 
Convolution and FFT
Convolution and FFTConvolution and FFT
Convolution and FFTChenghao Jin
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life OlooPundit
 
Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...
Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...
Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...Alexander Litvinenko
 
PaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and ChaoticityPaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and ChaoticityMezban Habibi
 
PaperNo23-habibiIJCMS5-8-2014-IJCMS
PaperNo23-habibiIJCMS5-8-2014-IJCMSPaperNo23-habibiIJCMS5-8-2014-IJCMS
PaperNo23-habibiIJCMS5-8-2014-IJCMSMezban Habibi
 

Similaire à Moment closure inference for stochastic kinetic models (20)

02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf
 
02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf02_AJMS_186_19_RA.pdf
02_AJMS_186_19_RA.pdf
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
Dft
DftDft
Dft
 
Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...
 
Chapter 3 (maths 3)
Chapter 3 (maths 3)Chapter 3 (maths 3)
Chapter 3 (maths 3)
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability Distribution
 
Physical Chemistry Assignment Help
Physical Chemistry Assignment HelpPhysical Chemistry Assignment Help
Physical Chemistry Assignment Help
 
1 - Linear Regression
1 - Linear Regression1 - Linear Regression
1 - Linear Regression
 
Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010
 
Local Volatility 1
Local Volatility 1Local Volatility 1
Local Volatility 1
 
What happens when the Kolmogorov-Zakharov spectrum is nonlocal?
What happens when the Kolmogorov-Zakharov spectrum is nonlocal?What happens when the Kolmogorov-Zakharov spectrum is nonlocal?
What happens when the Kolmogorov-Zakharov spectrum is nonlocal?
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
 
Phase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle SystemsPhase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle Systems
 
Convolution and FFT
Convolution and FFTConvolution and FFT
Convolution and FFT
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...
Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...
Computing f-Divergences and Distances of\\ High-Dimensional Probability Densi...
 
PaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and ChaoticityPaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
 
PaperNo23-habibiIJCMS5-8-2014-IJCMS
PaperNo23-habibiIJCMS5-8-2014-IJCMSPaperNo23-habibiIJCMS5-8-2014-IJCMS
PaperNo23-habibiIJCMS5-8-2014-IJCMS
 

Plus de Colin Gillespie

The tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic modelsThe tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic modelsColin Gillespie
 
Poster for Information, probability and inference in systems biology (IPISB 2...
Poster for Information, probability and inference in systems biology (IPISB 2...Poster for Information, probability and inference in systems biology (IPISB 2...
Poster for Information, probability and inference in systems biology (IPISB 2...Colin Gillespie
 
Reference classes: a case study with the poweRlaw package
Reference classes: a case study with the poweRlaw packageReference classes: a case study with the poweRlaw package
Reference classes: a case study with the poweRlaw packageColin Gillespie
 
Introduction to power laws
Introduction to power lawsIntroduction to power laws
Introduction to power lawsColin Gillespie
 
Speeding up the Gillespie algorithm
Speeding up the Gillespie algorithmSpeeding up the Gillespie algorithm
Speeding up the Gillespie algorithmColin Gillespie
 
Bayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphidsBayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphidsColin Gillespie
 

Plus de Colin Gillespie (7)

The tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic modelsThe tau-leap method for simulating stochastic kinetic models
The tau-leap method for simulating stochastic kinetic models
 
Poster for Information, probability and inference in systems biology (IPISB 2...
Poster for Information, probability and inference in systems biology (IPISB 2...Poster for Information, probability and inference in systems biology (IPISB 2...
Poster for Information, probability and inference in systems biology (IPISB 2...
 
Reference classes: a case study with the poweRlaw package
Reference classes: a case study with the poweRlaw packageReference classes: a case study with the poweRlaw package
Reference classes: a case study with the poweRlaw package
 
Introduction to power laws
Introduction to power lawsIntroduction to power laws
Introduction to power laws
 
Speeding up the Gillespie algorithm
Speeding up the Gillespie algorithmSpeeding up the Gillespie algorithm
Speeding up the Gillespie algorithm
 
WCSB 2012
WCSB 2012 WCSB 2012
WCSB 2012
 
Bayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphidsBayesian inference for stochastic population models with application to aphids
Bayesian inference for stochastic population models with application to aphids
 

Dernier

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 

Dernier (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

Moment closure inference for stochastic kinetic models

  • 1. Moment closure inference for stochastic kinetic models Colin Gillespie School of Mathematics & Statistics
  • 2. Talk outline An introduction to moment closure Case study: Aphids Conclusion 2/43
  • 3. Birth-death process Birth-death model X −→ 2X and 2X −→ X which has the propensity functions λX and µX . Deterministic representation The deterministic model is dX (t ) = ( λ − µ )X (t ) , dt which can be solved to give X (t ) = X (0) exp[(λ − µ)t ]. 3/43
  • 4. Birth-death process Birth-death model X −→ 2X and 2X −→ X which has the propensity functions λX and µX . Deterministic representation The deterministic model is dX (t ) = ( λ − µ )X (t ) , dt which can be solved to give X (t ) = X (0) exp[(λ − µ)t ]. 3/43
  • 5. Stochastic representation In the stochastic framework, each reaction has a probability of occurring 50 The analogous version of the 40 birth-death process is the difference Population equation 30 20 dpn = λ(n − 1)pn−1 + µ(n + 1)pn+1 10 dt − (λ + µ)npn 0 0 1 2 3 4 Time Usually called the forward Kolmogorov equation or chemical master equation 4/43
  • 6. Moment equations Multiply the CME by enθ and sum over n, to obtain ∂M ∂M = [λ(eθ − 1) + µ(e−θ − 1)] ∂t ∂θ where ∞ M (θ; t ) = ∑ e n θ pn ( t ) n =0 If we differentiate this p.d.e. w.r.t θ and set θ = 0, we get dE[N (t )] = (λ − µ)E[N (t )] dt where E[N (t )] is the mean 5/43
  • 7. The mean equation dE[N (t )] = (λ − µ)E[N (t )] dt This ODE is solvable - the associated forward Kolmogorov equation is also solvable The equation for the mean and deterministic ODE are identical When the rate laws are linear, the stochastic mean and deterministic solution always correspond 6/43
  • 8. The variance equation If we differentiate the p.d.e. w.r.t θ twice and set θ = 0, we get: dE[N (t )2 ] = (λ − µ)E[N (t )] + 2(λ − µ)E[N (t )2 ] dt and hence the variance Var[N (t )] = E[N (t )2 ] − E[N (t )]2 . Differentiating three times gives an expression for the skewness, etc 7/43
  • 9. Simple dimerisation model Dimerisation 2X1 −→ X2 and X2 −→ 2X1 with propensities 0.5k1 X1 (X1 − 1) and k2 X2 . 8/43
  • 10. Dimerisation moment equations We formulate the dimer model in terms of moment equations dE[X1 ] 2 = 0.5k1 (E[X1 ] − E[X1 ]) − k2 E[X1 ] dt 2 dE[X1 ] 2 2 = k1 (E[X1 X2 ] − E[X1 X2 ]) + 0.5k1 (E[X1 ] − E[X1 ]) dt 2 + k2 (E[X1 ] − 2E[X1 ]) where E[X1 ] is the mean of X1 and E[X1 ] − E[X1 ]2 is the variance 2 The i th moment equation depends on the (i + 1)th equation 9/43
  • 11. Deterministic approximates stochastic Rewriting dE[X1 ] 2 = 0.5k1 (E[X1 ] − E[X1 ]) − k2 E[X1 ] dt in terms of its variance, i.e. E[X1 ] = Var[X1 ] + E[X1 ]2 , we get 2 dE[X1 ] = 0.5k1 E [X1 ](E[X1 ] − 1) + 0.5k1 Var[X1 ] − k2 E[X1 ] (1) dt Setting Var[X1 ] = 0 in (1), recovers the deterministic equation So we can consider the deterministic models as an approximation to the stochastic When we have polynomial rate laws, setting the variance to zero results in the deterministic equation 10/43
  • 12. Deterministic approximates stochastic Rewriting dE[X1 ] 2 = 0.5k1 (E[X1 ] − E[X1 ]) − k2 E[X1 ] dt in terms of its variance, i.e. E[X1 ] = Var[X1 ] + E[X1 ]2 , we get 2 dE[X1 ] = 0.5k1 E [X1 ](E[X1 ] − 1) + 0.5k1 Var[X1 ] − k2 E[X1 ] (1) dt Setting Var[X1 ] = 0 in (1), recovers the deterministic equation So we can consider the deterministic models as an approximation to the stochastic When we have polynomial rate laws, setting the variance to zero results in the deterministic equation 10/43
  • 13. Simple dimerisation model To close the equations, we assume an underlying distribution The easiest option is to assume an underlying Normal distribution, i.e. E[X1 ] = 3E[X1 ]E[X1 ] − 2E[X1 ]3 3 2 But we could also use, the Poisson 3 E[X1 ] = E[X1 ] + 3E[X1 ]2 + E[X1 ]3 or the Log normal 2 3 3 E [ X1 ] E [ X1 ] = E [ X1 ] 11/43
  • 14. Simple dimerisation model To close the equations, we assume an underlying distribution The easiest option is to assume an underlying Normal distribution, i.e. E[X1 ] = 3E[X1 ]E[X1 ] − 2E[X1 ]3 3 2 But we could also use, the Poisson 3 E[X1 ] = E[X1 ] + 3E[X1 ]2 + E[X1 ]3 or the Log normal 2 3 3 E [ X1 ] E [ X1 ] = E [ X1 ] 11/43
  • 15. Heat shock model Proctor et al, 2005. Stochastic kinetic model of the heat shock system twenty-three reactions seventeen chemical species A single stochastic simulation up to t = 2000 takes about 35 minutes. If we convert the model to moment equations, we get 139 equations ADP Native Protein 1200 6000000 5950000 1000 5900000 800 Population 5850000 600 5800000 400 5750000 200 5700000 0 0 500 1000 1500 2000 0 500 1000 1500 2000 Time Gillespie, CS, 2009 12/43
  • 16. Density plots: heat shock model Time t=200 Time t=2000 0.006 Density 0.004 0.002 0.000 600 800 1000 1200 1400 600 800 1000 1200 1400 ADP population 13/43
  • 17. P53-Mdm2 oscillation model Proctor and Grey, 2008 300 16 chemical species 250 Around a dozen reactions 200 Population The model contains an events At t = 1, set X = 0 150 If we convert the model to moment 100 equations, we get 139 equations. 50 However, in this case the moment 0 closure approximation doesn’t do to 0 5 10 15 20 25 30 Time well! 14/43
  • 18. P53-Mdm2 oscillation model Proctor and Grey, 2008 300 16 chemical species Around a dozen reactions 250 The model contains an events 200 Population At t = 1, set X = 0 150 If we convert the model to moment 100 equations, we get 139 equations. 50 However, in this case the moment 0 closure approximation doesn’t do to 0 5 10 15 20 25 30 well! Time 14/43
  • 19. P53-Mdm2 oscillation model Proctor and Grey, 2008 300 16 chemical species Around a dozen reactions 250 The model contains an events 200 Population At t = 1, set X = 0 150 If we convert the model to moment 100 equations, we get 139 equations. 50 However, in this case the moment 0 closure approximation doesn’t do to 0 5 10 15 20 25 30 well! Time 14/43
  • 20. What went wrong? The Moment closure (tends) to fail when there is a large difference between the deterministic and stochastic formulations In this particular case, strongly correlated species Typically when the MC approximation fails, it gives a negative variance The MC approximation does work well for other parameter values for the p53 model 15/43
  • 22. Cotton aphids Aphid infestation (G & Golightly, 2010) A cotton aphid infestation of a cotton plant can result in: leaves that curl and pucker seedling plants become stunted and may die a late season infestation can result in stained cotton cotton aphids have developed resistance to many chemical treatments and so can be difficult to treat Basically it costs someone a lot of money 17/43
  • 23. Cotton aphids Aphid infestation (G & Golightly, 2010) A cotton aphid infestation of a cotton plant can result in: leaves that curl and pucker seedling plants become stunted and may die a late season infestation can result in stained cotton cotton aphids have developed resistance to many chemical treatments and so can be difficult to treat Basically it costs someone a lot of money 17/43
  • 24. Cotton aphids The data consists of five observations at each plot the sampling times are t=0, 1.14, 2.29, 3.57 and 4.57 weeks (i.e. every 7 to 8 days) three blocks, each being in a distinct area three irrigation treatments (low, medium and high) three nitrogen levels (blanket, variable and none) 18/43
  • 25. The data Zero Variable Block q 2500 2000 q 1500 Low q q 1000 q q q q q q 500 q q q q q q q q q q q q q q q q q q q q q q 0 q q q 2500 q 2000 Medium q 1500 q q q q q 19/43 1000 q q q
  • 26. Zero Variable Block The data q 2500 2000 q 1500 Low q q 1000 q q q q q q 500 q q q q q q q q q q q q q q q q q q q q q q 0 q q q 2500 q No. of aphids 2000 Medium q 1500 q q q q q 1000 q q q q 500 q q q q q q q q q q q q q q q q q q q q q 0 2500 2000 q q High 1500 q q q q 1000 q q q q q q 500 q q q q q q q q q q q q q q q q q q q q q q 0 q q 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 Time 19/43
  • 27. Some notation Let n (t ) to be the size of the aphid population at time t c (t ) to be the cumulative aphid population at time t 1. We observe n (t ) at discrete time points 2. We don’t observe c (t ) 3. c (t ) ≥ n (t ) 20/43
  • 28. The model We assume, based on previous modelling (Matis et al., 2004) An aphid birth rate of λn (t ) An aphid death rate of µn (t )c (t ) So extinction is certain, as eventually µnc > λn for large t 21/43
  • 29. The model Deterministic representation Previous modelling efforts have focused on deterministic models: dN (t ) = λN (t ) − µC (t )N (t ) dt dC (t ) = λN (t ) dt Some problems Initial and final aphid populations are quite small No allowance for ‘natural’ random variation Solution: use a stochastic model 22/43
  • 30. The model Deterministic representation Previous modelling efforts have focused on deterministic models: dN (t ) = λN (t ) − µC (t )N (t ) dt dC (t ) = λN (t ) dt Some problems Initial and final aphid populations are quite small No allowance for ‘natural’ random variation Solution: use a stochastic model 22/43
  • 31. The model Stochastic representation Let pn,c (t ) denote the probability: there are n aphids in the population at time t a cumulative population size of c at time t This gives the forward Kolmogorov equation dpn,c (t ) = λ(n − 1)pn−1,c −1 (t ) + µc (n + 1)pn+1,c (t ) dt − n ( λ + µ c ) p n ,c ( t ) Even though this equation is fairly simple, it still can’t be solved exactly. 23/43
  • 32. Some simulations 800 600 Aphid pop. 400 200 0 0 2 4 6 8 10 Time (days) Parameters: n (0) = c (0) = 1, λ = 1.7 and µ = 0.001 24/43
  • 33. Some simulations 800 600 Aphid pop. 400 200 0 0 2 4 6 8 10 Time (days) Parameters: n (0) = c (0) = 1, λ = 1.7 and µ = 0.001 24/43
  • 34. Some simulations 800 600 Aphid pop. 400 200 0 0 2 4 6 8 10 Time (days) Parameters: n (0) = c (0) = 1, λ = 1.7 and µ = 0.001 24/43
  • 35. Stochastic parameter estimation Let X(tu ) = (n (tu ), c (tu )) be the vector of observed aphid counts and unobserved cumulative population size at time tu ; To infer λ and µ, we need to estimate Pr[X(tu )| X(tu −1 ), λ, µ] i.e. the solution of the forward Kolmogorov equation We will use moment closure to estimate this distribution 25/43
  • 36. Stochastic parameter estimation Let X(tu ) = (n (tu ), c (tu )) be the vector of observed aphid counts and unobserved cumulative population size at time tu ; To infer λ and µ, we need to estimate Pr[X(tu )| X(tu −1 ), λ, µ] i.e. the solution of the forward Kolmogorov equation We will use moment closure to estimate this distribution 25/43
  • 37. Moment equations for the means dE[n (t )] = λE[n(t )] − µ(E[n(t )]E[c (t )] + Cov[n(t ), c (t )]) dt dE[c (t )] = λE[n(t )] dt The equation for the E[n (t )] depends on the Cov[n (t ), c (t )] Setting Cov[n (t ), c (t )]=0 gives the deterministic model We obtain similar equations for higher-order moments 26/43
  • 38. Moment equations for the means dE[n (t )] = λE[n(t )] − µ(E[n(t )]E[c (t )] + Cov[n(t ), c (t )]) dt dE[c (t )] = λE[n(t )] dt The equation for the E[n (t )] depends on the Cov[n (t ), c (t )] Setting Cov[n (t ), c (t )]=0 gives the deterministic model We obtain similar equations for higher-order moments 26/43
  • 39. Parameter inference Given the parameters: {λ, µ} the initial states: X(tu −1 ) = (n (tu −1 ), c (tu −1 )); We have X(tu ) | X(tu −1 ), λ, µ ∼ N (ψu −1 , Σu −1 ) where ψu −1 and Σu −1 are calculated using the moment closure approximation 27/43
  • 40. Parameter inference Summarising our beliefs about {λ, µ} and the unobserved cumulative population c (t0 ) via priors p (λ, µ) and p (c (t0 )) The joint posterior for parameters and unobserved states (for a single data set) is 4 p (λ, µ, c | n) ∝ p (λ, µ) p (c(t0 )) ∏ p (x(tu ) | x(tu−1 ), λ, µ) u =1 For the results shown, we used a simple random walk MH step to explore the parameter and state spaces For more complicated models, we can use a Durham & Gallant style bridge (Milner, G & Wilkinson, 2012). 28/43
  • 41. Parameter inference Summarising our beliefs about {λ, µ} and the unobserved cumulative population c (t0 ) via priors p (λ, µ) and p (c (t0 )) The joint posterior for parameters and unobserved states (for a single data set) is 4 p (λ, µ, c | n) ∝ p (λ, µ) p (c(t0 )) ∏ p (x(tu ) | x(tu−1 ), λ, µ) u =1 For the results shown, we used a simple random walk MH step to explore the parameter and state spaces For more complicated models, we can use a Durham & Gallant style bridge (Milner, G & Wilkinson, 2012). 28/43
  • 42. Simulation study Three treatments & two blocks Baseline birth and death rates: {λ = 1.75, µ = 0.00095} Treatment 2 increases µ by 0.0004 Treatment 3 increases λ by 0.35 The block effect reduces µ by 0.0003 Treatment 1 Treatment 2 Treatment 3 Block 1 {1.75, 0.00095} {1.75, 0.00135} {2.1, 0.00095} Block 2 {1.75, 0.00065} {1.75, 0.00105} {2.1, 0.00065} 29/43
  • 43. Simulation study Three treatments & two blocks Baseline birth and death rates: {λ = 1.75, µ = 0.00095} Treatment 2 increases µ by 0.0004 Treatment 3 increases λ by 0.35 The block effect reduces µ by 0.0003 Treatment 1 Treatment 2 Treatment 3 Block 1 {1.75, 0.00095} {1.75, 0.00135} {2.1, 0.00095} Block 2 {1.75, 0.00065} {1.75, 0.00105} {2.1, 0.00065} 29/43
  • 44. Simulation study Three treatments & two blocks Baseline birth and death rates: {λ = 1.75, µ = 0.00095} Treatment 2 increases µ by 0.0004 Treatment 3 increases λ by 0.35 The block effect reduces µ by 0.0003 Treatment 1 Treatment 2 Treatment 3 Block 1 {1.75, 0.00095} {1.75, 0.00135} {2.1, 0.00095} Block 2 {1.75, 0.00065} {1.75, 0.00105} {2.1, 0.00065} 29/43
  • 45. Simulation study Three treatments & two blocks Baseline birth and death rates: {λ = 1.75, µ = 0.00095} Treatment 2 increases µ by 0.0004 Treatment 3 increases λ by 0.35 The block effect reduces µ by 0.0003 Treatment 1 Treatment 2 Treatment 3 Block 1 {1.75, 0.00095} {1.75, 0.00135} {2.1, 0.00095} Block 2 {1.75, 0.00065} {1.75, 0.00105} {2.1, 0.00065} 29/43
  • 46. Simulated data Treament 1 Treatment 2 Treatment 3 1500 q Block Population 1000 q q 1 q 2 500 q q q q q q q q q q q 0 q 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 Time 30/43
  • 47. Parameter structure Let i , k represent the block and treatments level, i ∈ {1, 2} and k ∈ {1, 2, 3} For each data set, we assume birth rates of the form: λik = λ + αi + β k where α1 = β 1 = 0 So for block 1, treatment 1 we have: λ11 = λ and for block 2, treatment 1 we have: λ21 = λ + α2 31/43
  • 48. MCMC scheme Using the MCMC scheme described previously, we generated 2M iterates and thinned by 1K This took a few hours and convergence was fairly quick We used independent proper uniform priors for the parameters For the initial unobserved cumulative population, we had c (t0 ) = n (t0 ) + where has a Gamma distribution with shape 1 and scale 10. This set up mirrors the scheme that we used for the real data set 32/43
  • 49. Marginal posterior distributions for λ and µ 20000 6 15000 Density Density 4 10000 2 5000 0 X 0 X 1.6 1.7 1.8 1.9 2.0 0.00090 0.00095 0.00100 Birth Rate Death Rate 33/43
  • 50. Marginal posterior distributions for birth rates −0.2 0.0 0.2 0.4 Block 2 Treatment 2 Treatment 3 6 Density 4 2 0 X X X −0.2 0.0 0.2 0.4 −0.2 0.0 0.2 0.4 Birth Rate We obtained similar densities for the death rates. 34/43
  • 51. Application to the cotton aphid data set Recall that the data consists of five observations on twenty randomly chosen leaves in each plot; three blocks, each being in a distinct area; three irrigation treatments (low, medium and high); three nitrogen levels (blanket, variable and none); the sampling times are t=0, 1.14, 2.29, 3.57 and 4.57 weeks (i.e. every 7 to 8 days). Following in the same vein as the simulated data, we are estimating 38 parameters (including interaction terms) and the latent cumulative aphid population. 35/43
  • 52. Cotton aphid data Marginal posterior distributions 6 15000 Density Density 4 10000 2 5000 0 0 1.6 1.7 1.8 1.9 2.0 0.00090 0.00095 0.00100 Birth Rate Death Rate 36/43
  • 53. Does the model fit the data? We simulate predictive distributions from the MCMC output, i.e. we randomly sample parameter values (λ, µ) and the unobserved state c and simulate forward We simulate forward using the Gillespie simulator not the moment closure approximation 37/43
  • 54. Does the model fit the data? Predictive distributions for 6 of the 27 Aphid data sets D 123 D 121 D131 2500 2000 1500 X q q q q 1000 X q q X q q q q Aphid Population q q q q q q q 500 X q q q X q q q q q X q q q q X X q q q X q X q q q X X 0 q D 112 D 122 D 113 q q X 2500 q q 2000 1500 q q X q q q q 1000 q q q q X q q X q q q q q q q 500 X q q X q q X q q q q q X q q q X X q X X q 0 q 1.14 2.29 3.57 4.57 1.14 2.29 3.57 4.57 1.14 2.29 3.57 4.57 Time 38/43
  • 55. Summarising the results Consider the additional number of aphids per treatment combination Set c (0) = n (0) = 1 and tmax = 6 We now calculate the number of aphids we would see for each parameter combination in addition to the baseline For example, the effect due to medium water: ∗ λ211 = λ + αWater (M) and µ211 = µ + αWater (M) So i i Additional aphids = cWater (M) − cbaseline 39/43
  • 56. Aphids over baseline Main Effects 0 2000 6000 10000 Nitrogen (V) Water (H) Water (M) 0.0025 0.0020 0.0015 0.0010 0.0005 0.0000 Density Block 3 Block 2 Nitrogen (Z) 0.0025 0.0020 0.0015 0.0010 0.0005 0.0000 0 2000 6000 10000 0 2000 6000 10000 Aphids 40/43
  • 57. Aphids over baseline Interactions 0 2000 6000 10000 0 2000 6000 10000 W(H) N(Z) W(M) N(Z) W(H) N(V) W(M) N(V) 0.003 0.002 0.001 0.000 B3 W(H) B2 W(H) B3 W(M) B2 W(M) 0.003 Density 0.002 0.001 0.000 B3 N(Z) B2 N(Z) B3 N(V) B2 N(V) 0.003 0.002 0.001 0.000 0 2000 6000 10000 0 2000 6000 10000 Aphids 40/43
  • 58. Conclusions The 95% credible intervals for the baseline birth and death rates are (1.64, 1.86) and (0.00090, 0.00099). Main effects have little effect by themselves However block 2 appears to have a very strong interaction with nitrogen Moment closure parameter inference is a very useful technique for estimating parameters in stochastic population models 41/43
  • 59. Future work Aphid model Other data sets suggest that there is aphid immigration in the early stages Model selection for stochastic models Incorporate measurement error Moment closure Better closure techniques Assessing the fit 42/43
  • 60. Acknowledgements Andrew Golightly Richard Boys Peter Milner Darren Wilkinson Jim Matis (Texas A & M) References Gillespie, CS Moment closure approximations for mass-action models. IET Systems Biology 2009. Gillespie, CS, Golightly, A Bayesian inference for generalized stochastic population growth models with application to aphids. Journal of the Royal Statistical Society, Series C 2010. Milner, P, Gillespie, CS, Wilkinson, DJ Moment closure approximations for stochastic kinetic models with rational rate laws. Mathematical Biosciences 2011. Milner, P, Gillespie, CS and Wilkinson, DJ Moment closure based parameter inference of stochastic kinetic models. Statistics and Computing 2012. 43/43