Announcement

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

  • PSID tools: dropped observations automatically?

    Hi all,

    I'm using psid tools and I'm not sure what's happening with seemingly dropped observations. Compare the following two pulls, the first where I pull age data for 1968 and 2015, and the second where I pull age data for 1969 and 2015:

    Code:
    clear all
    set more off
    
    psid use || age [68]ER30004   [15]ER34305   using [path]\ind2019er
    
    psid long
    
    rename wave year
    
    sum age if year==2015, d
    I get 21,110 observations with a median age of 31. But if I run

    Code:
    clear all
    set more off
    
    psid use || age [69]ER30023   [15]ER34305   using [path]\ind2019er
    
    psid long
    
    rename wave year
    
    sum age if year==2015, d
    I get 3,673 observations with a median age 60. Finally, if I run

    Code:
    clear all
    set more off
    
    
    psid use || age [13]ER34204   [15]ER34305   using [path]\ind2019er
    
    psid long
    
    rename wave year
    
    sum age if year==2015, d
    I get 20,296 observations with a median age of 32.



    Does psid tools automatically drop obs that don't exist in the previous years sample? If so, what's the deal with 1968 and 2015 paired together working just fine? Is there a way I can prevent psid tools from dropping these observations? I've read through the psid documentation and didn't see mention of this, perhaps I missed it. Thanks in advance.

Working...
X