Skip to contents

Extracts the posterior distribution of the overall (population-weighted) probability from a fitted BHF model.

Usage

overall_estimate(fit, prob = 0.95)

Arguments

fit

An object of class bhf_fit from bhf_fit().

prob

Numeric. Probability for credible interval. Default is 0.95.

Value

A list with components:

mean

Posterior mean

sd

Posterior standard deviation

q025

Lower credible interval bound

q500

Posterior median

q975

Upper credible interval bound