Learn R Programming

eggCounts (version 0.4-1)

update_theta_beta: Update a parameter $theta$ based on a beta distribution

Description

Update a parameter $theta$ based on a beta distribution

Usage

update_theta_beta(x, n, a, b)

Arguments

x
number of events
n
sample size
a
shape1 parameter of the beta prior for $theta$
b
shape2 parameter of the beta prior for $theta$

Value

  • updated parameter $theta$