SuanShu, a Java numerical and statistical library

Class GeneralizedLinearModelQuasiFamily

  extended by com.numericalmethod.suanshu.stats.regression.linear.glm.quasi.GeneralizedLinearModelQuasiFamily
All Implemented Interfaces:

public class GeneralizedLinearModelQuasiFamily
extends Object
implements LinearModel

GLM for the quasi-families. In order to construct a likelihood function it is usually necessary to posit a probabilistic mechanism specifying, for a range of parameter values, the probabilities of all relevant samples that might possibly have been observed. Such a specification implies the knowledge of the mechanism by which the data were generated or substantial experience of similar data from previous experiments. Often, this knowledge is not available. We may, however, be able to specify the range of possible response values and past experience with similar data is usually sufficient to specify, in a qualitative fashion, a few additional characteristic features of the data. From these characteristics, we may construct a quasi-likelihood function.

Note that AIC is not computed for the quasi-GLM because there is no 'real' likelihood function.

See Also:
"P. J. MacCullagh and J. A. Nelder, "Chapter 9, An algorithm for fitting generalized linear models," in Generalized Linear Models, 2nd ed."

Constructor Summary
GeneralizedLinearModelQuasiFamily(QuasiGLMProblem problem)
          Constructs a GeneralizedLinearModelQuasiFamily instance.
Method Summary
 QuasiGLMBeta beta()
          Gets the GLM coefficient estimator, β^.
 double Ey(Vector x)
          Computes the expectation \(E(y(x))\) given an input.
 QuasiGLMResiduals residuals()
          Gets the residual analysis.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public GeneralizedLinearModelQuasiFamily(QuasiGLMProblem problem)
Constructs a GeneralizedLinearModelQuasiFamily instance.

problem - the quasi generalized linear regression problem to be solved
Method Detail


public double Ey(Vector x)
Description copied from interface: LinearModel
Computes the expectation \(E(y(x))\) given an input.

Specified by:
Ey in interface LinearModel
x - an input


public QuasiGLMBeta beta()
Gets the GLM coefficient estimator, β^.

Specified by:
beta in interface LinearModel
the GLM coefficient estimator, β^


public QuasiGLMResiduals residuals()
Gets the residual analysis.

Specified by:
residuals in interface LinearModel
the residual analysis

Copyright © 2010-2015 Numerical Method Incorporation Limited. All Rights Reserved.