I created the below plot using this code
coefplot (reg1_1, label(CZ and YQ FE)) ///
(reg1_2, label(CZ, YQ and Occupation FE)) ///
(reg1_3, label(CZ and Occupation-by-YQ FE)) ///
(reg1_4, label(CZ, Occupation-by-YQ and Employer FE)), bylabel(Full Sample) ///
||(reg2_1, label(CZ and YQ FE)) ///
(reg2_2, label(CZ, YQ and Occupation FE)) ///
(reg2_3, label(CZ and Occupation-by-YQ FE)) ///
(reg2_4, label(CZ, Occupation-by-YQ and Employer FE)), bylabel(By Occupational Wage Rank) ||, ///
drop(_cons) xline(0) byopts(compact cols(1)) coeflabels(target_cvs_treat_post= "Treat*Post" treat_post_q1 = "Treat*Post*Q1 Wage Rank" treat_post_q2 = "Treat*Post*Q2 Wage Rank" treat_post_q3 = "Treat*Post*Q3 Wage Rank" treat_post_q4 = "Treat*Post*Q4 Wage Rank")

The above subfigure is a model with only 1 regressor (target_cvs_treat_post with a label "Treat*Post" ) and the below one is another model with 4 regressors (treat_post_q1 = "Treat*Post*Q1 Wage Rank" treat_post_q2 = "Treat*Post*Q2 Wage Rank" treat_post_q3 = "Treat*Post*Q3 Wage Rank" treat_post_q4 = "Treat*Post*Q4 Wage Rank").
What I want to do is to remove the 4 regressors of the 2nd model from the above figure, and remove the 1 regressor from the below figure. How can I achieve this??
I want it to look something similar to this

I tried to use the drop option as a modelopts by adding it as an option for the above plot only but it did not work.
i.e., This does not work
coefplot (reg1_1, label(CZ and YQ FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)) ///
(reg1_2, label(CZ, YQ and Occupation FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)) ///
(reg1_3, label(CZ and Occupation-by-YQ FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)) ///
(reg1_4, label(CZ, Occupation-by-YQ and Employer FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)), bylabel(Full Sample) ///
||(reg2_1, label(CZ and YQ FE) drop(target_cvs_treat_post)) ///
(reg2_2, label(CZ, YQ and Occupation FE) drop(target_cvs_treat_post)) ///
(reg2_3, label(CZ and Occupation-by-YQ FE) drop(target_cvs_treat_post)) ///
(reg2_4, label(CZ, Occupation-by-YQ and Employer FE) drop(target_cvs_treat_post)), bylabel(By Occupational Wage Rank) ||, ///
drop(_cons) xline(0) byopts(compact cols(1)) coeflabels(target_cvs_treat_post= "Treat*Post" treat_post_q1 = "Treat*Post*Q1 Wage Rank" treat_post_q2 = "Treat*Post*Q2 Wage Rank" treat_post_q3 = "Treat*Post*Q3 Wage Rank" treat_post_q4 = "Treat*Post*Q4 Wage Rank")
Please help!
coefplot (reg1_1, label(CZ and YQ FE)) ///
(reg1_2, label(CZ, YQ and Occupation FE)) ///
(reg1_3, label(CZ and Occupation-by-YQ FE)) ///
(reg1_4, label(CZ, Occupation-by-YQ and Employer FE)), bylabel(Full Sample) ///
||(reg2_1, label(CZ and YQ FE)) ///
(reg2_2, label(CZ, YQ and Occupation FE)) ///
(reg2_3, label(CZ and Occupation-by-YQ FE)) ///
(reg2_4, label(CZ, Occupation-by-YQ and Employer FE)), bylabel(By Occupational Wage Rank) ||, ///
drop(_cons) xline(0) byopts(compact cols(1)) coeflabels(target_cvs_treat_post= "Treat*Post" treat_post_q1 = "Treat*Post*Q1 Wage Rank" treat_post_q2 = "Treat*Post*Q2 Wage Rank" treat_post_q3 = "Treat*Post*Q3 Wage Rank" treat_post_q4 = "Treat*Post*Q4 Wage Rank")
The above subfigure is a model with only 1 regressor (target_cvs_treat_post with a label "Treat*Post" ) and the below one is another model with 4 regressors (treat_post_q1 = "Treat*Post*Q1 Wage Rank" treat_post_q2 = "Treat*Post*Q2 Wage Rank" treat_post_q3 = "Treat*Post*Q3 Wage Rank" treat_post_q4 = "Treat*Post*Q4 Wage Rank").
What I want to do is to remove the 4 regressors of the 2nd model from the above figure, and remove the 1 regressor from the below figure. How can I achieve this??
I want it to look something similar to this
I tried to use the drop option as a modelopts by adding it as an option for the above plot only but it did not work.
i.e., This does not work
coefplot (reg1_1, label(CZ and YQ FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)) ///
(reg1_2, label(CZ, YQ and Occupation FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)) ///
(reg1_3, label(CZ and Occupation-by-YQ FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)) ///
(reg1_4, label(CZ, Occupation-by-YQ and Employer FE) drop(treat_post_q1 treat_post_q2 treat_post_q3 treat_post_q4)), bylabel(Full Sample) ///
||(reg2_1, label(CZ and YQ FE) drop(target_cvs_treat_post)) ///
(reg2_2, label(CZ, YQ and Occupation FE) drop(target_cvs_treat_post)) ///
(reg2_3, label(CZ and Occupation-by-YQ FE) drop(target_cvs_treat_post)) ///
(reg2_4, label(CZ, Occupation-by-YQ and Employer FE) drop(target_cvs_treat_post)), bylabel(By Occupational Wage Rank) ||, ///
drop(_cons) xline(0) byopts(compact cols(1)) coeflabels(target_cvs_treat_post= "Treat*Post" treat_post_q1 = "Treat*Post*Q1 Wage Rank" treat_post_q2 = "Treat*Post*Q2 Wage Rank" treat_post_q3 = "Treat*Post*Q3 Wage Rank" treat_post_q4 = "Treat*Post*Q4 Wage Rank")
Please help!
Comment