Learn R Programming

CUB (version 1.1.5)

probbit: Probability distribution of a shifted Binomial random variable

Description

Return the shifted Binomial probability distribution.

Usage

probbit(m,csi)

Value

The vector of the probability distribution of a shifted Binomial model.

Arguments

m

Number of ordinal categories

csi

Feeling parameter

See Also

bitcsi, probcub00

Examples

Run this code
m<-7
csi<-0.7
pr<-probbit(m,csi)
plot(1:m,pr,type="h",main="Shifted Binomial probability distribution",xlab="Categories")
points(1:m,pr,pch=19)

Run the code above in your browser using DataLab