df5: Simulated interaction data

df5R Documentation

Simulated interaction data

Description

Data simulated from from an ordered probit model with an interaction effect.

Usage

data(df5)

Format

A data frame with 2000 rows and 3 variables.

  • x1 A continuous predictor variable.

  • x2 A factor with two levels: "Control" and "Treatment".

  • 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(df5)

AFIT-R/ordr documentation built on April 13, 2025, 5:14 a.m.