# Is there any way to choose a referent other than the lowest value in a regression?

**URL:** https://discourse.julialang.org/t/is-there-any-way-to-choose-a-referent-other-than-the-lowest-value-in-a-regression/5464
**Category:** Statistics
**Created:** [August 19, 2017, 4:53pm UTC](https://discourse.julialang.org/t/is-there-any-way-to-choose-a-referent-other-than-the-lowest-value-in-a-regression/5464 "2017-08-19T16:53:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mwsohn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mwsohn/32/2696_2.png) [@mwsohn](https://discourse.julialang.org/u/mwsohn)
#### Post date: [August 19, 2017, 4:53pm UTC](https://discourse.julialang.org/t/is-there-any-way-to-choose-a-referent-other-than-the-lowest-value-in-a-regression/5464/1 "2017-08-19T16:53:08Z")

</div>

I have a dependent variable with three levels with values 1, 2, and 3. Is there a simple way to use 2 as the omitted (reference) category instead of 1 in a GLM model, perhaps in a @formula macro?
