Dear Stata expert,
I am estimating the below model where the coefficients of interest are "POSTGRAD" + "POSTGRAD#SUBJECT" which aims to capture the wage advantage to a postgraduate of studying a particular subject. The omitted subject dummy is subject 11(=Education). To capture the overall effect, I am using the "lincom" command to add the relevant coefficients together. My goal is to display these combined point estimates and confidence intervals in a coefplot. This a categorical by categorical interaction and I am using the most up to date version of Stata.
Code:
reg LOGHOURPAY i.POSTGRAD##ib11.SUBJECT AGE AGESQ MALE i.REGION FULLTIME i.TENURE i.BIRTHCOHORT i.MARRIED ETHNICITY BADHEALTH i.year, robust
lincom 1.POSTGRAD + 1.POSTGRAD#1.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#2.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#2.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#3.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#4.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#5.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#6.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#7.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#8.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#9.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#10.SUBJECT
lincom 1.POSTGRAD + 0
Any help would be greatly appreicated
I am estimating the below model where the coefficients of interest are "POSTGRAD" + "POSTGRAD#SUBJECT" which aims to capture the wage advantage to a postgraduate of studying a particular subject. The omitted subject dummy is subject 11(=Education). To capture the overall effect, I am using the "lincom" command to add the relevant coefficients together. My goal is to display these combined point estimates and confidence intervals in a coefplot. This a categorical by categorical interaction and I am using the most up to date version of Stata.
Code:
reg LOGHOURPAY i.POSTGRAD##ib11.SUBJECT AGE AGESQ MALE i.REGION FULLTIME i.TENURE i.BIRTHCOHORT i.MARRIED ETHNICITY BADHEALTH i.year, robust
lincom 1.POSTGRAD + 1.POSTGRAD#1.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#2.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#2.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#3.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#4.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#5.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#6.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#7.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#8.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#9.SUBJECT
lincom 1.POSTGRAD + 1.POSTGRAD#10.SUBJECT
lincom 1.POSTGRAD + 0
Any help would be greatly appreicated
Comment