Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about coxpsmatch() and exact matching #10

Closed
skent259 opened this issue May 20, 2021 · 1 comment
Closed

Question about coxpsmatch() and exact matching #10

skent259 opened this issue May 20, 2021 · 1 comment

Comments

@skent259
Copy link
Owner

@pauknemj what would happen in your function when using exact matching with a limited number of pairs?

I see that this section of code grabs the top n_pairs:

if(length(matches$trt.id) > n_pairs) {
    matches <- matches[1:n_pairs,, drop = FALSE]
  }

But will the numbering grab a biased number from a given exact match group? For example, if you had two equal-sized exact match groups and asked for half of the maximum pairs, would it give you pretty much everyone from the first group?

@pauknemj
Copy link
Collaborator

pauknemj commented May 20, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants