data25j4 | R Documentation |
p = 0.25
(i.e., 25th quantile)Simulated data from the OR1 model for p = 0.25
(i.e., 25th quantile)
data(data25j4)
This data contains 500 observations generated from a quantile
ordinal model with 4 outcomes at the 25th quantile (i.e., p = 0.25
).
The model specifics for generating the data are as follows: \beta = (-4, 5, 6)
, X ~ Unif(0, 1), and
\epsilon
~ AL(0, \sigma = 1, p = 0.25
). The cut-points (0, 2, 4)
are used to classify the
continuous values of the dependent variable into 4 categories, which form the ordinal outcomes.
Returns a list with components
x : |
a matrix of covariates, including a column of ones. |
y : |
a column vector of ordinal outcomes. |
Rahman, M. A. (2016). '"Bayesian Quantile Regression for Ordinal Models."' Bayesian Analysis, 11(1): 1-24. DOI: 10.1214/15-BA939
Yu, K., and Zhang, J. (2005). '"A Three-Parameter Asymmetric Laplace Distribution."' Communications in Statistics - Theory and Methods, 34(9-10), 1867-1879. DOI: 10.1080/03610920500199018
mvrnorm, Asymmetric Laplace Distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.