Description Usage Arguments Details Value Author(s) References See Also Examples
returns 10 values of lambda for each gamma.
1 |
c |
c is absolute maximum of off-diagonal entries of sample covariance matrix. |
gam |
gamma is a non-negative constant. |
p |
p is number of rows/columns of matrix. |
The lamvec function retuns a 10 values of lambda for each value of gamma. A larger value of lambda yields sparse estimate but need not be positive definite, however at least one combination of (lambda, gamma) will yield a positive definite solution. If two different combination of (lambda, gamma) yeilds same cross validation error, a larger values of lambda will be selected which results in more sparse solution.
A vector of values of lambda for each combination of gama. By choosing c as the maximum of off-diagonal elements of sample covariance matrix, the largest value of lambda yields an estimate which diagonal matrix with elements proportional to the diagonal elements of sample covariance matrix.
Ashwini Maurya, Email: mauryaas@msu.edu
A Well Conditioned and Sparse Estimate of Covariance and Inverse Covariance Matrix Using Joint Penalty. Submitted. http://arxiv.org/pdf/1412.7907v2.pdf
jpen, jpen.inv, jpen.tune, jpen.tune.inv
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.