mcmc_binary_superfast: Sample from the posterior predictive of a 1-d binary...

View source: R/popsim1d_superfast.R

mcmc_binary_superfastR Documentation

Sample from the posterior predictive of a 1-d binary population (very quickly)

Description

Sample from the posterior predictive of a 1-d binary population (very quickly)

Usage

mcmc_binary_superfast(obs, N, nsamples, a, b)

Arguments

obs

numeric vector representing the observed sample.

N

size of the population.

nsamples

number of samples to draw

a

first hyperparameter for beta prior

b

second hyperparameter for beta prior


ctgrubb/lemur.pack documentation built on May 7, 2023, 4:13 a.m.