<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PS Match Optimal Matching in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/601031#M29236</link>
    <description>Got it. Thank you!! &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256681"&gt;@MichaelL_SAS&lt;/a&gt;</description>
    <pubDate>Fri, 01 Nov 2019 17:49:40 GMT</pubDate>
    <dc:creator>amin1234</dc:creator>
    <dc:date>2019-11-01T17:49:40Z</dc:date>
    <item>
      <title>PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600872#M29230</link>
      <description>&lt;P&gt;Error: A feasible optimal fixed ratio matching that has the specified parameters does not exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do propensity score matching but I keep getting an error saying "A feasible optimal fixed ratio matching that has the specified parameters does not exist". When I change the keyword OPTIMAL to GREEDY everything works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC PSMATCH DATA = dataset REGION = CS;
CLASS drug_group gender age_cat;
PS MODEL drug_group(TREATED = 'Medication') = gender age_cat education health_index;
MATCH METHOD = OPTIMAL(K=1) EXACT = (gender age_cat) STAT = LPS CALIPER = 0.2;
ASSESS LPS VAR = (age_cat education health_index) / WEIGHT = NONE PLOTS =(BOXPLOT BARCHART);
OUTPUT OUT(OBS=ALL) = match_data LPS = _lps MATCHID = _matchid;
RUN;&lt;/PRE&gt;&lt;P&gt;I have more patients in the 'Medication' group than the control group.&amp;nbsp; I've tried changing the caliper but that didn't help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 12:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600872#M29230</guid>
      <dc:creator>amin1234</dc:creator>
      <dc:date>2019-11-01T12:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600897#M29231</link>
      <description>Is heath index correct? You have health, missing the L and health index as well.</description>
      <pubDate>Fri, 01 Nov 2019 08:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600897#M29231</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-01T08:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600939#M29232</link>
      <description>&lt;P&gt;Thanks, Reeza. That's just a typo when I was typing the code in the forum.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 12:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600939#M29232</guid>
      <dc:creator>amin1234</dc:creator>
      <dc:date>2019-11-01T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600971#M29233</link>
      <description>&lt;P&gt;There being more observations in the treatment condition than in the control condition is likely the cause. The optimal matching methods in PROC PSMATCH are done without replacement and will return an error if there is a treated observation (in the support region) that cannot be matched. The greedy matching method is also done without replacement but will allow for unmatched treated observations and print a message noting the unmatched treated subjects in the log. Another alternative would be to use matching with replacement, in which case observations in the control condition can be matched to more than one treated observation. &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_psmatch_examples06.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;Example 96.6&lt;/A&gt; in the PROC PSMATCH documentation demonstrates matching with replacement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 14:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600971#M29233</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2019-11-01T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600979#M29234</link>
      <description>Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256681"&gt;@MichaelL_SAS&lt;/a&gt; . When I treat the control group as treated, so that there's enough patients to be matched without replacement I still get the same error. However, when I set the caliper to missing (caliper = .) or remove it entirely, it works. Do you know any reason why that is the case?</description>
      <pubDate>Fri, 01 Nov 2019 14:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600979#M29234</guid>
      <dc:creator>amin1234</dc:creator>
      <dc:date>2019-11-01T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600993#M29235</link>
      <description>&lt;P&gt;Yes, the caliper introduces a constraint on the matching problem. The caliper requires that any matched observations must have a difference in propensity score values or logits of the propensity score values (in your example code I believe it's the logits that are being compared) less than the caliper value. So it is likely the case that there is again some "treated" observation that cannot be matched due to the caliper constraint (and the constraints coming from the EXACT= option).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note as discussed in the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_psmatch_syntax08.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.psmatch.caliperopt" target="_self"&gt;CALIPER&lt;/A&gt; portion of the PROC PSMATCH documentation, by default the caliper value is computed by taking a pooled estimate of the standard deviation of the logits of the propensity scores or propensity scores and multiplying that by the value specified in the CALIPER= option. If you don't specify a value in the CALIPER= option, by default 0.25 used as the multiplier. Specifying CALIPER=. removes the caliper constraint completely. You can also directly specify a caliper value by using the CALIPER(MULT=ONE)= syntax. The caliper value is reported in the "Matching Information" table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 15:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/600993#M29235</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2019-11-01T15:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: PS Match Optimal Matching</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/601031#M29236</link>
      <description>Got it. Thank you!! &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256681"&gt;@MichaelL_SAS&lt;/a&gt;</description>
      <pubDate>Fri, 01 Nov 2019 17:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PS-Match-Optimal-Matching/m-p/601031#M29236</guid>
      <dc:creator>amin1234</dc:creator>
      <dc:date>2019-11-01T17:49:40Z</dc:date>
    </item>
  </channel>
</rss>

