predPhi: Prediction Of The Random Effects In Mixed Stochastic...

Description Usage Arguments Value References Examples

Description

Prediction of the random effects

Usage

1
predPhi(samples, cand)

Arguments

samples

output of estSDE or estREg

cand

candidates for phi (matrix with p columns)

Value

matrix phi

References

follows...

Examples

 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)

SimoneHermann/hierRegSDE documentation built on May 9, 2019, 1:46 p.m.