compute.secondary {scaRabee} | R Documentation |
Computes secondary parameter values
Description
compute.secondary
is a secondary function called during estimations
runs. It evaluates the code provided in the $SECONDARY block of the model
file; all parameters defined in this block are considered as secondary
parameters at the initial and the final estimates of the model parameters.
compute.secondary
is typically not called directly by users.
Usage
compute.secondary(subproblem = NULL,
x = NULL)
Arguments
subproblem |
A list containing the following levels:
|
x |
The vector of p final parameter estimates. |
Value
Return a list of with the following elements:
- init
The vector of s secondary parameter estimates derived from initial structural model parameter estimates.
- estimates
The vector of s secondary parameter estimates derived from final structural model parameter estimates.
- names
The vector of s secondary parameter names.
Author(s)
Sebastien Bihorel (sb.pmlab@gmail.com)
See Also
scarabee.analysis
,
weighting
,
fitmle
,
get.secondary