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 bernoulli

Usage

zresidual_bernoulli(fit, method = "iscv", nrep = 1)

Arguments

fit

A brm fit.

type

The component which the z-residuals should be calculated.