Learn R Programming

FastCUB (version 0.0.4)

Fast Estimation of CUB Models via Louis' Identity

Description

For ordinal rating data, consider the accelerated EM algorithm to estimate and test models within the family of CUB models (where CUB stands for Combination of a discrete Uniform and a shifted Binomial distributions). The procedure is built upon Louis' identity for the observed information matrix. Best-subset variable selection is then implemented since it becomes more feasible from the computational point of view.

Copy Link

Version

Install

install.packages('FastCUB')

Monthly Downloads

178

Version

0.0.4

License

GPL-2 | GPL-3

Maintainer

Rosaria Simone

Last Published

July 24th, 2025

Functions in FastCUB (0.0.4)

fastcub0q

Main function for CUB models with covariates for the feeling component
inibestgama

Preliminary parameter estimates of a CUB model with covariates for feeling
univer

Evaluation of the Orientation Services 2002
loglikcub00

Log-likelihood function of a CUB model without covariates
probcubp0

Probability distribution of a CUB model with covariates for the uncertainty component
kkk

Sequence of combinatorial coefficients
invmatgen

Recursive computation of the inverse of a matrix
fastcubpq

Main function for CUB models with covariates for both the uncertainty and the feeling components
inibest

Preliminary estimators for CUB models without covariates
loglikcubpq

Log-likelihood function of a CUB model with covariates for both feeling and uncertainty
probcub0q

Probability distribution of a CUB model with covariates for the feeling component
fastcubp0

Main function for CUB models with covariates for the uncertainty component
vcov.fastCUB

S3 method vcov() for class "fastCUB"
logLik.fastCUB

logLik S3 Method for class "fastCUB"
loglikcubp0

Log-likelihood function of a CUB model with covariates for the uncertainty component
probcub00

Probability distribution of a CUB model without covariates
relgoods

Relational goods and Leisure time dataset
summary.fastCUB

S3 method: summary for class "fastCUB"
loglikcub0q

Log-likelihood function of a CUB model with covariates for the feeling component
fastcub00

Main function for CUB models without covariates
logis

The logistic transform
probcubpq

Probability distribution of a CUB model with covariates for both feeling and uncertainty
makeplot

Plot facilities for fastCUB objects
parnames

Generic function for coefficient names
probbit

Probability distribution of a shifted Binomial random variable
print.fastCUB

S3 method: print for class "fastCUB"
bestcub

Best-subset variable selection for CUB models via fast EM algorithm
Hadprod

Hadamard product of a matrix with a vector
fastCUB_package

fastCUB package
bitcsi

Shifted Binomial probabilities of ordinal responses
BIC.fastCUB

S3 BIC method for class "fastCUB"
bitgama

Shifted Binomial distribution with covariates
cormat

Correlation matrix for estimated model
coef.fastCUB

S3 Method: coef for class "fastCUB"
fastCUB

Main function for fast estimation CUB models
decomp

Louis' identity for the observed information matrix of the incomplete problem for CUB models
effe01

Auxiliary function for the log-likelihood estimation of CUB models
effe10

Auxiliary function for the log-likelihood estimation of CUB models
dissim

Normalized dissimilarity measure
fitted.fastCUB

S3 method "fitted" for class "fastCUB"