|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.regression.linear.Residuals
com.numericalmethod.suanshu.stats.regression.linear.glm.Residuals
public class Residuals
Residual analysis of the results of a Generalized Linear Model regression.
Overdispersion occurs when the observed variance of the data is larger than the predicted variance.
Deviance measures the goodness-of-fit of a model
| Field Summary | |
|---|---|
double |
deviance
deviance |
ImmutableVector |
devianceResiduals
deviances residuals |
protected double[] |
deviances
deviances of observations |
double |
overdispersion
overdispersion |
| Fields inherited from class com.numericalmethod.suanshu.stats.regression.linear.Residuals |
|---|
fitted, problem, residuals |
| Constructor Summary | |
|---|---|
protected |
Residuals(GlmProblem problem,
Vector fitted)
Perform the residual analysis for a GLM problem. |
| Method Summary | |
|---|---|
double[] |
deviances()
|
double |
overdispersion()
Compute the overdispersion of this GLM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final double overdispersion
public final double deviance
protected final double[] deviances
public final ImmutableVector devianceResiduals
| Constructor Detail |
|---|
protected Residuals(GlmProblem problem,
Vector fitted)
problem - the GLM problem to be solvedfitted - the fitted values| Method Detail |
|---|
public double overdispersion()
public double[] deviances()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||