public class Residuals extends Residuals
Overdispersion occurs when the observed variance of the data is larger than the predicted variance.
Deviance measures the goodness-of-fit of a model
| Modifier and Type | Field and Description |
|---|---|
double |
deviance
deviance
|
ImmutableVector |
devianceResiduals
deviances residuals
|
protected double[] |
deviances
deviances of observations
|
double |
overdispersion
overdispersion
|
| Modifier | Constructor and Description |
|---|---|
protected |
Residuals(GLMProblem problem,
Vector fitted)
Perform the residual analysis for a GLM problem.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
deviances() |
double |
overdispersion()
Compute the overdispersion of this GLM.
|
public final double overdispersion
public final double deviance
protected final double[] deviances
public final ImmutableVector devianceResiduals
protected Residuals(GLMProblem problem, Vector fitted)
problem - the GLM problem to be solvedfitted - the fitted values