SimSet
object and randomly draw the misspecified parameters from SimMisspec
object. Then, the function will put the misspecified parameters on top of the actual parameters.runMisspec(object, misspec, SimEqualCon=new("NullSimEqualCon"))
SimSet
object that saves the actual parametersSimSet
object that saves the misspecified parametersparam
SimRSet
of real model parameters, 2) misspec
SimRSet
of real model parameters with model misspecification, and 3) misspecAdd
the misspecification aloneSimMisspec@misBeforeFill=TRUE
The misspecification will be added into user-specified parameters and the auto-completion on the other parameters.SimMisspec@misBeforeFill=FALSE
The auto-completion will be applied first, then the misspecification will be added, and finally the auto-completion works again to adjust the parameter after adding misspecification.SimMisspec@misBeforeFill=TRUE & SimMisspec@conBeforeMis=TRUE & SimEqualCon@conBeforeFill=TRUE
The equality constraint is applied first, then the misspecification is added, and finally the auto-completion is applied.SimMisspec@misBeforeFill=FALSE & SimMisspec@conBeforeMis=TRUE & SimEqualCon@conBeforeFill=TRUE
The equality constarint is applied first, then the auto-completion is applied, the misspecification will be added, and finally the auto-completion is used to adjusted for the added parameters.SimMisspec@misBeforeFill=FALSE & SimMisspec@conBeforeMis=TRUE & SimEqualCon@conBeforeFill=FALSE
The auto-completeion is applied first, then the equality constriant is applied with adjusting parameters by the auto-completion, and finally the misspecification is added with adjusting the parameters by the auto-completion.SimMisspec@misBeforeFill=FALSE & SimMisspec@conBeforeMis=FALSE & SimEqualCon@conBeforeFill=FALSE
The auto-completeion is applied first, then the misspecification is added with adjusting paramters by the auto-completion, and finally the equality constraint is added with adjusting parameters by the auto-completion.SimMisspec@misBeforeFill=TRUE & SimMisspec@conBeforeMis=FALSE & SimEqualCon@conBeforeFill=TRUE
The misspecification is added first, then the equality constraint is applied, and finally the auto-completion is applied.SimMisspec@misBeforeFill=TRUE & SimMisspec@conBeforeMis=FALSE & SimEqualCon@conBeforeFill=FALSE
The misspecification is added first, then the auto-completion is applied, and finally the equality constriant is applied with adjusting parameters by the auto-completion.