View source: R/03_IFE_algorithm_functions.R
calculate_lgfg | R Documentation |
Returns list (with as length the number of groups) with lgfg (product of grouploadings and groupfactors). Each element of the list with the assumption that all individuals are in the same group k. This function is used to speed up code.
calculate_lgfg(
lambda_group,
factor_group,
S,
k,
kg,
num_factors_may_vary,
NN,
TT
)
lambda_group |
loadings of the estimated group specific factors |
factor_group |
estimated group specific factors |
S |
number of groups |
k |
number of common factors |
kg |
vector with the number of group specific factors for each group |
num_factors_may_vary |
whether or not the number of groupfactors is constant over all groups or not |
NN |
number of time series |
TT |
length of time series |
list with S elements: each element contains a matrix with NN rows and TT columns with the estimated group factor structure of this particular group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.