.calculate_residuals {gkwreg} | R Documentation |
Calculate residuals based on the specified type
Description
Calculate residuals based on the specified type
Usage
.calculate_residuals(y_obs, fitted_vals, param_mat, type, family)
Arguments
y_obs |
Vector of observed values |
fitted_vals |
Vector of fitted values |
param_mat |
Matrix of calculated parameters |
type |
Character string specifying residual type |
family |
Character string specifying distribution family |
Value
A vector of residuals
[Package gkwreg version 1.0.10 Index]