I have survey data across several countries and it seems like the responses on ordinal scale have different spreads for different countries.
Hence, instead of standardizing across the board, I would like to standardize by country.
Unfortunately, egen x = std(y), by country doesn't work as std can not be used with by.
Any suggestions?
Also, I have more than 700 variables...is there any more efficient way than to write an egen for every single variable?
Thanks in advance for your help.
Hence, instead of standardizing across the board, I would like to standardize by country.
Unfortunately, egen x = std(y), by country doesn't work as std can not be used with by.
Any suggestions?
Also, I have more than 700 variables...is there any more efficient way than to write an egen for every single variable?
Thanks in advance for your help.
Comment