‘glasso
’ returns an object with S3 class “glasso
”, i.e. a list containing the following components:
callthe call that produced this object.
Xthe matrix used to compute the covariance matrix.
Sthe covariance matrix used to fit the glasso model.
weightsthe used weights.
pendiagthe flag specifying if the diagonal elements of the precisione matrix are penalized.
nrhothe number of fitted glasso model.
rho.min.ratiothe scale factor used to compute the smallest value of the tuning parameter.
rhothe \(p\)-dimensional vector reporting the values of the tuning parameter used to fit the glasso model.
maxR2the threshold value used for the pseudo R-squared measure.
maxitthe maximum number of iterations of the glasso algorithm.
thrthe threshold for the convergence of the glasso algorithm.
Sgman array of dimension \((p\times p\times\texttt{nrho})\). Sgm[, , k]
is the estimate of the covariance matrix of the glasso model fitted using rho[k]
.
Thtan array of dimension \((p\times p\times\texttt{nrho})\). Tht[, , k]
is the estimate of the precision matrix of the glasso model fitted using rho[k]
.
Adjan array of dimension \((p\times p\times\texttt{nrho})\). Adj[, , k]
is the adjacency matrix associated to Tht[, , k]
, i.e. Adj[i, j, k]
\(= 1\) iff Tht[i, j, k]
\(\neq 0\) and 0
otherwise.
dfthe \(nrho\)-dimensional vector reporting the number of non-zero partial correlation coefficients.
R2the \(nrho\)-dimensional vector reporting the values of the measure \(R^2\) described in the section Details.
ncompthe \(nrho\)-dimensional vector reporting the number of connected components (for internal purposes only).
Ckthe \((p\times\texttt{nrho})\)-dimensional matrix encoding the connected components (for internal purposes only).
pkthe \((p\times\texttt{nrho})\)-dimensional matrix reporting the number of vertices per connected component (for internal purposes only).
nitthe \(p\)-dimensional vector reporting the number of iterations.
conva description of the error that has occurred.
tracethe integer used for printing out information.