Dear all,
When creating a table summarising my regression results, I keep on receiving " 'if' clause not allowed within option command r199" error message. All I want is to combine 3 tables with 3 different regressions into one and then customise it - the code I am running is below
Could anyone kindly suggest how I can solve this problem? Thank you in advance!
When creating a table summarising my regression results, I keep on receiving " 'if' clause not allowed within option command r199" error message. All I want is to combine 3 tables with 3 different regressions into one and then customise it - the code I am running is below
Code:
table () () (), command(xtreg wages i.high_qual training_hrs if job_type==1, re vce(robust)) command(xtreg wages i.high_qual training_hr > s i.sex i.region i.age i.sector if job_type==1, re vce(robust)) command(xtreg wages i.high_qual training_hrs i.illness_disability i.sex > i.children i.general_health i.region i.age i.sector if job_type==1, re vce(robust))
Comment