Guest User

Untitled

a guest
Jul 1st, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. T= variable of treatment
  2. X= cofounders
  3. Z= variable with exact matching
  4. Y = output
  5.  
  6. logit T x1 x2 x3 x4 x5 x6 x7 z1 z2 z3
  7. predict Prtreatment
  8.  
  9. egen scoringGroup = group(z1 z2 z3)
  10. replace scoringGroup =scoringGroup *2+ Prtreatment
  11.  
  12. psmatch2 T , caliper(0.1) neighbor(1) out( Y ) pscore(scoringGroup) ties common
  13. psmatch2 T , caliper(0.1) kernel out( Y ) pscore(scoringGroup)
Add Comment
Please, Sign In to add comment