Hi,
I am running the following code
mlogit cq25 i.group [pweight = cq25pp], rrr
The dependent variable has three levels. It all works fine except Stata is choosing level 2 as the reference level for the dependent variable when I want level 1 to be the reference level.
I think Stata is doing this as level 1 has n = 80 and level 2 has n = 201 - a default for the larger n I guess.
I know independent variable reference levels can be changed with ib# but how can the dependent variable's reference level be chosen?
Don
Related Posts with Change reference category of dependent variable
Difference in Difference estimation on carbon emissions in STATA 17.Dear STATA community, I have some questions regarding my analysis for my DID estimation. I am looki…
changing bar color Code: local barcall upper activemonth_final if inrange(activemonth_final, `=tm(2018m6)', `=tm(2018m…
Choosing model specification: region*time FEs vs. country-specific time trendsHello! I am trying to find the effect of drought on agricultural production using a model of the fo…
How do I keep the lowest numeric value for a variable on an annual basis over time?I have a focused question. I am working in long format. One of my variables is called “new_diff_days…
Why inlist is limited to 250 argumentsI don't have a coding issue, I have more of a query about the inner workings of Stata. I'm using a s…
Subscribe to:
Post Comments (Atom)
0 Response to Change reference category of dependent variable
Post a Comment