Simulation-based parameter recovery estimation
To install from R:
library(devtools)
install_github("chaddlewick/spr")
Please note this is still under development and has a number of features which are yet to be added, e.g. in it's current form, covariates are uncorrelated
Currently contains 4 functions:
designdf - Create a dataframe based on an 'observed' variable design specification
effectsdf - Create a dataframe based on an 'observed' variable design and effects specification
simdf - Create a dataframe of a simulated outcome variable based on an 'observed' variable design and effects specification
simmodelfits - Simulate multiple datasets, fit and save model estimates
*Future update to include parameter recovery function from model fits and 'power curve'
Please feel free to make suggestions for edits.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.