bayesMultinomialPrediction {fabPrediction} | R Documentation |
This function computes the Bayesian prediction set for a multinomial conjugate family.
bayesMultinomialPrediction(
Y,
alpha = 0.15,
gamma = rep(1, length(Y)),
category_names = 1:length(Y)
)
Y |
Observed data vector of length K containing counts of observations from each of the K categories |
alpha |
Prediction mis-coverage rate |
gamma |
Dirichlet prior concentration for the K categories |
category_names |
Category names (optional) |
pred object