Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Myers Blended Index


From   "Valle, Giuseppina" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Myers Blended Index
Date   Tue, 5 Nov 2013 20:33:50 +0000

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index