runehaubo / ordinal

R package ordinal: Regression Models for Ordinal Data
Other
33 stars 12 forks source link

Specify nominal comparisons #26

Closed banamwana closed 4 years ago

banamwana commented 4 years ago

Thanks very much for developing and maintaining this package. I am finding it very useful for modelling enteric infections and duration of illness.

Is there a way in clm to specify comparisons for the response levels in a nominal model? Specifically, I would like to compare all levels of the response to a reference level, as 0|1, 0|2, 0|3 etc.

Reading through the vignettes, I didn't find any examples of this.

Thanks!!

runehaubo commented 4 years ago

Hmm, no, I don't think that falls within the scope of ordinal models. You might be in need of a multinomial model, see eg. nnet::multinom.

Cheers Rune