- Z
If each individual shares the same number of periods of time, Z can be a \(n*p*m\) dimensional array, where \(m\) is number of individuals.
In general, Z should be a m-length list, and each element in the list is a \(n_i*p\) matrix, where \(n_i\) stands for the number of periods of time of the i-th individual.
- lambda
a scalar or a m-length vector, representing the penalty parameters of order \(\sqrt{\log(p)/n_i}\) for each individual.
If a scalar, the penalty parameters used in each individual are the same.
If a m-length vector, the penalty parameters for each individual are specified in order.
And if NULL, penalty parameters are specified by type.
More details about the penalty parameters are in individual.est.
- type
a character string representing the method of estimation. "slasso" means scaled lasso, and "lasso" means lasso. Default value is "slasso".
- alpha
a numeric scalar, default value is 0.05. It is used when ind.ci is TRUE.
- ind.ci
a logical indicating whether to compute \(1-\alpha\) confidence intervals of each subject, default value is FALSE.