Description Usage Arguments Value
View source: R/data_generation_utils.R
Estimate coefficient for treatment dummy
1 2 3 4 5 6 7 8 9 10 | get_beta(
n_iter,
sample_size,
n_covariates,
n_normal,
cov_mat,
alpha,
alpha_0_outcome,
risk_diff
)
|
n_iter |
number of iterations |
sample_size |
sample size |
n_covariates |
number of covariates |
n_normal |
integer specifying the number of normal covariates (must be <= n_convariates) |
cov_mat |
covariance matrix |
alpha |
coeffcient vector (without intercept) |
alpha_0_outcome |
intercept for outcome model |
risk_diff |
intended risk difference |
estimate for beta (coefficient for treatment dummy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.