Package: betafunctions 1.9.0

betafunctions: Functions for Working with Two- And Four-Parameter Beta Probability Distributions and Psychometric Analysis of Classifications

Package providing a number of functions for working with Two- and Four-parameter Beta and closely related distributions (i.e., the Gamma- Binomial-, and Beta-Binomial distributions). Includes, among other things: - d/p/q/r functions for Four-Parameter Beta distributions and Generalized "Binomial" (continuous) distributions, and d/p/r- functions for Beta- Binomial distributions. - d/p/q/r functions for Two- and Four-Parameter Beta distributions parameterized in terms of their means and variances rather than their shape-parameters. - Moment generating functions for Binomial distributions, Beta-Binomial distributions, and observed value distributions. - Functions for estimating classification accuracy and consistency, making use of the Classical Test-Theory based 'Livingston and Lewis' (L&L) and 'Hanson and Brennan' approaches. A shiny app is available, providing a GUI for the L&L approach when used for binary classifications. For url to the app, see documentation for the LL.CA() function. Livingston and Lewis (1995) <doi:10.1111/j.1745-3984.1995.tb00462.x>. Lord (1965) <doi:10.1007/BF02289490>. Hanson (1991) <https://files.eric.ed.gov/fulltext/ED344945.pdf>.

Authors:Haakon Eidem Haakstad

betafunctions_1.9.0.tar.gz
betafunctions_1.9.0.zip(r-4.5)betafunctions_1.9.0.zip(r-4.4)betafunctions_1.9.0.zip(r-4.3)
betafunctions_1.9.0.tgz(r-4.4-any)betafunctions_1.9.0.tgz(r-4.3-any)
betafunctions_1.9.0.tar.gz(r-4.5-noble)betafunctions_1.9.0.tar.gz(r-4.4-noble)
betafunctions_1.9.0.tgz(r-4.4-emscripten)betafunctions_1.9.0.tgz(r-4.3-emscripten)
betafunctions.pdf |betafunctions.html
betafunctions/json (API)
NEWS

# Install 'betafunctions' in R:
install.packages('betafunctions', repos = c('https://haakoneidemhaakstad.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/haakoneidemhaakstad/betafunctions/issues

On CRAN:

3.18 score 1 packages 7 scripts 749 downloads 64 exports 0 dependencies

Last updated 14 days agofrom:720a6d7735. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winNOTENov 09 2024
R-4.5-linuxNOTENov 09 2024
R-4.4-winNOTENov 09 2024
R-4.4-macNOTENov 09 2024
R-4.3-winNOTENov 09 2024
R-4.3-macNOTENov 09 2024

Exports:afacAMSAUCBeta.2p.fitBeta.4p.fitBeta.gfx.poly.cdfBeta.gfx.poly.pdfBeta.gfx.poly.qdfBeta.tp.fitbetabinomialmomentsbetamedianbetamodebetamomentsbinomialmomentsBMScaStatscbaccStatsconfmatdBeta.4PdBeta.pBetadBeta.pBinomdBeta.pGammaBinomdBetaBinomdBetaMSdcBinomdfacdGammaBinomETLgchooseHB.beta.tp.fitHB.CAHB.CA.MCHB.ROCHB.tsmLABMSULL.CALL.CA.MCLL.ROCLords.kMC.out.tabularmdlfit.gfxmdoMLAMLBMLMobservedmomentspBeta.4PpBetaBinompBetaMSpcBinompGammaBinomqBeta.4PqBetaMSqGammaBinomR.ETLrBeta.4PrBetaBinomrBetacBinomrBetaMSrcBinomrGammaBinomtsmUABMSL

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Ascending (rising) factorial.afac
Alpha Shape-Parameter Given Location-Parameters, Mean, and Variance a Four-Parameter Beta Probability Density Distribution.AMS
Area Under the ROC Curve.AUC
Method of Moment Estimates of Shape-Parameters of the Two-Parameter (Standard) Beta Distribution.Beta.2p.fit
Method of Moment Estimates of Shape- and Location Parameters of the Four-Parameter Beta Distribution.Beta.4p.fit
Coordinate Generation for Marking an Area Under the Curve for the Beta Cumulative Probability Density Distribution.Beta.gfx.poly.cdf
Coordinate Generation for Marking an Area Under the Curve for the Beta Probability Density Distribution.Beta.gfx.poly.pdf
Coordinate Generation for Marking an Area Under the Curve for the Beta Quantile Density Distribution.Beta.gfx.poly.qdf
Estimate Beta true-score distribution based on observed-score raw-moments and the effective test length.Beta.tp.fit
Compute Moments of Beta-Binomial Probability Mass Functions.betabinomialmoments
Compute Median of Two- and Four-Parameter Beta Probability Density distribution.betamedian
Compute Mode of Two- and Four-Parameter Beta Probability Density distribution.betamode
Compute Moments of Two-to-Four Parameter Beta Probability Density Distributions.betamoments
Compute Moments of Binomial Probability Mass Functions.binomialmoments
Beta Shape-Parameter Given Location-Parameters, Mean, and Variance of a Four-Parameter Beta Probability Density Distribution.BMS
Classification Accuracy Statistics.caStats
Calculate Cronbach's Alpha reliability-coefficient from supplied variables.cba
Classification Consistency Statistics.ccStats
Confusion matrixconfmat
Probability Density under the Four-Parameter Beta Probability Density Distribution.dBeta.4P
An implementation of a Beta-density Compound Cumulative-Beta Distribution.dBeta.pBeta
An implementation of the Beta-density Compound Cumulative Binomial Distribution.dBeta.pBinom
An implementation of a Beta-density Compound Cumulative Gamma-Binomial Distribution.dBeta.pGammaBinom
Probability Mass under the Beta-Binomial Probability-Mass Distribution.dBetaBinom
Probability Mass function for Lord's Beta Compound Binomial Distribution.dBetacBinom
Density Under a Specific Point of the Beta Probability Density Distribution with Specific Location Parameters, Mean, and Variance.dBetaMS
Probability Mass function for Lord's Two-Term Approximation to the Compound Binomial Distribution.dcBinom
Descending (falling) factorial.dfac
Probability density function under the Gamma-extended Binomial distribution.dGammaBinom
Livingston and Lewis' "Effective Test Length".ETL
Gamma-extended Binomial coefficient (choose function).gchoose
Estimate Beta True-Score Distribution Based on Observed-Score Raw-Moments and Lord's k.HB.beta.tp.fit
An Implementation of the Hanson and Brennan Approach to Estimate Classification Consistency and Accuracy based on Observed Test Scores and Test Reliability.HB.CA
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.CA.MC
ROC curves for the Hanson and Brennan approach.HB.ROC
Proportional True-Score Distribution Raw Moments for the Hanson-Brennan Approach to Classification Accuracy and Consistency.HB.tsm
Lower Location Parameter Given Shape Parameters, Mean, Variance, and Upper Location Parameter of a Four-Parameter Beta Probability Density Distribution.LABMSU
An Implementation of the Livingston and Lewis (1995) Approach to Estimate Classification Consistency and Accuracy based on Observed Test Scores and Test Reliability.LL.CA
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.LL.CA.MC
ROC curves for the Livingston and Lewis approach.LL.ROC
Function for estimating "Lord's k" for Lord's two-term approximation to the compound binomial distribution.Lords.k
Tabular organization of accuracy and consistency output from the 'LL.CA.MC()' function.MC.out.tabular
Graphical presentation of model fit for the Beta-Binomial classification accuracy and consistency model.mdlfit.gfx
Calculate McDonald's Omega reliability-coefficient from supplied variables.mdo
Most Likely True Alpha Value Given Observed Outcome.MLA
Most Likely True Beta Value Given Observed Outcome.MLB
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).MLM
Compute Moments of Observed Value Distribution.observedmoments
Cumulative Probability Function under the Four-Parameter Beta Probability Density Distribution.pBeta.4P
Cumulative Probability Function under the Beta-Binomial Probability Distribution.pBetaBinom
Probability of Some Specific Observation under the Beta Probability Density Distribution with Specific Location Parameters, Mean, and Variance.pBetaMS
Cumulative Probability Mass function for Lord's Two-Term Approximation to the Compound Binomial Distribution.pcBinom
Cumulative probability density function under the Gamma-extended Binomial distribution.pGammaBinom
Quantile Given Probability Under the Four-Parameter Beta Distribution.qBeta.4P
Quantile Containing Specific Proportion of the Distribution, Given a Specific Probability of the Beta Probability Density Distribution with Specific Mean and Variance.qBetaMS
Quantile function for the Gamma-extended Binomial distribution.qGammaBinom
Model Implied Reliability from Livingston and Lewis' "Effective Test Length".R.ETL
Random Number Generation under the Four-Parameter Beta Probability Density Distribution.rBeta.4P
Random Number Generation under the Beta-Binomial Probability Mass Distribution.rBetaBinom
Random Number Generation under Lord's Beta Compound-Binomial Distribution.rBetacBinom
Random Draw from the Beta Probability Density Distribution With Specific Mean and Variance.rBetaMS
Random Number Generation under Lord's Two-Term Approximation to the Compound Binomial Distribution.rcBinom
Random number generation under the Gamma-extended Binomial distribution.rGammaBinom
Proportional true-score distribution raw moments from Livingston and Lewis' effective test-score and effective test-length.tsm
Upper Location Parameter Given Shape Parameters, Mean, Variance, and Lower Location Parameter of a Four-Parameter Beta Probability Density Distribution.UABMSL