Ordinal Model Effective Sample Size

ordESS(fit)

Arguments

fit

a model fitted by orm with y=TRUE, lpe=TRUE

Value

a ggplot2 object

Details

For a standard ordinal model fitted with orm, returns the effective sample size (ESS) component of the stats part of the fit object if there were no censored data. Otherwise ordESS assumes that y=TRUE and lpe=TRUE were given to orm, and an analysis of the effective sample size per censored observation is given, as a function of the censoring time, or in the case of interval censored data, o function of the width of the interval.

Author

Frank Harrell

Examples

if (FALSE) { # \dontrun{
f <- orm(Ocens(y1, y2) ~ x, y=TRUE, lpe=TRUE)
ordESS(f)
} # }