Announcement

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

  • psmatch2 save treated and matched dataset

    Hey all,

    I was using psmatch2 selecting 10 nearest match. My full sample has 100k observations, among which 585 are treated.

    after running psmatch2. I see these varaibles added to my data

    Code:
    _treated _support _id _n1 _n2 _n3 _n4 _n5 _n6 _n7 _n8 _n10 _nn
    to save only treated and control observations , that is drop those that are neither, what filter should I apply (maybe a line of code needed ?)

    is it something like

    Code:
    drop if _n1==. & _n2==. & _n3==. & _n4==. &  _n5==. &  _n6==. &  _n7==. &  _n8==. &  _n9==.

    thanks,

    Rochelle
Working...
X