hello, i dont know why stata keeps me showing invalid syntax in this loop:
foreach x of p524a1_14 p524a1_15 p524a1_16 p524a1_17 p524a1_18{
summ `x'
gen ING_`x' = (`x'-r(mean))/r(sd)
}
i tried with an space just before the "{" and every way but i cant do it
please send your suggestion
thank you so much
Related Posts with Invalid Syntax while looping
combomarginsplot with mimrgnsHi everyone, Does anyone know how to use combomarginsplot with margins derived from the mimrgns com…
error message in xtglsWhen I ran the xtgls regression: Code: xtgls dep var, covariate 1 covariate 2 .....covariate n, cor…
teffects model selection; AIPW coefficient interpretationI have two questions regarding methods for a pending project: I will have an outcome "yscale" that …
panel data and time variable formatHello, I have a dataset and i need to define quarterly time variable and declare data to be a panel…
Stata 16 on MS Windows strange behaviorThis is really weird, but for some reason a double-click is required on icons in Stata's windows hea…
Subscribe to:
Post Comments (Atom)
0 Response to Invalid Syntax while looping
Post a Comment