GenEst (version 1.4.9)

rdwp: Simulate parameters from a fitted dwp model

Description

Simulate parameters from a dwpm model object

Usage

rdwp(n, model)

Value

array of n simulated dwp values for each unit. Dimensions = c(n, number of units).

Arguments

n

the number of simulation draws

model

A dwpm object (which is returned from dwpm())

Details

If the model type = data, then the number of simulated columns must be either >=n (in which case the first n colunms are taken as the simulated DWP) or 1 (in which case, DWP is assumed constant).