betafunctions (version 1.4.0)

MLB: 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 PDD.

beta

Observed beta-parameter value for fitted Standard Beta PDD.

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

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab