Learn R Programming

⚠️There's a newer version (1.9.0) of this package.Take me there.

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

421

Version

1.8.1

License

CC0

Maintainer

Haakon Haakstad

Last Published

December 4th, 2022

Functions in betafunctions (1.8.1)

LL.ROC

ROC curves for the Livingston and Lewis approach.
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.
HB.ROC

ROC curves for the Hanson and Brennan approach.
MLM

Most Likely Mean of the Standard Beta PDD, Given that the Observation is Considered the Most Likely Observation of the Standard Beta PDD (i.e., the mode).
MLB

Most Likely True Beta Value Given Observed Outcome.
afac

Ascending (rising) factorial.
betabinomialmoments

Compute Moments of Beta-Binomial Probability Mass Functions.
Lords.k

Function for estimating "Lord's k" for Lord's two-term approximation to the compound binomial distribution.
HB.beta.tp.fit

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

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

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

Classification Accuracy Statistics.
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.
dBetacBinom

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

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

Compute Median of Two- and Four-Parameter Beta Probability Density distribution.
binomialmoments

Compute Moments of Binomial Probability Mass Functions.
dBetaBinom

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

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

Density Under a Specific Point of the Standard Beta PDD with Specific Mean and Variance or Standard Deviation.
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.
mdlfit.gfx

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

Gamma-extended Binomial coefficient (choose function).
betamode

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

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

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

Probability of Some Specific Observation under the Standard Beta PDD with Specific Mean and Variance.
rcBinom

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

Upper Location Parameter Given Shape Parameters, Mean, Variance, and Lower Location Parameter of a Four-Parameter Beta PDD.
dBeta.pBinom

An implementation of the Beta-density Compound Cumulative Binomial Distribution.
R.ETL

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

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

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

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

Confusion matrix
ccStats

Classification Consistency Statistics.
dfac

Descending (falling) factorial.
mdo

Calculate McDonald's Omega reliability-coefficient from supplied variables.
pBeta.4P

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

Compute Moments of Observed Value Distribution.
pBetaBinom

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

Lower Location Parameter Given Shape Parameters, Mean, Variance, and Upper Location Parameter of a Four-Parameter Beta PDD.
rBetaMS

Random Draw from the Standard Beta PDD 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.
qBetaMS

Quantile Containing Specific Proportion of the Distribution, Given a Specific Probability of the Standard Beta PDD with Specific Mean and Variance or Standard Deviation.
tsm

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

Quantile function for the Gamma-extended Binomial distribution.
rBetaBinom

Random Number Generation under the Beta-Binomial Probability Mass Distribution.
MC.out.tabular

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

An implementation of a Beta-density Compound Cumulative-Beta Distribution.
dBeta.4P

Probability Density under the Four-Parameter Beta PDD.
MLA

Most Likely True Alpha Value Given Observed Outcome.
pcBinom

Cumulative Probability Mass function for Lord's Two-Term Approximation to the Compound Binomial Distribution.
qBeta.4P

Quantile Given Probability Under the Four-Parameter Beta Distribution.
Beta.2p.fit

Method of Moment Estimates of Shape-Parameters of the Two-Parameter (Standard) Beta 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.
AUC

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

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

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

Beta Shape-Parameter Given Location-Parameters, Mean, Variance, Skewness, Kurtosis and Alpha Shape-Parameter of a Four-Parameter Beta PDD.
Beta.tp.fit

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

Livingston and Lewis' "Effective Test Length".
AMS

Alpha Shape-Parameter Given Location-Parameters, Mean, Variance, Skewness, Kurtosis and Beta Shape-Parameter of a Four-Parameter Beta PDD.