Derive parameter estimates and standard errors by simulation, or
by bootstrap resampling.
Usage
simreg(formula, data, n = 1000)
bootreg(formula, data, n = 1000)
Arguments
formula
Model formula
data
Data frame from which names in formula can be taken
n
Number of repeats of the simulation, or (bootreg) of bootstrap
resamples
Value
Matrix of coefficients from repeated simulations, or from bootstrap
resamples. For simreg there is one row for each repeat
of the simulation. For bootreg there is one row for each
resample.