public class GLMProblem extends LMProblem
| Modifier and Type | Field and Description |
|---|---|
Family |
family
the exponential family distribution for the mean
|
| Constructor and Description |
|---|
GLMProblem(LMProblem problem,
Family family)
Construct a GLM problem from a linear regression problem.
|
GLMProblem(Vector y,
Matrix X,
boolean addIntercept,
Family family)
Construct a GLM problem.
|
checkInputs, invOfwAtwA, nExogenousFactors, nFactors, nObs, Xpublic final Family family
public GLMProblem(Vector y, Matrix X, boolean addIntercept, Family family)
y - the dependent variablesX - the factorsaddIntercept - true if to add an intercept term to the linear regressionfamily - the exponential family distribution for the mean