Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Chiara Mussida <email@example.com>
Mon, 27 Aug 2012 08:32:27 +0200
the variable cat12 takes the values from 1 to 12. I want to create 12
different scalars or variables for each cat. The problem is that each
scalar must take the values correspondent to the log of the number of
obs in each cat (weighted) since i have to write an index which needs
those numbers. I tried with forvalues but i did not succeed!
Ps: cat12 is a variable for occupational categories (from 1 to 12). In
the index i put the weighted values (weight available in my dataset).
Doctoral school of Economic Policy
Catholic University, Piacenza (Italy)
* For searches and help try: