verhulst {pomp}R Documentation

Simple Verhulst-Pearl (logistic) model.

Description

verhulst is a pomp object encoding a univariate stochastic logistic model with measurement error.

Usage

data(verhulst)

Details

The model is written as an Ito diffusion, dn = r n (1-n/K) dt + σ n dW, where W is a Wiener process. It is implemented using the euler.simulate plug-in.

See Also

pomp-class and the vignettes

Examples

data(verhulst)
plot(verhulst)
coef(verhulst)
params <- cbind(
                c(n.0=100,K=10000,r=0.2,sigma=0.4,tau=0.1),
                c(n.0=1000,K=11000,r=0.1,sigma=0.4,tau=0.1)
                )
x <- simulate(verhulst,params=params,states=TRUE)
matplot(time(verhulst,t0=TRUE),t(x['n',,]),type='l')
y <- trajectory(verhulst,params=params)
matlines(time(verhulst,t0=TRUE),t(y['n',,]),type='l',lwd=2)

[Package pomp version 0.25-4 Index]