Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Joe Canner <jcanner1@jhmi.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: Myers Blended Index |
Date | Tue, 5 Nov 2013 20:44:53 +0000 |
Since I was intrigued by the question but not familiar with Myers Blended Index, I looked online for information and found the following: http://data.princeton.edu/eco572/digitpref.html which has both a discussion of the issues and a link to a Stata command for calculating the index. Joe Canner Johns Hopkins University School of Medicine -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Valle, Giuseppina Sent: Tuesday, November 05, 2013 3:34 PM To: statalist@hsphsun2.harvard.edu Subject: st: Myers Blended Index Hello. I am trying to examine digit preference in my data looking at number of sexual partners. Number of partners reported in my data range from 1 to 300, though I will likely only keep partners ranging from 1 to 50 ( I only examine those with sexual experience). I have used the following code to begin this process. gen lastdigit = mod(numpart,10) tab lastdigit lastdigit | Freq. Percent Cum. ------------+----------------------------------- 0 | 595 11.18 11.18 1 | 1,018 19.13 30.31 2 | 695 13.06 43.38 3 | 628 11.80 55.18 4 | 464 8.72 63.90 5 | 779 14.64 78.54 6 | 367 6.90 85.44 7 | 324 6.09 91.52 8 | 282 5.30 96.82 9 | 169 3.18 100.00 ------------+----------------------------------- Total | 5,321 100.00 So here I can see that there is some preference for 0,1,2,3, and 5. However, now I wish to calculate a Myers Blended Index. Is there code for Stata 12 to produce this or any literature someone can suggest to better understand this? Thank you in advance. -Pina * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/