Learn R Programming

GCCfactor (version 1.1.0)

vcov_global_comp: Get the variance estimates of the global component

Description

This function generates the variance estimates of the global component for the \(j\)-th individual in block \(i\) at time \(t\).

Usage

vcov_global_comp(object, i, j, t)

Value

The variance of the global component.

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.

t

An integer indicating the time.

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_global_comp_ijt <- vcov_global_comp(est_multi, i = 1, j = 1, t = 1)

Run the code above in your browser using DataLab