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 TP/HP

Usage

Zresidual.hurdle.poisson(fit, type, method = "iscv", n.rep = 1)

Arguments

fit

is the fit object are from 'brms' package.

Value

  • Zresid Z-residual