Description Usage Arguments Value
Generate data for simulation study
1 | generate_data(seed_no, nobs, tau_sq, sigma_sq = 5, beta = 3)
|
seed_no |
seed no. used to generate data |
nobs |
number of observations |
tau_sq |
extra variance due to measurement error in error-prone measure X_star |
sigma_sq |
variance of the residual errors of the outcome model, defaults to 5 |
beta |
estimand, defaults to 3 |
Data.frame with variables X, X_star and Y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.