Returns a function that generates random data from the model's data-generating process (DGP) at a given parameter value.

rdata(model, ...)

Arguments

model

A likelihood model

...

Additional arguments

Value

Function that takes (theta, n, ...) and returns a data frame

Details

This is used by the default fim method for Monte Carlo estimation of the Fisher information matrix.