# Regression using Categorical variables

**URL:** https://discourse.julialang.org/t/regression-using-categorical-variables/7521
**Category:** General Usage
**Tags:** dataframes, glm
**Created:** [December 5, 2017, 11:01am UTC](https://discourse.julialang.org/t/regression-using-categorical-variables/7521 "2017-12-05T11:01:08Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [December 5, 2017, 1:34pm UTC](https://discourse.julialang.org/t/regression-using-categorical-variables/7521/6 "2017-12-05T13:34:19Z")

</div>

> [@lukaebby](#):
>
> And I am sorry that I did not understand what you meant by this “(Please use triple backquotes around code blocks so that they are rendered as such.)”

> [@PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530):
>
> This is a short post on how to use backticks (` and ```) to quote code, so it is easy to read. This post can be linked to new users who are confused by this feature. Why By quoting your code, you get a monospaced font (which preserves indentation) and syntax highlighting. This makes it easier to read your code and help you. Displayed code looks like this: function displayed\_code(x::Int, y::Int) if x \< y println("x is smaller") else println("or not") end end Inline…

You can still edit your comment.

---

_[View the full topic](https://discourse.julialang.org/t/regression-using-categorical-variables/7521)._
