Learn R Programming

CUB (version 0.1)

probbit: Probability distribution of a shifted Binomial random variable

Description

Return the shifted Binomial probability distribution.

Usage

probbit(m, csi)

Arguments

m
Number of ordinal categories
csi
Feeling parameter

Value

The vector of the probability distribution of a shifted Binomial model

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