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
Linear Models With Many Levels of Fixed Effects( REGHDFE)Dear Stata Members I ran the following panel regression with firm fixed effects(in my case, xtset i…
Inclusion of country-fixed effects in a difference-in-difference model, specified on firm-year level and using REGHDFEDear Forum, I have a panel of firm-year observations from different countries. A given firm will be…
Pseudo Panel using cohortsi have 3 rounds of cross sectional survey data of firms. i wish to estimate the productivity of the …
double integral in MataHey all, I am working on to implement a random effect zip model in Mata. The model includes two ran…
Numbering new values of a variable 1 to NMy data has a country variable using three digit ISO-3166 codes. The underlying codes aren't quite s…
Subscribe to:
Post Comments (Atom)
0 Response to Invalid Syntax while looping
Post a Comment