Learn R Programming

simsem (version 0.2-8)

drawParametersMisspec: Create parameter sets (with or without model misspecification) from the parameter with or without misspecification set

Description

Create parameter sets (with or without model misspecification) from the parameter (SimSet) with or without misspecification set (SimMisspec)

Usage

drawParametersMisspec(objSet, objMisspec = new("NullSimMisspec"), objEqualCon = new("NullSimEqualCon"), maxDraw=100)

Arguments

objSet
The parameter set object, SimSet, that saves the specification of the actual parameter
objMisspec
The misspecified parameter set object, SimMisspec, that saves the specification of the misspecified parameter
objEqualCon
The equality constraint object, SimEqualCon
maxDraw
The maximum number of sample drawn. This function will draw sets of actual and misspecified parameters repeatedly until the identified sets of actual and misspecified parameters are drawn. The maximum of repetition is specified by this argument.

Value

  • A list of with two elements: 1) param SimRSet of real model parameters, 2) misspec SimRSet of real model parameters with model misspecification, and 3) misspecAdd the misspecification alone

Examples

Run this code
# No example

Run the code above in your browser using DataLab