Learn R Programming

GCCfactor (version 1.1.0)

vcov_local_loading: Get the covariance estimates for the local factor loadings

Description

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

Usage

vcov_local_loading(object, i, j)

Value

An \(r_{i} \times r_{i}\) 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_local_loading_11 <- vcov_local_loading(est_multi, i = 1, j = 1)

Run the code above in your browser using DataLab