Hello - I'm sorry in advance if this is a basic question. I'm a beginner in Stata.
I'm trying to graph the wage trend for two groups - 1 & 2 - as to show there is a parallel trend for the period 2005-2010.
I used the code below:
However, I would also like to check the results in a graph controlling for the variables I have available (education, tenure, sector, region,...). The same way we would do when we include more variables in a regression, but applied to graph twoway. Is there a way to do this?
Thank you in advance.
I'm trying to graph the wage trend for two groups - 1 & 2 - as to show there is a parallel trend for the period 2005-2010.
I used the code below:
Code:
graph twoway (line logwage year if group==1) (line logwage year if group==2), /// legend(label(1 G1) label(2 G2))
Thank you in advance.
Comment