How to use Propensity Matched Score method in MATLAB?

16 次查看(过去 30 天)
I have a large patient table with many data sets (rows) and variables (columns).
I have two groups of patients with group A (var1='ON') and group B (var1='off').
Now, I would like to create matching pairs of patients so that one patient in group A corresponds to one patient in group B dependent on a set of variables, e.g. age, gender, study days, etc..
Is there a Matlab method/function where I can easily create the second group B from a given group A and a given set of categorical and numerical variables with optimized matching? In literature, it's often called the propensity-matched score method.

采纳的回答

MathWorks Support Team
It seems that there are two steps involved in Propensity Score Matching (PSM):
(1) Propensity score computation
(2) Some kind of observation matching based on the scores computed in (1).
Step (1) involves modeling the probability of receiving a treatment as a function of several predictors. Logistic regression seems to be a common way of doing step (1) and you can try to use 'glmfit' or 'glmval' for this step.
It seems that you are more interested in step (2) and as of now, we currently do not offer a function to do this. However, we already have an enhancement request to implement this feature in a future MATLAB release.
In addition to that, there is a File Exchange submission that claims to do PSM, which might be useful for you:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by