Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Couldn't the existence of ties be checked?
    Excellent point. You don't just need to guess or hope and pray! You can also use the duplicates command, e.g. using Robert's data,

    Code:
    . duplicates report alpha, force
    
    Duplicates in terms of alpha
    
    --------------------------------------
       copies | observations       surplus
    ----------+---------------------------
            1 |         1000             0
    --------------------------------------
    
    . expand 2 if _n < = 10
    (10 observations created)
    
    . duplicates report alpha, force
    
    Duplicates in terms of alpha
    
    --------------------------------------
       copies | observations       surplus
    ----------+---------------------------
            1 |          990             0
            2 |           20            10
    --------------------------------------
    Lander probably won't have any duplicates on alpha, but if he does he is only worried about duplicates within a panel. So he could do

    Code:
    duplicates report panelid alpha, force
    -------------------------------------------
    Richard Williams, Notre Dame Dept of Sociology
    StataNow Version: 19.5 MP (2 processor)

    EMAIL: [email protected]
    WWW: https://www3.nd.edu/~rwilliam

    Comment


    • #17
      There were some good answers here; nevertheless everyone missed http://www.stata.com/support/faqs/st...ons/index.html

      Comment

      Working...
      X