Hello,
I have generated a dummy variable "cellar" with has 3 answers: 1 large basement, 2 small basement or 3 crawl space, using:
Code:
tab cellar, gen(c)
To use regression with the dependent variable logprice (=houseprice), should I use:
Code:
reg logprice i.cellar
or
Code:
reg logprice c2 c3
and c1 should be left out and is the base group.
Which one is correct?
Thanks in advance.
Related Posts with Regress dummy variable correctly
Marginal Effects for Bivariate Random Effects ProbitHi, I am in the process of trying to run a Bivariate Random Effects Probit (Plum, 2016) to analyse …
Fixed Effects & Ordered Probit (RE) for same panel?Hey Folks! I hope I am not getting too annoying with my questions. I have encountered the following…
plotting confidence intervals in stataDear All, i have risk ratios for a disease with their confidence intervals by age group and i am plo…
Panel threshold regressionDear all, I am trying to do panel threshold regression developed by Hansen(1999). Our dependent vari…
Threshold, Gaps Not allowedI am working with threshold regression: I have quarterly data (strongly balanced) Stock_return=const…
Subscribe to:
Post Comments (Atom)
0 Response to Regress dummy variable correctly
Post a Comment