All functions
|
cv.sparse.mediation()
|
Conduct K-fold cross validation for sparse mediation with elastic net with multiple tuning parameters |
ginv.largep()
|
Compute inverse, squareroot and inverse of the square root of the covariance |
sparse.mediation()
|
Sparse mediation for high-dimensional mediators
Fit a mediation model via penalized maximum likelihood and structural equation model.
The regularization path is computed for the lasso or elasticnet penalty at a grid of
values for the regularization parameter lambda. Currently, mediation analysis is developed based on gaussian assumption.
Multiple Mediaton Model:
(1) M = Xa + e1
(2) Y = Xc' + Mb + e2
And in the optimization, we do not regularize c', due to the assumption of partial mediation. |
sparse.mediation.largep_omega()
|
Conduct sparse mediation for parge p ( p > n) with L1 or L2 penalization using fast computation of inverse matrix |
sparse.mediation.largep_omega0()
|
Conduct sparse mediation for parge p ( p > n) with L1 or L2 penalization using fast computation of inverse matrix |
sparse.mediation.old()
|
Conduct sparse mediation with elastic net (Old version) |
sqrtmat.comp()
|
Compute squareroot of large covariance matrix |