NWPRI_df {NMsim} | R Documentation |
Add degrees of freedom by OMEGA/SIGMA block
Description
Calculate and add degrees of freedom to be used for simulation using the inverse Wishart distribution.
Usage
NWPRI_df(pars)
Arguments
pars |
Parameters in long format, as returned by 'NMreadExt()'. |
Details
The degrees of freedom are calculated as DF = 2*((est**2)/(se**2)) + 1 -blocksize-1 DF2 is then adjusted to not be greater than the blocksize, and the minumum degrees of freedom observed in the block is applied to the full block. For fixed parameters, DF2 equals the blocksize.
Value
A data.table with DF2 added. See details.
References
See Also
NMsim_NWPRI
[Package NMsim version 0.2.4 Index]