calculateScoreResiduals | R Documentation |
Computes score residuals based on the numerical derivative (score) of the log-likelihood with respect to the observation.
calculateScoreResiduals(y, fitted, params, family = "gkw")
y |
NumericVector of observations. |
fitted |
NumericVector of fitted values (means). |
params |
NumericMatrix with parameters (columns: alpha, beta, gamma, delta, lambda). |
family |
String specifying the distribution family (default: "gkw"). |
NumericVector of score residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.