Statalist


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

st: Creating a Non-Self Mean (Score)


From   Chao Yawo <yawo1964@yahoo.com>
To   StataList <statalist@hsphsun2.harvard.edu>
Subject   st: Creating a Non-Self Mean (Score)
Date   Thu, 3 Jul 2008 04:36:23 -0700 (PDT)

Hi,

I am examining the effect of stigmatizing attitudes of specific health behaviors, using a demographic health survey (DHS). DHS respondents were required to indicate (by a YES, NO, DONT KNOW) whether:

(1) whether they would buy a vegetable from a vendor who has HIV, (2) whether they would keep their family member's HIV infection a secret
(3) whether they would be willing to care for a relative who is infected with HIV
(4) wheether a female teacher infected with HIV should be allowed to continue teaching in school

I want to calculate a summary score that reflects community attitude (the attitudes of all members of the community on these variables --- that is the score must EXCLUDE those of the respondent, and INCLUDE those of all others.  In some literature, this is referred to as non-self mean.

Since in the DHS, clusters (V022) are the lowest level from which a sample of households is drawn (i.e. these are typically the primary sampling unit), I want a score based on the responses of all people in the same strata (PSU) as the respondent, but excluding the respondent's responses. For example, to compute this score for an individual A who resides in PSU B, we sum the stigma scores (over all the 4 variables) of all individuals in PSU B, with the exceptoin of respondent A.

I would be very grateful if you could give me some pointers about how to create this summary score (over all the 4 variables).

regards, C. Y.



      
*
*   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