Data simulated from from two separate probit models. The data are described in Example 5 of Liu and Zhang (2017).

data(df4)

Format

A data frame with 4000 rows and 2 variables.

  • x The predictor variable.

  • y The response variable; an ordered factor.

References

Liu, Dungang and Zhang, Heping. Residuals and Diagnostics for Ordinal Regression Models: A Surrogate Approach. Journal of the American Statistical Association (accepted).

Examples

head(df4)
#> y x #> 1 2 1.6293808 #> 2 1 2.0486449 #> 3 3 -0.7029321 #> 4 3 -0.3097907 #> 5 2 1.5230606 #> 6 3 0.9881845