Timeline for Specifying which category to treat as the base with 'statsmodels'
Current License: CC BY-SA 3.0
Post Revisions
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 11, 2025 at 21:03 | answer | added | Zeke Benshirim | timeline score: 0 | |
| Apr 28, 2021 at 19:33 | answer | added | Marcelo | timeline score: 3 | |
| Nov 30, 2020 at 6:20 | answer | added | vicpal | timeline score: 4 | |
| Jul 30, 2014 at 12:30 | comment | added | Rasmus Larsen | I don't understand this. Do you write e.g. C(Location, 'IndianOcean') if you want 'IndianOcean' to be the reference category from the variable 'Location'? | |
| Mar 16, 2014 at 16:54 | vote | accept | orome | ||
| Mar 16, 2014 at 16:53 | answer | added | jseabold | timeline score: 44 | |
| Mar 16, 2014 at 13:12 | comment | added | orome |
It seems that using C in the formula (as in ... + C(Location, Treatment) + ... does the trick, but this results in some pretty ugly category names that I'd like to avoid.
|
|
| Mar 16, 2014 at 0:28 | history | asked | orome | CC BY-SA 3.0 |