Learn R Programming

CUB (version 1.1.5)

plotloglikihg: Plot of the log-likelihood function of the IHG distribution

Description

Plot the log-likelihood function of an IHG model fitted to a given absolute frequency distribution, over the whole support of the preference parameter. It returns also the ML estimate.

Usage

plotloglikihg(m,freq)

Arguments

m

Number of ordinal categories

freq

Vector of the absolute frequency distribution

See Also

loglikIHG

Examples

Run this code
m<-7
freq<-c(828,275,202,178,143,110,101)
max<-plotloglikihg(m,freq)

Run the code above in your browser using DataLab