Hi there,
I am getting the error r(100) with the note ") required" when I run this code to produce a coefficient plot from regressions previously run as a loop:
Note I have successfully run this exact code before, I have only changed the variables (previously var, now var_help, so SF4001 is now SF4001_help).
Anyone know where the issue lies?
Thanks!
I am getting the error r(100) with the note ") required" when I run this code to produce a coefficient plot from regressions previously run as a loop:
Code:
coefplot (lang_bi_SF4001_help, aseq("`: var label SF4001_help'") ///
\ lang_bi_SF4002_help, aseq("`: var label SF4002_help'") ///
\ lang_bi_SF4003_help, aseq("`: var label SF4003_help'") ///
\ lang_bi_SF4004_help, aseq("`: var label SF4004_help'") ///
\ lang_bi_SF4005_help, aseq("`: var label SF4005_help'") ///
\ lang_bi_SF4006_help, aseq("`: var label SF4006_help'") ///
\ lang_bi_SF4007_help, aseq("`: var label SF4007_help'") ///
\ lang_bi_SF4008_help, aseq("`: var label SF4008_help'") ///
\ lang_bi_SF4009_help, aseq("`: var label SF4009_help'") ///
\ lang_bi_SF4010_help, aseq("`: var label SF4010_help'") ///
\ lang_bi_SF4801_help, aseq("`: var label SF4801_help'") ///
\ lang_bi_SF4802_help, aseq("`: var label SF4802_help'") label(bivariate)) ///
(lang_mul_SF4001_help, aseq("`: var label SF4001_help'") ///
\ lang_mul_SF4002_help, aseq("`: var label SF4002_help'") ///
\ lang_mul_SF4003_help, aseq("`: var label SF4003_help'") ///
\ lang_mul_SF4004_help, aseq("`: var label SF4004_help'") ///
\ lang_mul_SF4005_help, aseq("`: var label SF4005_help'") ///
\ lang_mul_SF4006_help, aseq("`: var label SF4006_help'") ///
\ lang_mul_SF4007_help, aseq("`: var label SF4007_help'") ///
\ lang_mul_SF4008_help, aseq("`: var label SF4008_help'") ///
\ lang_mul_SF4009_help, aseq("`: var label SF4009_help'") ///
\ lang_mul_SF4010_help, aseq("`: var label SF4010_help'") ///
\ lang_mul_SF4801_help, aseq("`: var label SF4801_help'") ///
\ lang_mul_SF4802_help, aseq("`: var label SF4802_help'") label(multivariate)) ///
,drop(_cons 1.mh_bin 1.E_studies_bin 1.gender *.schoolbula) ///
swapnames scheme(plotplain) xline(0) ///
legend(position(6) row(1) size(small)) ///
title("Effect of language skills on political engagement" , size(small)) ///
coeflabels(,wrap(35) labsize(vsmall)) ///
note("Multivariate Model includes controls for Migration Background, Gender, Parental Education and all Schooltype-Federal State combinations", size(tiny)) ///
name(coefp_langpol_q40_q48, replace)
Note I have successfully run this exact code before, I have only changed the variables (previously var, now var_help, so SF4001 is now SF4001_help).
Anyone know where the issue lies?
Thanks!

Comment