我的Stata代码如下。在此代码中,我想指定
ymlabel as the 10th entry of the variable
higher_ACME_control`。我试过了
ymlabel(higher_ACME_control[10]......
但是没有成功。我该怎么做?
twoway rarea higher_ACME_lower_control higher_ACME_upper_control higher_rho, color(ltblue) || line higher_ACME_control higher_rho, lcolor(blue) || ///
function y=higher_ACME_control[10], range(-1 1) lpattern(dash) lstyle(foreground) ///
yline(0, lstyle(foreground)) xline(0, lstyle(foreground)) xlabel(#19) ymlabel(.11579794, labsize(tiny) labcolor(red) format(%9.2g)) ylabel(-2(0.5)2, angle(vertical) labsize(vsmall)) ytitle("ACME (control)") xtitle("rho") ///
legend(order(2 "point estimate of" "the causal effect" 1 "confidence interval")) saving(sens_higher_ACME_control ,replace)