Learn R Programming

CUB (version 1.1.5)

bitcsi: Shifted Binomial probabilities of ordinal responses

Description

Compute the shifted Binomial probabilities of ordinal responses.

Usage

bitcsi(m,ordinal,csi)

Value

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

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

csi

Feeling parameter of the shifted Binomial distribution

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
csi<-0.7
ordinal<-univer$informat
pr<-bitcsi(m,ordinal,csi)

Run the code above in your browser using DataLab