alt_posterior: Compute the posterior probability of the alternative...

View source: R/alt_posterior.R

alt_posteriorR Documentation

Compute the posterior probability of the alternative hypothesis

Description

Maps a vector of p-values to a vector of posterior probabilities given a beta mixture model.

Usage

alt_posterior(p, mixm)

Arguments

p

A numeric vector of p-values

mixm

A betamix object representing the beta mixture model


stevehoang/pbayes documentation built on Feb. 16, 2024, 2:20 p.m.