Description Usage Arguments Value
Obtain the estimates for standard error via perturbation.
1 | perturbate(M, y, seed_num, regularize = FALSE, data_pair, newcov_pair, obs_id)
|
M |
Number of resampling in perturbation. |
y |
Vector. The outcome variable. |
seed_num |
Number of seed to control randomness of perturbation term generated. |
regularize |
If the objective is to fit a regularized linear regression
for variable selection, |
data_pair |
Matrix. The pairwise version of original data obtained from
function |
newcov_pair |
Matrix. The pairwise transformed covariates obtained from
function |
obs_id |
Vector. The indice of missingness for subjects obtained from
function |
A matrix. M
sets of estimates based on perturbated objective function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.