MLA: Most Likely True Alpha Value Given Observed Outcome.

View source: R/betafunctions.R

MLAR Documentation

Most Likely True Alpha Value Given Observed Outcome.

Description

Given a fitted Standard (two-parameter) Beta Distribution, return the alpha shape-parameter value where the observed mean becomes the mode.

Usage

MLA(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 Alpha 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-alpha parameter most likely to have produced the observations:
MLA(a = 10, b = 8)

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