R6 class for a generic normal model
R6 class for a generic normal model
Public fields
Y
the matrix of responses
X
the matrix of covariates
X0
the matrix of zero-inflation covariates, if applicable
n
sample size
d
number of covariates
d0
number of zero-inflation covariates, if applicable
p
number of variables
XtXm1
inverse of XtX, useful for inference
XtY
useful for inference
npY
total number of non zeros in Y
nY
total number of non zeros for each column/variable in Y
zeros
where are the zero in Y
zeros_bar
where are the non-zeros in Y