public class QuasiGlmProblem extends GLMProblem
| Modifier and Type | Field and Description |
|---|---|
QuasiFamily |
quasiFamily
the quasi-quasiFamily distribution
|
family| Constructor and Description |
|---|
QuasiGlmProblem(DenseVector y,
Matrix X,
boolean addIntercept,
QuasiFamily quasiFamily)
Construct a quasi GLM problem.
|
QuasiGlmProblem(LMProblem problem,
QuasiFamily quasiFamily)
Construct a quasi GLM problem from a linear regression problem.
|
checkInputs, invOfwAtwA, nExogenousFactors, nFactors, nObs, Xpublic final QuasiFamily quasiFamily
public QuasiGlmProblem(DenseVector y, Matrix X, boolean addIntercept, QuasiFamily quasiFamily)
y - the dependent variablesX - the factorsaddIntercept - true if to add an intercept term to the linear regressionquasiFamily - the exponential family distribution for the mean with a quasi-likelihood functionpublic QuasiGlmProblem(LMProblem problem, QuasiFamily quasiFamily)
problem - a linear regression problemquasiFamily - the exponential family distribution for the mean with a quasi-likelihood function