Description Usage Arguments Value References Examples
Prediction of the random effects
1 | predPhi(samples, cand)
|
samples |
output of estSDE or estREg |
cand |
candidates for phi (matrix with p columns) |
matrix phi
follows...
1 2 3 4 5 6 7 8 9 10 11 12 | mod <- "Gompertz"
bSDE <- getFun("SDE", mod)
mu <- getPar("SDE", mod, "truePar")
n <- 5
parameters <- defaultPar(mu, n)
y <- drawData("SDE", bSDE, parameters)
t <- parameters$t
prior <- getPrior(mu, parameters$gamma2)
start <- getStart(mu, n)
chains <- estSDE(t, y, prior, start, bSDE)
phi.pred <- predPhi(chains)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.