I wonder if someone else have a problem using asdoc together with the new xtdidregress command? It reports unbalanced parentheses, which I can't se in the code. This only happens when including control covariates in the model. The controls are all continues variables. I imagine that if the problem was the controls, the models shouldn't work without asdoc, but when excluding the asdoc command, or the control variables, it works well. Does anyone know what the problem might be?
It does not work when:
Code:
asdoc xtdidregress (C_perc_kom and_utr and_hogutb dist_mdink) (closed3) if school==1, group(Code) time(election_year), replace nest asdoc xtdidregress (MP_perc_kom and_utr and_hogutb dist_mdink) (closed3) if school==1, group(Code) time(election_year), save nest
Code:
asdoc xtdidregress (C_perc_kom) (closed3) if school==1, group(Code) time(election_year), replace nest asdoc xtdidregress (MP_perc_kom) (closed3) if school==1, group(Code) time(election_year), save nest
Code:
xtdidregress (C_perc_kom and_utr and_hogutb dist_mdink) (closed3) if school==1, group(Code) time(election_year) xtdidregress (MP_perc_kom and_utr and_hogutb dist_mdink) (closed3) if school==1, group(Code) time(election_year)
0 Response to asdoc + xtdidregress not working
Post a Comment