Skip to contents

A function to calculate z-residuals of a 'brm' fit. This function is to be used when the user needs to calculate the z-residuals of TNB/HNB

Usage

zresidual_negbinomial(fit, type = "NB", method = "iscv", nrep = 1)

Arguments

fit

A brm fit.

type

The component which the z-residuals should be calculated.