May I ask a clinical question? For a trial, we have a treatment group of small size, say 30 patients. We want to selectmatching control patients from a bigger group (100 patients) in terms of several clinical variables, such as age, tumor stage etc. This practice is to select the closest matching set of control cases. I wonder if R has any routine or package that can help with this problem. Thank you. Looking forward...
Look at the "optmatch" package. ____________________________________________________________________ Ravi Varadhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvaradhan at jhmi.edu ----- Original Message ----- From: Bill Hyman <billhyman1 at yahoo.com> Date: Tuesday, February 1, 2011 2:04 pm Subject: [R] Matching patients To: r-help at r-project.org> May I ask a clinical question? For a trial, we have a treatment group > of small > size, say 30 patients. We want to selectmatching control patients > from a bigger > group (100 patients) in terms of several clinical variables, such as > age, tumor > stage etc. This practice is to select the closest matching set of > control cases. > I wonder if R has any routine or package that can help with this > problem. Thank > you. Looking forward... > > ______________________________________________ > R-help at r-project.org mailing list > > PLEASE do read the posting guide > and provide commented, minimal, self-contained, reproducible code.
Here is a paper that gives an review of matching Elizabeth A. Stuart. (2010) Matching Methods for Causal Inference: A Review and a Look Forward. Statistical Science; 25(1):1-21. In the paper, there is a list of R packages that does matching. hope this helps. On Tue, Feb 1, 2011 at 2:01 PM, Bill Hyman <billhyman1@yahoo.com> wrote:> May I ask a clinical question? For a trial, we have a treatment group of > small > size, say 30 patients. We want to selectmatching control patients from a > bigger > group (100 patients) in terms of several clinical variables, such as age, > tumor > stage etc. This practice is to select the closest matching set of control > cases. > I wonder if R has any routine or package that can help with this problem. > Thank > you. Looking forward... > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Hi Bernardo, Thank you so much. I appreciate it. Bill ----- Original Message ---- From: Bernardo Rangel Tura <tura at centroin.com.br> To: Bill Hyman <billhyman1 at yahoo.com> Sent: Wed, February 2, 2011 12:55:56 AM Subject: Re: [R] Matching patients On Tue, 2011-02-01 at 11:01 -0800, Bill Hyman wrote:> May I ask a clinical question? For a trial, we have a treatment group of small> size, say 30 patients. We want to selectmatching control patients from a bigger > > group (100 patients) in terms of several clinical variables, such as age, tumor > > stage etc. This practice is to select the closest matching set of control >cases. > > I wonder if R has any routine or package that can help with this problem. Thank > > you. Looking forward... > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.Hi Bill, The package MatchIt solve your problem. This allow you use several methods for matching and you can use formula for create relations between variable if necessary -- Bernardo Rangel Tura, M.D,MPH,Ph.D National Institute of Cardiology Brazil