Displaying 1 result from an estimated 1 matches for "yrspan".
Did you mean:
span
2010 Feb 12
1
popbio and stochastic lambda calculation
...ult matches this.
### TRIAL 1
### Using variances estimated from published paper returns an error
(ex.var$var), perhaps because variances are too large?
## run no.corr model
no.corr<-vitalsim(ex.vrs$mean, ex.vrs$var, diag(5),
diag(5), ex.mxdef, vrtypes=ex.vrs$types,
n0=c(200,130,90,80,490), yrspan=20 , runs=200)
### TRIAL 2
### Using standard error instead of variances (ex.var$var.se)
### This also produces an error when 'types' is set to anything but 1
(betas).
## run no.corr model
no.corr<-vitalsim(ex.vrs$mean, ex.vrs$var.se, diag(5),
diag(5), ex.mxdef, vrtypes=ex.vrs$types...