Moment closure inference for stochastic kinetic models

60
Moment closure inference for stochastic kinetic models Colin Gillespie School of Mathematics & Statistics

description

My talk from the MBI Workshop on Recent Advances in Statistical Inference for Mathematical Biology 2012 http://www.mbi.osu.edu/2011/rasschedule.html

Transcript of Moment closure inference for stochastic kinetic models

Page 1: Moment closure inference for stochastic kinetic models

Moment closure inference forstochastic kinetic models

Colin Gillespie

School of Mathematics & Statistics

Page 2: Moment closure inference for stochastic kinetic models

Talk outlineI An introduction to moment closure

I Case study: Aphids

I Conclusion

2/43

Page 3: Moment closure inference for stochastic kinetic models

Birth-death process

Birth-death model

X −→ 2X and 2X −→ X

which has the propensity functions λX and µX .

Deterministic representationThe deterministic model is

dX (t)dt

= (λ− µ)X (t) ,

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

3/43

Page 4: Moment closure inference for stochastic kinetic models

Birth-death process

Birth-death model

X −→ 2X and 2X −→ X

which has the propensity functions λX and µX .

Deterministic representationThe deterministic model is

dX (t)dt

= (λ− µ)X (t) ,

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

3/43

Page 5: Moment closure inference for stochastic kinetic models

Stochastic representation

I In the stochastic framework, eachreaction has a probability of occurring

I The analogous version of thebirth-death process is the differenceequation

dpn

dt= λ(n− 1)pn−1 + µ(n + 1)pn+1

− (λ + µ)npn

Usually called the forward Kolmogorovequation or chemical master equation

0

10

20

30

40

50

0 1 2 3 4Time

Pop

ulat

ion

4/43

Page 6: Moment closure inference for stochastic kinetic models

Moment equations

I Multiply the CME by enθ and sum over n, to obtain

∂M∂t

= [λ(eθ − 1) + µ(e−θ − 1)]∂M∂θ

where

M(θ; t) =∞

∑n=0

enθpn(t)

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

dE[N(t)]dt

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

where E[N(t)] is the mean

5/43

Page 7: Moment closure inference for stochastic kinetic models

The mean equation

dE[N(t)]dt

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

I This ODE is solvable - the associated forward Kolmogorov equation isalso solvable

I The equation for the mean and deterministic ODE are identical

I When the rate laws are linear, the stochastic mean and deterministicsolution always correspond

6/43

Page 8: Moment closure inference for stochastic kinetic models

The variance equation

I If we differentiate the p.d.e. w.r.t θ twice and set θ = 0, we get:

dE[N(t)2]

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

and hence the variance Var[N(t)] = E[N(t)2]− E[N(t)]2.

I Differentiating three times gives an expression for the skewness, etc

7/43

Page 9: Moment closure inference for stochastic kinetic models

Simple dimerisation model

Dimerisation

2X1 −→ X2 and X2 −→ 2X1

with propensities 0.5k1X1(X1 − 1) and k2X2.

8/43

Page 10: Moment closure inference for stochastic kinetic models

Dimerisation moment equations

I We formulate the dimer model in terms of moment equations

dE[X1]

dt= 0.5k1(E[X

21 ]− E[X1])− k2E[X1]

dE[X 21 ]

dt= k1(E[X

21 X2]− E[X1X2]) + 0.5k1(E[X

21 ]− E[X1])

+ k2(E[X1]− 2E[X 21 ])

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

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

9/43

Page 11: Moment closure inference for stochastic kinetic models

Deterministic approximates stochastic

RewritingdE[X1]

dt= 0.5k1(E[X

21 ]− E[X1])− k2E[X1]

in terms of its variance, i.e. E[X 21 ] = Var[X1] + E[X1]2, we get

dE[X1]

dt= 0.5k1E [X1](E[X1]− 1) + 0.5k1Var[X1]− k2E[X1] (1)

I Setting Var[X1] = 0 in (1), recovers the deterministic equation

I So we can consider the deterministic models as an approximation tothe stochastic

I When we have polynomial rate laws, setting the variance to zeroresults in the deterministic equation

10/43

Page 12: Moment closure inference for stochastic kinetic models

Deterministic approximates stochastic

RewritingdE[X1]

dt= 0.5k1(E[X

21 ]− E[X1])− k2E[X1]

in terms of its variance, i.e. E[X 21 ] = Var[X1] + E[X1]2, we get

dE[X1]

dt= 0.5k1E [X1](E[X1]− 1) + 0.5k1Var[X1]− k2E[X1] (1)

I Setting Var[X1] = 0 in (1), recovers the deterministic equation

I So we can consider the deterministic models as an approximation tothe stochastic

I When we have polynomial rate laws, setting the variance to zeroresults in the deterministic equation

10/43

Page 13: Moment closure inference for stochastic kinetic models

Simple dimerisation model

I To close the equations, we assume an underlying distribution

I The easiest option is to assume an underlying Normal distribution, i.e.

E[X 31 ] = 3E[X 2

1 ]E[X1]− 2E[X1]3

I But we could also use, the Poisson

E[X 31 ] = E[X1] + 3E[X1]

2 + E[X1]3

or the Log normal

E[X 31 ] =

(E[X 2

1 ]

E[X1]

)3

11/43

Page 14: Moment closure inference for stochastic kinetic models

Simple dimerisation model

I To close the equations, we assume an underlying distribution

I The easiest option is to assume an underlying Normal distribution, i.e.

E[X 31 ] = 3E[X 2

1 ]E[X1]− 2E[X1]3

I But we could also use, the Poisson

E[X 31 ] = E[X1] + 3E[X1]

2 + E[X1]3

or the Log normal

E[X 31 ] =

(E[X 2

1 ]

E[X1]

)3

11/43

Page 15: Moment closure inference for stochastic kinetic models

Heat shock modelI Proctor et al, 2005. Stochastic kinetic model of the heat shock system

I twenty-three reactionsI seventeen chemical species

I A single stochastic simulation up to t = 2000 takes about 35 minutes.

I If we convert the model to moment equations, we get 139 equationsADP Native Protein

0

200

400

600

800

1000

1200

5700000

5750000

5800000

5850000

5900000

5950000

6000000

0 500 1000 1500 2000 0 500 1000 1500 2000Time

Pop

ulat

ion

Gillespie, CS, 2009

12/43

Page 16: Moment closure inference for stochastic kinetic models

Density plots: heat shock model

Time t=200 Time t=2000

0.000

0.002

0.004

0.006

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

Den

sity

13/43

Page 17: Moment closure inference for stochastic kinetic models

P53-Mdm2 oscillation model

I Proctor and Grey, 2008I 16 chemical speciesI Around a dozen reactions

I The model contains an eventsI At t = 1, set X = 0

I If we convert the model to momentequations, we get 139 equations.

I However, in this case the momentclosure approximation doesn’t do towell!

0

50

100

150

200

250

300

0 5 10 15 20 25 30Time

Pop

ulat

ion

14/43

Page 18: Moment closure inference for stochastic kinetic models

P53-Mdm2 oscillation model

I Proctor and Grey, 2008I 16 chemical speciesI Around a dozen reactions

I The model contains an eventsI At t = 1, set X = 0

I If we convert the model to momentequations, we get 139 equations.

I However, in this case the momentclosure approximation doesn’t do towell!

0

50

100

150

200

250

300

0 5 10 15 20 25 30Time

Pop

ulat

ion

14/43

Page 19: Moment closure inference for stochastic kinetic models

P53-Mdm2 oscillation model

I Proctor and Grey, 2008I 16 chemical speciesI Around a dozen reactions

I The model contains an eventsI At t = 1, set X = 0

I If we convert the model to momentequations, we get 139 equations.

I However, in this case the momentclosure approximation doesn’t do towell!

0

50

100

150

200

250

300

0 5 10 15 20 25 30Time

Pop

ulat

ion

14/43

Page 20: Moment closure inference for stochastic kinetic models

What went wrong?

I The Moment closure (tends) to fail when there is a large differencebetween the deterministic and stochastic formulations

I In this particular case, strongly correlated species

I Typically when the MC approximation fails, it gives a negativevariance

I The MC approximation does work well for other parameter values forthe p53 model

15/43

Page 21: Moment closure inference for stochastic kinetic models

Part II

Cotton aphids

16/43

Page 22: Moment closure inference for stochastic kinetic models

Cotton aphids

Aphid infestation (G & Golightly, 2010)A cotton aphid infestation of a cotton plant can result in:

I leaves that curl and pucker

I seedling plants become stunted and may die

I a late season infestation can result in stained cotton

I cotton aphids have developed resistance to many chemicaltreatments and so can be difficult to treat

I Basically it costs someone a lot of money

17/43

Page 23: Moment closure inference for stochastic kinetic models

Cotton aphids

Aphid infestation (G & Golightly, 2010)A cotton aphid infestation of a cotton plant can result in:

I leaves that curl and pucker

I seedling plants become stunted and may die

I a late season infestation can result in stained cotton

I cotton aphids have developed resistance to many chemicaltreatments and so can be difficult to treat

I Basically it costs someone a lot of money

17/43

Page 24: Moment closure inference for stochastic kinetic models

Cotton aphids

The data consists of

I five observations at each plot

I the sampling times are t=0, 1.14, 2.29, 3.57 and 4.57 weeks (i.e.every 7 to 8 days)

I three blocks, each being in a distinct area

I three irrigation treatments (low, medium and high)

I three nitrogen levels (blanket, variable and none)

18/43

Page 25: Moment closure inference for stochastic kinetic models

The data

Zero Variable Block

0

500

1000

1500

2000

2500

0

500

1000

1500

2000

2500

0

500

1000

1500

2000

2500

●●● ●●●●●●

●●● ●●●

●●●

●●● ●●●

●●●

●●

●●● ●●● ●

●●

●●

●●● ●●●●

●●

●●● ●●●

●●●

●●● ●●●●●●

●●

●●● ●●●●●●

●●● ●●●●●●

LowM

ediumH

igh

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

No.

of a

phid

s

19/43

Page 26: Moment closure inference for stochastic kinetic models

The dataZero Variable Block

0

500

1000

1500

2000

2500

0

500

1000

1500

2000

2500

0

500

1000

1500

2000

2500

●●● ●●●●●●

●●● ●●●

●●●

●●● ●●●

●●●

●●

●●● ●●● ●

●●

●●

●●● ●●●●

●●

●●● ●●●

●●●

●●● ●●●●●●

●●

●●● ●●●●●●

●●● ●●●●●●

LowM

ediumH

igh

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

No.

of a

phid

s

19/43

Page 27: Moment closure inference for stochastic kinetic models

Some notation

Let

I n(t) to be the size of the aphid population at time tI c(t) to be the cumulative aphid population at time t

1. We observe n(t) at discrete time points2. We don’t observe c(t)3. c(t) ≥ n(t)

20/43

Page 28: Moment closure inference for stochastic kinetic models

The model

We assume, based on previous modelling (Matis et al., 2004)

I An aphid birth rate of λn(t)

I An aphid death rate of µn(t)c(t)

I So extinction is certain, as eventually µnc > λn for large t

21/43

Page 29: Moment closure inference for stochastic kinetic models

The model

Deterministic representationPrevious modelling efforts have focused on deterministic models:

dN(t)dt

= λN(t)− µC(t)N(t)

dC(t)dt

= λN(t)

Some problemsI Initial and final aphid populations are quite small

I No allowance for ‘natural’ random variation

I Solution: use a stochastic model

22/43

Page 30: Moment closure inference for stochastic kinetic models

The model

Deterministic representationPrevious modelling efforts have focused on deterministic models:

dN(t)dt

= λN(t)− µC(t)N(t)

dC(t)dt

= λN(t)

Some problemsI Initial and final aphid populations are quite small

I No allowance for ‘natural’ random variation

I Solution: use a stochastic model

22/43

Page 31: Moment closure inference for stochastic kinetic models

The model

Stochastic representation

Let pn,c(t) denote the probability:

I there are n aphids in the population at time t

I a cumulative population size of c at time t

This gives the forward Kolmogorov equation

dpn,c(t)dt

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

− n(λ + µc)pn,c(t)

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

23/43

Page 32: Moment closure inference for stochastic kinetic models

Some simulations

0

200

400

600

800

0 2 4 6 8 10Time (days)

Aph

id p

op.

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

Page 33: Moment closure inference for stochastic kinetic models

Some simulations

0

200

400

600

800

0 2 4 6 8 10Time (days)

Aph

id p

op.

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

Page 34: Moment closure inference for stochastic kinetic models

Some simulations

0

200

400

600

800

0 2 4 6 8 10Time (days)

Aph

id p

op.

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

Page 35: Moment closure inference for stochastic kinetic models

Stochastic parameter estimation

I Let X(tu) = (n(tu), c(tu))′ be the vector of observed aphid countsand unobserved cumulative population size at time tu;

I To infer λ and µ, we need to estimate

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

i.e. the solution of the forward Kolmogorov equation

I We will use moment closure to estimate this distribution

25/43

Page 36: Moment closure inference for stochastic kinetic models

Stochastic parameter estimation

I Let X(tu) = (n(tu), c(tu))′ be the vector of observed aphid countsand unobserved cumulative population size at time tu;

I To infer λ and µ, we need to estimate

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

i.e. the solution of the forward Kolmogorov equation

I We will use moment closure to estimate this distribution

25/43

Page 37: Moment closure inference for stochastic kinetic models

Moment equations for the means

dE[n(t)]dt

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

dE[c(t)]dt

= λE[n(t)]

I The equation for the E[n(t)] depends on the Cov[n(t), c(t)]

I Setting Cov[n(t), c(t)]=0 gives the deterministic model

I We obtain similar equations for higher-order moments

26/43

Page 38: Moment closure inference for stochastic kinetic models

Moment equations for the means

dE[n(t)]dt

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

dE[c(t)]dt

= λE[n(t)]

I The equation for the E[n(t)] depends on the Cov[n(t), c(t)]

I Setting Cov[n(t), c(t)]=0 gives the deterministic model

I We obtain similar equations for higher-order moments

26/43

Page 39: Moment closure inference for stochastic kinetic models

Parameter inference

Given

I the parameters: {λ, µ}I the initial states: X(tu−1) = (n(tu−1), c(tu−1));

We haveX(tu) |X(tu−1),λ, µ ∼ N(ψu−1,Σu−1)

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

27/43

Page 40: Moment closure inference for stochastic kinetic models

Parameter inference

I Summarising our beliefs about {λ, µ} and the unobservedcumulative population c(t0) via priors p(λ, µ) and p(c(t0))

I The joint posterior for parameters and unobserved states (for a singledata set) is

p (λ, µ, c | n) ∝ p(λ, µ) p (c(t0))4

∏u=1

p (x(tu) | x(tu−1),λ, µ)

I For the results shown, we used a simple random walk MH step toexplore the parameter and state spaces

I For more complicated models, we can use a Durham & Gallant stylebridge (Milner, G & Wilkinson, 2012).

28/43

Page 41: Moment closure inference for stochastic kinetic models

Parameter inference

I Summarising our beliefs about {λ, µ} and the unobservedcumulative population c(t0) via priors p(λ, µ) and p(c(t0))

I The joint posterior for parameters and unobserved states (for a singledata set) is

p (λ, µ, c | n) ∝ p(λ, µ) p (c(t0))4

∏u=1

p (x(tu) | x(tu−1),λ, µ)

I For the results shown, we used a simple random walk MH step toexplore the parameter and state spaces

I For more complicated models, we can use a Durham & Gallant stylebridge (Milner, G & Wilkinson, 2012).

28/43

Page 42: Moment closure inference for stochastic kinetic models

Simulation study

I Three treatments & two blocks

I Baseline birth and death rates: {λ = 1.75, µ = 0.00095}I Treatment 2 increases µ by 0.0004

I Treatment 3 increases λ by 0.35

I 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

Page 43: Moment closure inference for stochastic kinetic models

Simulation study

I Three treatments & two blocks

I Baseline birth and death rates: {λ = 1.75, µ = 0.00095}I Treatment 2 increases µ by 0.0004

I Treatment 3 increases λ by 0.35

I 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

Page 44: Moment closure inference for stochastic kinetic models

Simulation study

I Three treatments & two blocks

I Baseline birth and death rates: {λ = 1.75, µ = 0.00095}I Treatment 2 increases µ by 0.0004

I Treatment 3 increases λ by 0.35

I 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

Page 45: Moment closure inference for stochastic kinetic models

Simulation study

I Three treatments & two blocks

I Baseline birth and death rates: {λ = 1.75, µ = 0.00095}I Treatment 2 increases µ by 0.0004

I Treatment 3 increases λ by 0.35

I 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

Page 46: Moment closure inference for stochastic kinetic models

Simulated data

Treament 1 Treatment 2 Treatment 3

0

500

1000

1500

●●

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

Pop

ulat

ion Block

● 1

2

30/43

Page 47: Moment closure inference for stochastic kinetic models

Parameter structure

I Let i, k represent the block and treatments level, i ∈ {1, 2} andk ∈ {1, 2, 3}

I For each data set, we assume birth rates of the form:

λik = λ + αi + βk

where α1 = β1 = 0

I So for block 1, treatment 1 we have:

λ11 = λ

and for block 2, treatment 1 we have:

λ21 = λ + α2

31/43

Page 48: Moment closure inference for stochastic kinetic models

MCMC scheme

I Using the MCMC scheme described previously, we generated 2Miterates and thinned by 1K

I This took a few hours and convergence was fairly quick

I We used independent proper uniform priors for the parameters

I For the initial unobserved cumulative population, we had

c(t0) = n(t0) + ε

where ε has a Gamma distribution with shape 1 and scale 10.

I This set up mirrors the scheme that we used for the real data set

32/43

Page 49: Moment closure inference for stochastic kinetic models

Marginal posterior distributions forλ and µ

Birth Rate

Den

sity

0

2

4

6

1.6 1.7 1.8 1.9 2.0

X

Death Rate

Den

sity

0

5000

10000

15000

20000

0.00090 0.00095 0.00100

X

33/43

Page 50: Moment closure inference for stochastic kinetic models

Marginal posterior distributions for birthrates

Birth Rate

Den

sity

0

2

4

6

−0.2 0.0 0.2 0.4

X

Block 2

−0.2 0.0 0.2 0.4

X

Treatment 2

−0.2 0.0 0.2 0.4

X

Treatment 3

I We obtained similar densities for the death rates.

34/43

Page 51: Moment closure inference for stochastic kinetic models

Application to the cotton aphid data set

Recall that the data consists of

I five observations on twenty randomly chosen leaves in each plot;

I three blocks, each being in a distinct area;

I three irrigation treatments (low, medium and high);

I three nitrogen levels (blanket, variable and none);

I 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 38parameters (including interaction terms) and the latent cumulative aphidpopulation.

35/43

Page 52: Moment closure inference for stochastic kinetic models

Cotton aphid dataMarginal posterior distributions

Birth Rate

Den

sity

0

2

4

6

1.6 1.7 1.8 1.9 2.0

Death Rate

Den

sity

0

5000

10000

15000

0.00090 0.00095 0.00100

36/43

Page 53: Moment closure inference for stochastic kinetic models

Does the model fit the data?

I We simulate predictive distributions from the MCMC output, i.e. werandomly sample parameter values (λ, µ) and the unobserved statec and simulate forward

I We simulate forward using the Gillespie simulatorI not the moment closure approximation

37/43

Page 54: Moment closure inference for stochastic kinetic models

Does the model fit the data?

Predictive distributions for 6 of the 27 Aphid data sets

Time

Aph

id P

opul

atio

n

0

500

1000

1500

2000

2500

1.14 2.29 3.57 4.57

●●●●●●

●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●

●●

●●●

●●●●

●●

●●●●●●●●●●●●

●●

●●●●●●●●●●●●●

●●●●●●●

●●●●●●●●●●●●

●●●●●

●●

●●●●●●●●●●●●●●●

●●●●●●●●●●

●●●

●●●

●●

●●●●●●

●●

●●

●●●●●●●●●

●●●●●●●

●●●●●●●

●●●●●●●

●●●●●●●●●●●●●●●

●●●●

●●●●●●●●●●●

●●●●

●●●●●●●●●●●●●●●●●

●●●

●●

●●

●●

●●●●●●●●●●●●●●●●●●●●●

●●●●

●●●●●●

●●●●

●●

●●

●●●●●●●

●●

●●

X

X

X

X

D 112

1.14 2.29 3.57 4.57

●●●

●●

●●●●

●●●

●●

●●●

●●

●●●●●

●●●

●●

●●●

●●

●●

●●●

●●

●●

●●●

●●

●●●

●●

●●●

●●●

●●●

●●

●●

●●

●●

●●

●●●

●●●

●●

●●●

●●

●●

●●

●●

●●●●

●●

●●●●●

●●

●●

●●

●●

●●●

●●

●●●●

●●●

●●●●●

●●●●●

●●

●●●

●●●●

●●●●●●●●●●●●●●●●●●●●●

●●

X

X

X

X

D 122

1.14 2.29 3.57 4.57

●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●X

X

X

X

D 113

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● ●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●X

X

X

X

D 123

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

XX

X

X

D 121

0

500

1000

1500

2000

2500

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●

●●●●●●●●●●●●●

●●

●●●●●●

●●●●●●●●●

●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

XX

X

X

D131

38/43

Page 55: Moment closure inference for stochastic kinetic models

Summarising the results

I Consider the additional number of aphids per treatment combination

I Set c(0) = n(0) = 1 and tmax = 6

I We now calculate the number of aphids we would see for eachparameter combination in addition to the baseline

I For example, the effect due to medium water:

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

I SoAdditional aphids = c i

Water (M) − c ibaseline

39/43

Page 56: Moment closure inference for stochastic kinetic models

Aphids over baselineMain Effects

Aphids

Dens

ity

0.0000

0.0005

0.0010

0.0015

0.0020

0.0025

0 2000 6000 10000

Block 3 Block 2

0 2000 6000 10000

Nitrogen (Z)

Nitrogen (V)

0 2000 6000 10000

Water (H)

0.0000

0.0005

0.0010

0.0015

0.0020

0.0025

Water (M)

40/43

Page 57: Moment closure inference for stochastic kinetic models

Aphids over baselineInteractions

Aphids

Dens

ity

0.000

0.001

0.002

0.003

0 2000 6000 10000

B3 N(Z) B2 N(Z)

0 2000 6000 10000

B3 N(V) B2 N(V)

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

0.000

0.001

0.002

0.003

B2 W(M)

0.000

0.001

0.002

0.003

W(H) N(Z)

0 2000 6000 10000

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

0 2000 6000 10000

W(M) N(V)

40/43

Page 58: Moment closure inference for stochastic kinetic models

Conclusions

I The 95% credible intervals for the baseline birth and death rates are(1.64, 1.86) and (0.00090, 0.00099).

I Main effects have little effect by themselves

I However block 2 appears to have a very strong interaction withnitrogen

I Moment closure parameter inference is a very useful technique forestimating parameters in stochastic population models

41/43

Page 59: Moment closure inference for stochastic kinetic models

Future work

Aphid modelI Other data sets suggest that there is aphid immigration in the early

stages

I Model selection for stochastic models

I Incorporate measurement error

Moment closureI Better closure techniques

I Assessing the fit

42/43

Page 60: Moment closure inference for stochastic kinetic models

Acknowledgements

I Andrew GolightlyI Peter MilnerI Darren Wilkinson

I Richard Boys

I Jim Matis (Texas A & M)

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

I 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.

I Milner, P, Gillespie, CS, Wilkinson, DJ Moment closure approximations for stochastic kinetic models with rational rate laws.Mathematical Biosciences 2011.

I Milner, P, Gillespie, CS and Wilkinson, DJ Moment closure based parameter inference of stochastic kinetic models.Statistics and Computing 2012.

43/43