Class QuasiGLMProblem
java.lang.Object
dev.nm.stat.regression.linear.LMProblem
dev.nm.stat.regression.linear.glm.GLMProblem
dev.nm.stat.regression.linear.glm.quasi.QuasiGLMProblem
This class represents a quasi generalized linear regression problem.
-
Constructor Summary
ConstructorsConstructorDescriptionQuasiGLMProblem
(Vector y, Matrix X, boolean intercept, QuasiFamily quasiFamily) Constructs a quasi GLM problem.QuasiGLMProblem
(LMProblem problem, QuasiFamily quasiFamily) Constructs a quasi GLM problem from a linear regression problem. -
Method Summary
Methods inherited from class dev.nm.stat.regression.linear.glm.GLMProblem
getFamily
Methods inherited from class dev.nm.stat.regression.linear.LMProblem
A, checkInputs, intercept, invOfwAtwA, nExogenousFactors, nFactors, nObs, wA, weights, wy, X, y
-
Constructor Details
-
QuasiGLMProblem
Constructs a quasi GLM problem.- Parameters:
y
- the dependent variablesX
- the factorsintercept
-true
if to add an additional intercept term to the regressionquasiFamily
- the exponential family distribution for the mean with a quasi-likelihood function
-
QuasiGLMProblem
Constructs a quasi GLM problem from a linear regression problem.- Parameters:
problem
- a linear regression problemquasiFamily
- the exponential family distribution for the mean with a quasi-likelihood function
-
-
Method Details
-
family
Gets the quasi-family specification.- Returns:
- the quasi-family specification
-