Description Usage Arguments Value Examples
Compute the Moore penrose general inverse of a the X matrix for CPS, array version
1 | CPS_Xplus_array(months, vars, rgs, alpha = 1/length(rgs[[1]]))
|
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 |
a numeric value |
an array.
1 2 3 4 5 6 7 8 9 | X<-CPS_X_array(months=list(m=paste(200501:200504)),
vars=list(y=c("e","u","n")),
rgs=list(hrmis=paste(1:8)),1/2)
Xplus<-CPS_Xplus_array(months=list(m=paste(200501:200504)),
vars=list(y=c("e","u","n")),
rgs=list(hrmis=paste(1:8)),1/2)
arrayproduct::"%.%"(Xplus,X,
I_A=list(c=integer(0),n=c("y2","m2"),p=c("y","hrmis","m")),
I_B=list(c=integer(0),p=c("y","hrmis","m"),q=c("y2","m2")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.