I would like to add labels for a set of different variables, i have around 15, and would like to know if its possible to do it in one line (for example, when you encode a variable, you can then, label the variables in the same line.
However, I have a few dummies already as variables and would like to know if its possible to label them in one line of code.
Thanks!
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(ba_street_change ba_city_change ba_zip_change ma_street_change) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 end
0 Response to Putting labels for different variables in one line of code or loop?
Post a Comment