beta_binomial2_lpmf {bayesnec}R Documentation

beta_binomial2_lpmf

Description

Beta-binomial wrapper LPMF

Usage

beta_binomial2_lpmf(y, mu, phi, trials)

Arguments

y

vector of observation successes.

mu

posterior mu.

phi

posterior phi.

trials

vector of observation trials.

Value

A numeric value or vector containing the probability density of the beta binomial distribution


[Package bayesnec version 2.0.2 Index]