I am attempting to pass a varlist into a local macro as follows:
Code:
local predictors `"varlist"'
Code:
xtreg dependent `predictors', fe
Code:
xtqreg dependent `predictors', quantile(0.1(0.1)0.9) too few variables specified
I'm interested in doing this as I have a lot of regressions to run using the same specification and changing the variables for each one manually is quite tedious.
0 Response to Encountering an error when using local macros in the xtqreg package
Post a Comment