FixEf: The Fixed Effect of a Regression on Count Data.

Description Usage Arguments Value

View source: R/FixEf.R

Description

The Fixed Effect of a Regression on Count Data.

Usage

1
FixEf(x.vec, Q, lvl.cov, b, Des)

Arguments

x.vec

The observed vector of covariate for each category.

Q

The number of categories in a multivariate count outcome.

lvl.cov

A list containing the level of each covariate.

b

A vector containing estimates of covariate effects.

Des

A list containing two matrices, the first element is the left hand side of the equation. The second element is the design matrix. Could be a result from DesMat.

Value

A Q dimensional vector consisting of the expected values of Q categories given the x.vec.


IvonneMartin/CombinedMultinomial documentation built on Dec. 17, 2021, 11:32 p.m.