Code Monkey home page Code Monkey logo

Comments (5)

ngreifer avatar ngreifer commented on July 28, 2024

MatchIt doesn't currently support matching for multicategory treatments, but it is a feature I am working on and should be released later his year. It will accompany a major update to MatchIt. If you are interested in being an alpha tester, let me know. I have the procedure for nearest neighbor and optimal matching done at this point, and you could try it out on your dataset to see if it works.

Remember that optimal matching cannot be used with a caliper, as explained in the documentation. This is a limitation of the optmatch package, not an issue with MatchIt. Nearest neighbor matching works fine, though. I would encourage you to think not of a particular distance metric and matching method you want to use and instead try a variety of methods to find the one that yields the best balance. For example, if you can achieve good balance without a caliper, you should not use a caliper, so deciding to use a caliper before you have even attempted the matching is not a good way to look at the procedure.

There are alternatives to matching for multi-category treatments. Weighting for multi-category treatments is well-developed and has been available in the WeightIt package for many years. Is there a reason you don't want to use weighting?

from matchit.

Shawane-Wang avatar Shawane-Wang commented on July 28, 2024

Tkanks for your kind reply! I would be glad and honored to be an alpha tester!

Thanks for your suggestions! I think I'd try other methods to reach the optimal balance before final decision. I put that question (about caliper, distance and so on) beforehand to ensure the implementability of the packages and avoid switching among different packages. However, I would take your advise!

As for the question about weighting for multi-category treatments. Actually, my data is about omics, and it seems that the IPW is not widely applied in many pipelines and mainstream softwares. It would be more straightforward to directly compare bwteen different groups than using weights in the downstream analysis. So I really hope the concept of optimal full matching could be realized on multicategory treatments, which would greatly keep my sample size.

Do look foward to your newly release! Thanks for your kind reply again!

from matchit.

ngreifer avatar ngreifer commented on July 28, 2024

That's a good reason to use matching over weighting. That said, full matching must be analyzed using weights just like propensity score weighting, so I don't think that will be a good method for you to use. I think 1:1 matching will likely be a good option to avoid the need for matching weights. Shortly, I'll send over a draft of the new version of the package with instructions on how to use and install it.

from matchit.

Shawane-Wang avatar Shawane-Wang commented on July 28, 2024

Great! Thanks!

from matchit.

jiuzhouhao avatar jiuzhouhao commented on July 28, 2024

Can I please test for multi-group matching as well?

from matchit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.