betafunctions (version 1.4.0)

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

beta

Observed beta-parameter value for fitted Standard Beta PDD.

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

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

Run the code above in your browser using DataCamp Workspace