simglm
simglm copied to clipboard
Simulate regression models
```r sim_arguments correlate_variables(sim_arguments) ```
It would be great if `replicate_simulation` would take specified correlations among predictors (i.e. if the element `correlate` is present in `sim_args`) into account (maybe with an option?). I think this...
Primarily need to rework currenty `sim_glm` function to simulate item indicator variables.
Add ability to run power for identification of DIF or estimate precision. Look into using `mirt`, `lme4`, or `ltm` for model fitting.
For example, add the `rnbinom()` distribution instead of `rpois()` for count data.