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
Merge weekly and daily dataHi everyone, I am new here so I will try my best to make my question as clear as possible. Hope you …
multivariate multiple random effects regressionsHey all, I am doing a research about the effect a dummy has on multiple dependent variables while a…
Hierarchical Cluster Analysis (Centroid Linkage): currently can't handle dendrogram reversalsHello Everyone, I am having an issue displaying a hierarchical cluster analysis dendrogram using ce…
how do i match two colums with different patterns of city namesHi, I want to match 2 columns with different patterns of city names (not sorted, no similar observa…
Population size smaller than number of observation, svysetDear Stata users, After applying svyset command to dataset with weights included in the dataset and…
Subscribe to:
Post Comments (Atom)
0 Response to Invalid Syntax while looping
Post a Comment