Hi everyone,
I'm having issues with a couple of my recoding commands and wonder if you could help.
I need to recode categorical variables, and have managed to successfully recode one of them, but the next ones have both had the same invalid syntax r198 error, but I cant figure out why.
I have attached a picture of my commands, the first one works, and the second two both come up with invalid syntax.
Array
Thanks so much for any help!
Daisy
Related Posts with Invalid Syntax r198
Problem in running loop for regression-industry-yearDear all I'm calculating a variable, that is the residuals from a regression calculated for every i…
Error r(509): matrix operators that return matrices not allowed in this context from xtgeeHello, I estimated a population-averaged model with this code and would like to store the beta coef…
Problem generating a new variable based on previous valuesHi all, I'm trying to generate a variable (steponecpn) so that is represents the change in Cumulati…
trouble with variable list in egen using macros from loopsHi Folks- The issue I'm having is that when I have a variable list after egen, and the variable lis…
Propensity scores for multi-valued treatmentI would like to estimate the impact of medium and heavy flooding (compared to noflood) on post-flood…
Subscribe to:
Post Comments (Atom)
0 Response to Invalid Syntax r198
Post a Comment