CPS_X_array: Compute X matrix for CPS, array version

Description Usage Arguments Value Examples

View source: R/YF.R

Description

Compute X matrix for CPS, array version

Usage

1
CPS_X_array(months, vars, rgs, alpha = 1/length(rgs[[1]]))

Arguments

months

a named list with one element, this element being a character string vector

vars

a named list with one element, this element being a character string vector

rgs

a named list with one element, this element being a character string vector

alpha

(default 1/length(rgs[[1]])) a numeric value

Value

an array.

Examples

1
2
3
4
X<-CPS_X_array(months=list(m=paste(200501:200504)),
            vars=list(y=c("e","u","n")),
            rgs=list(hrmis=paste(1:8)))
dimnames(X)

DanielBonnery/CompositeRegressionEstimation documentation built on June 17, 2020, 12:16 p.m.