Announcement

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

  • Select 3 controls after PSMATCH2

    I have a dataset with 20,000 observations. I am interested in an outcome which 200 of the observations have so I would like to select controls for the 200 observations. I used the PSMATCH2 command below. I still got 5000 controls to my 200 cases. How do I go about selecting 3 controls only per case so that I have 600 controls to my 200 cases? Thank you.

    psmatch2 outcome age bmi, neighbor(1)

  • #2
    I think neighbor(3) gets you the 3 nearest matches.

    you need to have the treatment variable in place of outcome and add after the comma outcome(outcome).

    (The helpfile is a bit misleading on this issue, but you see it in the examples).
    Last edited by George Ford; 09 Jan 2023, 12:02.

    Comment

    Working...
    X