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.hurdle.negbinomial(fit, type, method = "iscv", n.rep = 1)

Arguments

fit

is the fit object are from 'brms' package.

Value

  • ZresidZ-residual