Description Usage Arguments Value
View source: R/ConfounderCorrection_WithMissing.R
Estimate latent covariates and estimate/do inference on the coefficients of interest in a multivariate linear model with stabilized inverse probability weighting (sIPW) using estimated missingness mechansim.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Y |
a |
X |
a |
Z |
a |
K |
The number of latent covariates (i.e. C is a |
Miss.Mech |
The missingness mechansim object returned by |
ind.samples |
A logical or numeric vector of samples to be considered in the analysis. For example, if disease status were only measured in a subset of the patients, this would be the samples with a recorded disease status. Default is no missing samples. |
max.miss.perp |
Maximum fraction of missing data a metabolite is allowed to have to be used to calculate the part of C perpendicular to X. Defaults to 0.5. |
max.miss.image |
Maximum fraction of missing data a metabolite is allowed to have to be used to calculate the part of C in the image of X. Defaults to 0.5. |
est.Beta |
A logical indicating whether or not to estimate/do inference on coefficients of interest. If |
A list
C.iter |
The estimate of the |
Beta.iter |
The estimate of the |
p.t.iter |
The |
Var.beta.iter |
A length |
t.iter |
A |
p.f.iter |
A length |
L |
The estimate of the |
Beta.naive |
The estimate of the |
p.t.naive |
The |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.