Data simulated from from an ordered probit model with an interaction effect.
A data frame with 2000 rows and 3 variables.
x1 A continuous predictor variable.
x2 A factor with two levels:
y The response variable; an ordered factor.
Liu, Dungang and Zhang, Heping. Residuals and Diagnostics for Ordinal Regression Models: A Surrogate Approach. Journal of the American Statistical Association (accepted).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.