View source: R/utilities_other.R
findrestrict | R Documentation |
In factor SV models, the identification of the factor loadings matrix is often chosen through a preliminary static factor analysis. After a maximum likelihood factor model is fit to the data, variables are ordered as follows: The variable with the lowest loadings on all factors except the first (relative to it) is determined to lead the first factor, the variable with the lowest loadings on all factors except the first two (relative to these) is determined to lead the second factor, etc.
findrestrict(dat, factors, transload = abs, relto = "all")
dat |
Matrix containing the data, with |
factors |
Number of factors to be used. |
transload |
Function for transforming the estimated factor loadings before ordering. Defaults to the absolute value function. |
relto |
Can be 'none', 'current' or 'all'. If 'none', the series with the highest loadings is placed first, the series with the second highest is placed second, and so on. If 'current', the current factor loading is used as a reference, if 'all', all previous loadings are summed up to be the reference. |
A m
times factors
matrix indicating
the restrictions.
This function is automatically invoked by fsvsample if restrict is set to 'auto'.
ledermann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.