Hi All,

I wanted to run an ordered regression, where my outcome variable (Y) takes on the three values in descending order 3 < 2 <1.

As it stands my Y variable is a single column variable n = 9000, and with levels ranging 1-3. However, I've noticed that in some ordered settings, the dependent variable takes on vector such as in Section 4.1 https://imai.fas.harvard.edu/software/files/MNP.pdf

Therefore, I wondered if it is possible to transform a variable into a vector of factor levels, or if prior to doing so you'd have to one-hot code the variable and then specify as a vector?

Any feedback would be appreciated