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
R-Square/Goodness of Fit - FGLS panel data modelHi I am using FGLS model due to auto-correlation, heteroskedasticity and cross sectional dependence…
How to recode the dataset that include multiple binary variables with missing values from 1/2 to 1/0 using for-loop work flow? *ssc install dataex* clear input byte (id gender at_risk lep) 1 . . 1 2 2 1 1 3 1 2 2 4 2 2 2 5 1 1…
Meta-regression for single proportion with 0%Dear all, How can I conduct meta-regression with single proportion (0% existence)? (I want to know …
Looping for Variance betaI need help with looping in mata. I have to write a code for Beta coefficients for OLS in mata throu…
Replacing a variable with a value that is based on the value(s) of other observation(s) in the same county and stateHello, Below I pasted code where the unit of observation is the police agency. I have a sample of c…
Subscribe to:
Post Comments (Atom)
0 Response to Invalid Syntax r198
Post a Comment