Description Usage Arguments Value Functions
View source: R/compute_estimated_n.R
Estimate the Degrees of Freedom of a model by projecting the theoretical variance on the estimated (empirical) variance. When using compute_estimated_n, the theoretical variance is computed using corrmat_covariance
1 2 3 | compute_estimated_n_raw(est, theo, only_diag = FALSE)
compute_estimated_n(obj, only_diag = TRUE)
|
est |
the empirical covariance matrix, n^{-1}≤ft(Y-\hat{μ}\right)≤ft(Y-\hat{μ}\right)^{t} |
theo |
the theoretical covariance matrix |
only_diag |
logical, whether to use only the diagonal (variances) or the whole matrix. Default FALSE |
obj |
array of correlation matrices or a matrix of diagnolized correlation matrices. |
the result of the projection of theo ~ est
compute_estimated_n_raw
: internal function of compute_estimated_n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.