Interface QuasiDistribution
-
- All Superinterfaces:
GLMExponentialDistribution
- All Known Implementing Classes:
QuasiBinomial
,QuasiGamma
,QuasiGaussian
,QuasiInverseGaussian
,QuasiPoisson
public interface QuasiDistribution extends GLMExponentialDistribution
This interface represents the quasi-distribution used in GLM.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
quasiDeviance(double y, double mu)
the quasi-deviance function corresponding to a single observationdouble
quasiLikelihood(double mu, double y)
the quasi-likelihood function corresponding to a single observation Q(μ; y)-
Methods inherited from interface dev.nm.stat.regression.linear.glm.distribution.GLMExponentialDistribution
AIC, cumulant, deviance, dispersion, overdispersion, theta, variance
-
-
-
-
Method Detail
-
quasiLikelihood
double quasiLikelihood(double mu, double y)
the quasi-likelihood function corresponding to a single observation Q(μ; y)- Parameters:
mu
- μy
- y- Returns:
- Q(μ; y)
- See Also:
- "P. J. MacCullagh and J. A. Nelder, Generalized Linear Models, 2nd ed. Chapter 9. Table 9.1. p.326."
-
quasiDeviance
double quasiDeviance(double y, double mu)
the quasi-deviance function corresponding to a single observation- Parameters:
y
- ymu
- μ- Returns:
- D(y; μ;)
- See Also:
- "P. J. MacCullagh and J. A. Nelder, Generalized Linear Models, 2nd ed. Chapter 9. Eq. 9.4., the integral form, p.327."
-
-