Usage
space.miss(Y.m,lam1, lam2=0, sig=NULL, weight=NULL,iter=2, emIter=5,n_iter=1000,t0=0,r=0)
Arguments
Y.m
numeric matrix. Columns are for variables and rows are for samples. It's recommended to first standardize each column to have mean 0 and $l_2$ norm 1.
lam1
numeric value. This is the $l_1$ norm penalty parameter. If the columns of Y.m have norm one,
then the suggested range of lam1 is $O(n^{3/2}\Phi^{-1}(1-\alpha/(2p^2)))$ for small $\alpha$ such as 0.1.
lam2
numeric value. If not specified, lasso regression is used in the Joint Sparse Regression Model (JSRM).
Otherwise, elastic net regression is used in JSRM and lam2 serves as the $l_2$ norm penalty parameter.
sig
numeric vector. Its length should be the same as the number of columns of Y.m. It is the vector of $\sigma^{ii}$ (the diagonal of the inverse covariance matrix).
If not specified, $\sigma^{ii}$ will be estimated during the model fitting with initial valu
weight
numeric value or vector. It specifies the weights or the type of weights used for each regression in JSRM. The default value is NULL,
which means all regressions will be weighted equally in the joint model.
If weight=1, residue variances will be used f
iter
integer. It is the total number of interactions in JSRM for estimating $\sigma^{ii}$ and partial correlations. When sig=NULL and/or weight=NULL or 2, iter should be at least 2.
emIter
integer. the maximum number of EM iteration allowed
n_iter
integer. the maximum number of interations in JSRM.
r
positive value. local smoothing parameter. If r=0, then no smoothing is incorporated.