{"id":216,"date":"2009-06-03T13:33:37","date_gmt":"2009-06-03T18:33:37","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=216"},"modified":"2009-06-03T13:35:44","modified_gmt":"2009-06-03T18:35:44","slug":"controlling-for-damn-near-everything-propensity-score-matching","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/controlling-for-damn-near-everything-propensity-score-matching\/","title":{"rendered":"Controlling for Damn Near Everything: Propensity Score Matching"},"content":{"rendered":"<p>Lately I have been on a roll looking at relatively less common statistical techniques, proportional hazards, survival analysis, etc.<\/p>\n<p>In keeping with that, I have been taking a look at propensity score matching, fondly known as PSM by, &#8211; well, by no one actually.<\/p>\n<p><em>The problem to be solved &#8230;.<\/em><\/p>\n<p>Think about some of these comparisons:<\/p>\n<ul>\n<li>Hospitals with special burn,cardiac or neonatal units versus general hospitals<\/li>\n<li>Public schools versus parochial, private or charter schools<\/li>\n<li>People who watch TV &gt; 40 hours weekly versus those surfing the Internet &gt; 40 hours<\/li>\n<\/ul>\n<p>In all of these cases, and probably a lot more you can think of, there are very likely differences in certain &#8220;outcome&#8221; variables, whether it be survival in the case of hospital patients, academic achievement of students or annual income of TV versus Internet users. However, all of these comparisons also begin with groups who are already different.<\/p>\n<p><em>For example &#8230;<\/em><\/p>\n<p>You have two groups, say people who are treated at a hospital with a specialized unit for terminally ill patients and patients from another hospital without any such specialized unit.\u00a0 Your outcome variable of interest is whether the patient lived or died.<\/p>\n<p>The simplest way to test this is a chi-square. You compare the percentage of people who survived at St. George of Money Hospital versus Heart of Despair County Hospital.\u00a0 There is a problem with that, though.\u00a0 A simple comparison will almost always show WORSE outcomes for hospitals with special units for patients who are terminally ill, seriously burned, extremely premature births, etc. The reason is probably obvious\u00a0 &#8211; if you get sicker patients, they are less likely to live.\u00a0 If your interest is in knowing whether having a specialized unit increases your chances of survival, you would want to compare similar groups.<\/p>\n<p>It isn&#8217;t as simple as just controlling for severity of condition, though. There are other variables, for example, people who are better educated, who have private insurance and who live in urban areas all may be more likely to be patients at more &#8220;elite&#8221; hospitals. Some of those factors may be related to survival as well. What we&#8217;d really like is to compare a\u00a0 group of people from St. Money&#8217;s that is similar to patients from Despair.<\/p>\n<p>In short, certain types of people have a greater propensity to be admitted to one type of place than the other.<\/p>\n<p><strong>Enter propensity score matching<\/strong> &#8212; to the sounds of trumpets and wearing a cape.<\/p>\n<p>In fact, the first step is to do a logistic regression analysis and I will admit that it is not strictly necessary to wear a cape while doing so but it would probably be more comfortable than this business suit from Filene&#8217;s that I am wearing.<\/p>\n<p>Using SPSS, go to the ANALYZE\u00a0 menu, select REGRESSION, then select BINARY LOGISTIC. Your dependent variable will be the hospital to which the patient was admitted. Covariates are the variables such education, severity of illness and insurance that you want to control.\u00a0 For variables that are categorical, e.g., insurance, which could be private, public (a.l.a. MediCal if it hasn&#8217;t disappeared in the latest round of state budget cuts) and none, click on the CATEGORICAL button and move those over to the &#8220;Categorical covariate&#8221; window.<\/p>\n<p>Here&#8217;s the really important part\u00a0 &#8212; click on SAVE and select PREDICTED PROBABILITIES &#8211; that is your propensity score.<\/p>\n<p>This is what you are going to match on. Hence the name.<\/p>\n<p>This is step one. I would say it gets easier after this point &#8211; but it doesn&#8217;t.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately I have been on a roll looking at relatively less common statistical techniques, proportional hazards, survival analysis, etc. In keeping with that, I have been taking a look at propensity score matching, fondly known as PSM by, &#8211; well, by no one actually. The problem to be solved &#8230;. Think about some of these&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11,6],"tags":[],"class_list":["post-216","post","type-post","status-publish","format-standard","hentry","category-statistics","category-the-julia-group"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/comments?post=216"}],"version-history":[{"count":6,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/216\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/216\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}