public interface GLMLikelihoodFunction extends LikelihoodFunction
| Modifier and Type | Method and Description |
|---|---|
double |
getDevianceResidual(double y,
double mu,
double n)
Gets the deviance residual for a given observation.
|
double |
getLink(double mu)
Gets the value of the link function.
|
double |
getLinkInverse(double eta)
Gets the value of the inverse of the link function.
|
double |
getMuWrtEtaDerivative(double eta,
double n)
Gets the partial derivative of the fitted value (mu) with respect to link function (eta).
|
double |
getVariance(double mu,
double n)
Gets the variance for a given observation (equal to 2nd derivative of B wrt theta).
|
getCorrelationMatrix, getCovarianceMatrix, getGradientVector, getLog, getLog1stDeriv, getLog2ndDeriv, getSignatureBeta, getSigVarIndex, getSigVarIndexDictionary, getSigVarName, getSigVarNameDictionary, getStandardDeviationVector, getVarianceVectorgetGroupUsage, getInternalFunctionSettings, getUniqueName, getUsage, getVarGroupName, getVarName, intcp, n, ptotaldouble getLinkInverse(double eta)
eta - the value of the link function.double getLink(double mu)
mu - the fitted value (i.e. link inverse value).double getVariance(double mu,
double n)
mu - the fitted value (i.e. link inverse value).n - frequency/weight of the observation.double getDevianceResidual(double y,
double mu,
double n)
y - the observed target value.mu - the fitted value (i.e. link inverse value).n - frequency/weight of the observation.double getMuWrtEtaDerivative(double eta,
double n)
eta - the value of the link function.n - frequency/weight of the observation.