ordESS | R Documentation |
Ordinal Model Effective Sample Size
ordESS(fit)
fit |
a model fitted by |
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.
a ggplot2
object
Frank Harrell
## Not run:
f <- orm(Ocens(y1, y2) ~ x, y=TRUE, lpe=TRUE)
ordESS(f)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.