Learn R Programming

GCCfactor (version 1.1.0)

vcov_global_loading: Get the covariance estimates for the global factor loadings

Description

This function generates the covariance estimates for the global factor loadings for the \(j\)-th individual in block \(i\).

Usage

vcov_global_loading(object, i, j)

Value

An \(r_{0} \times r_{0}\) covariance matrix.

Arguments

object

An S3 object of class 'multi_result' created by [multilevel()].

i

An integer indicating the \(i\)-th block.

j

An integer indicating the \(j\)-th individual in the \(i\)-th block.

Examples

Run this code

panel <- UKhouse # load the data
est_multi <- multilevel(panel, ic = "BIC3", standarise = TRUE, r_max = 5,
                           depvar_header = "dlPrice", i_header = "Region",
                           j_header = "LPA_Type", t_header = "Date")
vcov_gamma_11 <- vcov_global_loading(est_multi, i = 1, j = 1)

Run the code above in your browser using DataLab