[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: syntax for summated index
egen mysum = rsum(v1-v5)
egen mysum = rsum(v1 v3 v5 v7 v9)
note that missings sum to 0 so you might need to take account of this
if individual variables have 0 in their scores.
Thursday, May 19, 2005, 1:07:20 PM, you wrote:
AT> I have a question about how to create a summated index. When I use the
AT> help option, nothing comes up. I googled stata summated index and it
AT> returned a command called optifact; however, when I entered the term in
AT> the help box, nothing was returned. Please help. Example syntx would be
AT> greatly apprecieated.
AT> The summated index will be created from five items; each item has the
AT> same four response categories.
AT> Thanks so much.
AT> * For searches and help try:
AT> * http://www.stata.com/support/faqs/res/findit.html
AT> * http://www.stata.com/support/statalist/faq
AT> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try: