Learn R Programming

dynr (version 0.1.8-17)

dynr.cook: Cook a dynr model to estimate its free parameters

Description

Cook a dynr model to estimate its free parameters

Usage

dynr.cook(dynrModel, conf.level = 0.95, infile, verbose = TRUE, weight_flag = FALSE, debug_flag = FALSE)

Arguments

dynrModel
a dynr model compiled using dynr.model, consisting of recipes for submodels, starting values, parameter names, and C code for each submodel
conf.level
a cumulative proportion indicating the level of desired confidence intervals for the final parameter estimates (default is .95)
infile
(not required for models specified through the recipe functions) the name of a file that has the C codes for all dynr submodels for those interested in specifying a model directly in C
verbose
a flag (TRUE/FALSE) indicating whether more detailed intermediate output during the estimation process should be printed
weight_flag
a flag (TRUE/FALSE) indicating whether the negative log likelihood function should be weighted by the length of the time series for each individual
debug_flag
a flag (TRUE/FALSE) indicating whether users want additional dynr output that can be used for diagnostic purposes

Examples

Run this code
#fitted.model <- dynr.cook(model)

Run the code above in your browser using DataLab