Plot an estimated CUB model

Share:

Description

Plotting facility for the CUB estimation of ordinal responses.

Usage

1
cubvisual(m, ordinal, caption, labelpoint="estim", xlim, ylim)

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

caption

Characters string for the plot caption (default is "CUB models parameter space")

labelpoint

Characters string describing the label to give to the point estimates (default is "estim")

xlim

Numeric vectors of length 2, giving the x coordinate range (if missing, xlim=c(0,1))

ylim

Numeric vectors of length 2, giving the y coordinate range (if missing, ylim=c(0,1))

Details

The estimation is performed via cubforsim. It represents an estimated CUB model as a point in the parameter space with some useful options. If necessary, other estimated models may be added with the standard commands of the R environment (as points(.), for instance).

Value

A plot of the estimated parameter vector (π, ξ) as a point in the parameter space

Examples

1
2
3
4
data(univer)
m<-7
ordinal<-univer[,12] 
cubvisual(m, ordinal)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.