Learn R Programming

betafunctions is free open-source software and comes with absolutely no warranty.

If any bugs or errors are identified, please contact Haakon Eidem Haakstad at h.e.haakstad at gmail.com.

Suggestions for improvements and additional functionalities are welcome and encouraged.

Experimental versions and versions under development might be found at github: https://github.com/hthaa/betafunctions.

Copy Link

Version

Install

install.packages('betafunctions')

Monthly Downloads

725

Version

1.9.0

License

CC0

Maintainer

Haakon Haakstad

Last Published

March 6th, 2024

Functions in betafunctions (1.9.0)

Lords.k

Function for estimating "Lord's k" for Lord's two-term approximation to the compound binomial distribution.
LL.ROC

ROC curves for the Livingston and Lewis approach.
HB.beta.tp.fit

Estimate Beta True-Score Distribution Based on Observed-Score Raw-Moments and Lord's k.
HB.ROC

ROC curves for the Hanson and Brennan approach.
LL.CA

An Implementation of the Livingston and Lewis (1995) Approach to Estimate Classification Consistency and Accuracy based on Observed Test Scores and Test Reliability.
HB.tsm

Proportional True-Score Distribution Raw Moments for the Hanson-Brennan Approach to Classification Accuracy and Consistency.
LL.CA.MC

An Extension of the Livingston and Lewis (1995) Approach to Estimate Classification Consistency and Accuracy for Multiple Classifications based on Observed Test Scores and Test Reliability.
LABMSU

Lower Location Parameter Given Shape Parameters, Mean, Variance, and Upper Location Parameter of a Four-Parameter Beta Probability Density Distribution.
R.ETL

Model Implied Reliability from Livingston and Lewis' "Effective Test Length".
UABMSL

Upper Location Parameter Given Shape Parameters, Mean, Variance, and Lower Location Parameter of a Four-Parameter Beta Probability Density Distribution.
HB.CA

An Implementation of the Hanson and Brennan Approach to Estimate Classification Consistency and Accuracy based on Observed Test Scores and Test Reliability.
HB.CA.MC

An Extension of the Hanson and Brennan Approach to Estimate Classification Consistency and Accuracy for Multiple Classifications based on Observed Test Scores and Test Reliability.
MLA

Most Likely True Alpha Value Given Observed Outcome.
betabinomialmoments

Compute Moments of Beta-Binomial Probability Mass Functions.
afac

Ascending (rising) factorial.
betamedian

Compute Median of Two- and Four-Parameter Beta Probability Density distribution.
MC.out.tabular

Tabular organization of accuracy and consistency output from the LL.CA.MC() function.
dBeta.4P

Probability Density under the Four-Parameter Beta Probability Density Distribution.
betamode

Compute Mode of Two- and Four-Parameter Beta Probability Density distribution.
cba

Calculate Cronbach's Alpha reliability-coefficient from supplied variables.
caStats

Classification Accuracy Statistics.
dBeta.pBeta

An implementation of a Beta-density Compound Cumulative-Beta Distribution.
betamoments

Compute Moments of Two-to-Four Parameter Beta Probability Density Distributions.
mdo

Calculate McDonald's Omega reliability-coefficient from supplied variables.
observedmoments

Compute Moments of Observed Value Distribution.
binomialmoments

Compute Moments of Binomial Probability Mass Functions.
mdlfit.gfx

Graphical presentation of model fit for the Beta-Binomial classification accuracy and consistency model.
gchoose

Gamma-extended Binomial coefficient (choose function).
pBeta.4P

Cumulative Probability Function under the Four-Parameter Beta Probability Density Distribution.
pBetaBinom

Cumulative Probability Function under the Beta-Binomial Probability Distribution.
tsm

Proportional true-score distribution raw moments from Livingston and Lewis' effective test-score and effective test-length.
dcBinom

Probability Mass function for Lord's Two-Term Approximation to the Compound Binomial Distribution.
MLB

Most Likely True Beta Value Given Observed Outcome.
MLM

Most Likely Mean of the Standard Beta Probability Density Distribution, Given that the Observation is Considered the Most Likely Observation of the Standard Beta Probability Density Distribution (i.e., the mode).
pBetaMS

Probability of Some Specific Observation under the Beta Probability Density Distribution with Specific Location Parameters, Mean, and Variance.
dfac

Descending (falling) factorial.
pcBinom

Cumulative Probability Mass function for Lord's Two-Term Approximation to the Compound Binomial Distribution.
dBeta.pBinom

An implementation of the Beta-density Compound Cumulative Binomial Distribution.
dBeta.pGammaBinom

An implementation of a Beta-density Compound Cumulative Gamma-Binomial Distribution.
confmat

Confusion matrix
ccStats

Classification Consistency Statistics.
qBeta.4P

Quantile Given Probability Under the Four-Parameter Beta Distribution.
pGammaBinom

Cumulative probability density function under the Gamma-extended Binomial distribution.
dBetaBinom

Probability Mass under the Beta-Binomial Probability-Mass Distribution.
dBetaMS

Density Under a Specific Point of the Beta Probability Density Distribution with Specific Location Parameters, Mean, and Variance.
qGammaBinom

Quantile function for the Gamma-extended Binomial distribution.
qBetaMS

Quantile Containing Specific Proportion of the Distribution, Given a Specific Probability of the Beta Probability Density Distribution with Specific Mean and Variance.
dGammaBinom

Probability density function under the Gamma-extended Binomial distribution.
dBetacBinom

Probability Mass function for Lord's Beta Compound Binomial Distribution.
rBetaMS

Random Draw from the Beta Probability Density Distribution With Specific Mean and Variance.
rBetacBinom

Random Number Generation under Lord's Beta Compound-Binomial Distribution.
rBeta.4P

Random Number Generation under the Four-Parameter Beta Probability Density Distribution.
rBetaBinom

Random Number Generation under the Beta-Binomial Probability Mass Distribution.
rGammaBinom

Random number generation under the Gamma-extended Binomial distribution.
rcBinom

Random Number Generation under Lord's Two-Term Approximation to the Compound Binomial Distribution.
AMS

Alpha Shape-Parameter Given Location-Parameters, Mean, and Variance a Four-Parameter Beta Probability Density Distribution.
AUC

Area Under the ROC Curve.
Beta.gfx.poly.qdf

Coordinate Generation for Marking an Area Under the Curve for the Beta Quantile Density Distribution.
Beta.4p.fit

Method of Moment Estimates of Shape- and Location Parameters of the Four-Parameter Beta Distribution.
Beta.gfx.poly.cdf

Coordinate Generation for Marking an Area Under the Curve for the Beta Cumulative Probability Density Distribution.
Beta.gfx.poly.pdf

Coordinate Generation for Marking an Area Under the Curve for the Beta Probability Density Distribution.
BMS

Beta Shape-Parameter Given Location-Parameters, Mean, and Variance of a Four-Parameter Beta Probability Density Distribution.
ETL

Livingston and Lewis' "Effective Test Length".
Beta.tp.fit

Estimate Beta true-score distribution based on observed-score raw-moments and the effective test length.
Beta.2p.fit

Method of Moment Estimates of Shape-Parameters of the Two-Parameter (Standard) Beta Distribution.