Hello,
I have generated a dummy variable "cellar" with has 3 answers: 1 large basement, 2 small basement or 3 crawl space, using:
To use regression with the dependent variable logprice (=houseprice), should I use:
or
and c1 should be left out and is the base group.
Which one is correct?
Thanks in advance.
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)
Code:
reg logprice i.cellar
Code:
reg logprice c2 c3
Which one is correct?
Thanks in advance.
Comment