Learn R Programming

CUB (version 0.1)

bitcsi: Shifted Binomial probabilities of ordinal responses

Description

Compute the shifted Binomial probabilities of ordinal responses.

Usage

bitcsi(m, ordinal, csi)

Arguments

m
Number of ordinal categories
ordinal
Vector of ordinal responses
csi
Feeling parameter of the shifted Binomial distribution

Value

A vector of the same length as ordinal, where each entry is the shifted Binomial probability of the corresponding observation

References

Piccolo D. (2003). On the moments of a mixture of uniform and shifted binomial random variables, Quaderni di Statistica, 5, 85--104

See Also

probcub00, probcubp0, probcub0q

Examples

Run this code
data(univer)
m<-7
ordinal<-univer[,8]
csi<-0.7
pr<-bitcsi(m,ordinal,csi)

Run the code above in your browser using DataLab