NMsim_VarCov {NMsim}R Documentation

Simulate with parameter values sampled from a covariance step

Description

Like NMsim_default but '$THETA', '$OMEGA', and 'SIGMA' are drawn from distribution estimated in covariance step. This means that a successful covariance step must be available from the estimation. In case the simulation leads to negative diagonal elements in $OMEGA and $SIGMA, those values are truncated at zero. For simulation with parameter variability based on bootstrap results, use NMsim_default.

Usage

NMsim_VarCov(file.sim, file.mod, data.sim, nsims = 1)

Arguments

file.sim

See ?NMsim.

file.mod

See ?NMsim.

data.sim

See ?NMsim.

nsims

Number of replications wanted. The default is 1. If greater, multiple control streams will be generated.

Value

Character vector of simulation control stream paths


[Package NMsim version 0.1.0 Index]