MLB: Most Likely True Beta Value Given Observed Outcome.

View source: R/betafunctions.R

MLBR Documentation

Most Likely True Beta Value Given Observed Outcome.

Description

Assuming a prior standard (two-parameter) Beta Distribution, return the beta shape-parameter value where the observed mean becomes the mode.

Usage

MLB(alpha, beta, x = NULL, n = NULL)

Arguments

alpha

Observed alpha-parameter value for fitted Standard Beta Probability Density Distribution.

beta

Observed beta-parameter value for fitted Standard Beta Probability Density Distribution.

x

Observed proportion-correct outcome.

n

Test-length.

Value

The Beta shape-parameter value for the Standard Beta probability density distribution where the observed mean is the expected mode.

Examples

# Assuming a prior Standard (two-parameter) Beta distribution is fit, which
# yield an alpha parameter of 10 and a beta parameter of 8, calculate the
# true-beta parameter most likely to have produced the observations:
MLB(a = 10, b = 8)

betafunctions documentation built on May 29, 2024, 1:13 a.m.