Learn R Programming

sure (version 0.1.2)

df2: Simulated Heteroscedastic Data

Description

Data simulated from a probit model with heteroscedasticity. The data are described in Example 4 of Liu and Zhang (2017).

Usage

data(df2)

Arguments

Format

A data frame with 2000 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

Run this code
# NOT RUN {
head(df2)
# }

Run the code above in your browser using DataLab