Learn R Programming

WH (version 1.1.2)

compute_res_deviance: Deviance Residuals for Poisson GLM

Description

Deviance Residuals for Poisson GLM

Usage

compute_res_deviance(D, D_hat)

Value

A vector or matrix (depending on the input type, will be a matrix if at least one of the input is) containing the deviance residuals

Arguments

D

Vector or matrix containing the number of observed events

D_hat

Vector or matrix containing the number of predicted events