Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: alpha scale


From   cbaylor@ucla.edu
To   statalist@hsphsun2.harvard.edu
Subject   st: alpha scale
Date   Fri, 04 May 2007 00:00:33 -0700

I'm creating a capitalism scale out of opinions on various economic issues. Alpha creates a scale whose scores are the average of the scores that are not missing, provided you have at least two that are not missing. How do I set up a capitalism variable so that it is equal to the alpha scale, where if the respondent answered all of the questions, capitalism takes on the average, but if a respondent only answered two, it substitutes the average of those two for the missing values?

Best,

Chris

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index