cubshevisual function

Plot an estimated CUB model with shelter

Plot an estimated CUB model with shelter

Plotting facility for the CUB estimation of ordinal responses when a shelter effect is included

cubshevisual(ordinal,shelter,csiplot=FALSE,paiplot=FALSE,...)

Arguments

  • ordinal: Vector of ordinal responses

  • shelter: Category corresponding to the shelter choice

  • csiplot: Logical: should ξ\xi or 1ξ1-\xi be the yy coordinate

  • paiplot: Logical: should π\pi or 1π1-\pi be the xx coordinate

  • ...: Additional arguments to be passed to plot() and text(). Optionally, the number m

    of ordinal categories may be passed: this is recommended if some category has zero frequency.

Returns

For a CUB model with shelter fitted to ordinal, by default it returns a plot of the estimated (1π,1ξ)(1-\pi, 1-\xi) as a point in the parameter space, labeled with the estimated shelter parameter δ\delta. Depending on csiplot and paiplot and on desired output, xx and yy coordinates may be set to π\pi and ξ\xi, respectively.

Details

It represents an estimated CUB model with shelter effect as a point in the parameter space with shelter estimate indicated as label.

Examples

data(univer) ordinal<-univer$global cubshevisual(ordinal,shelter=7,digits=3,col="blue",main="Global Satisfaction")

See Also

cubvisual, multicub

  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links