public class QuasiGLMProblem extends GLMProblem
Constructor and Description |
---|
QuasiGLMProblem(LMProblem problem,
QuasiFamily quasiFamily)
Constructs a quasi GLM problem from a linear regression problem.
|
QuasiGLMProblem(Vector y,
Matrix X,
boolean intercept,
QuasiFamily quasiFamily)
Constructs a quasi GLM problem.
|
Modifier and Type | Method and Description |
---|---|
QuasiFamily |
family()
Gets the quasi-family specification.
|
getFamily
A, checkInputs, intercept, invOfwAtwA, nExogenousFactors, nFactors, nObs, wA, weights, wy, X, y
public QuasiGLMProblem(Vector y, Matrix X, boolean intercept, QuasiFamily quasiFamily)
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
functionpublic QuasiGLMProblem(LMProblem problem, QuasiFamily quasiFamily)
problem
- a linear regression problemquasiFamily
- the exponential family distribution for the mean with a quasi-likelihood
functionpublic QuasiFamily family()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.