plotloglikihg {CUB}R Documentation

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

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

[Package CUB version 1.1.4 Index]