Skip to contents

Not called directly. brms invokes this when posterior_epred is called on a model fitted with hurdle_acat. Returns an \(S \times N \times K\) array of category probabilities, where slot 1 is \(hu = P(Y = 0)\) and slots \(2..K\) are \((1 - hu) \cdot P_{sev}(k)\) for \(k = 1, \ldots, K - 1\).

Usage

posterior_epred_hurdle_acat(prep)

Arguments

prep

A brms prep object (supplied by brms).

Value

A numeric \(S \times N \times K_{total}\) array of category probabilities.

Author

Kristoffer Magnusson