plotloglikihg {CUB} | R Documentation |
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.
plotloglikihg(m,freq)
m |
Number of ordinal categories |
freq |
Vector of the absolute frequency distribution |
m<-7
freq<-c(828,275,202,178,143,110,101)
max<-plotloglikihg(m,freq)