I need to compute average scale scores for individual records. The row
means command [rmean] will do this, but I can't figure out how to
specify minimum frequency criteria (e.g., compute an average score only
if 6 or more columns have data) as part of the [rmean] command.
For now I'm working around this by using [robs] to yield a second
variable which, in turn, is used as the minimum criteria for the [rmean]
calc.
But, I suspect there is a simpler Stata solution that doesn't entail
creating the extra [robs] variable. For example, in SPSS this would be
done in one step by using [MEAN.6(var1 var2 var3 ... var8)]. Can someone
point me in the right direction?
Thanks,
wg
~~~~~~~~~~~~~~~~~~~~~
Wendy M. Garrard
Vanderbilt University
*
* 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/