dot-calculate_residuals: Calculate residuals based on the specified type

.calculate_residualsR 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


gkwreg documentation built on April 16, 2025, 1:10 a.m.