<?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: PSMATCH gives matchwgt=1 for non-treated subjects in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PSMATCH-gives-matchwgt-1-for-non-treated-subjects/m-p/722874#M35046</link>
    <description>&lt;P&gt;My guess would be that there are some treated units that are only being matched to one control unit and as a result those control units have a matching ATT weight of 1. I believe when this occurs there should be a warning message printed to the log about some treated units having less than the specified number of controls. This can occur because the number of control units might be less than two times the number of treated units, or given the constraints on the problem (the EXACT= variables and caliper) it might not be feasible to find two unique matches for each treated subject.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 15:12:11 GMT</pubDate>
    <dc:creator>MichaelL_SAS</dc:creator>
    <dc:date>2021-03-02T15:12:11Z</dc:date>
    <item>
      <title>PSMATCH gives matchwgt=1 for non-treated subjects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PSMATCH-gives-matchwgt-1-for-non-treated-subjects/m-p/722830#M35033</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a PROC PSMATCH, where I have specified that I want two control subjects for each treated subject. The variable _matchwgt_ in the returned dataset should to my understanding take the value 1 for the treated subjects, and 0.5 for the non-treated subjects. However this turns out not to be the case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have i misunderstood? Or have I specified something wrong in my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc psmatch data=ud.psmatch;
class f_bolge koen branche_grup udda;
psmodel f_bolge(Treated='1')= branche_grup ajo_bredt_loenbeloeb udda alder koen;
match method=greedy(k=2) exact=(koen branche_grup udda) stat=lps caliper=0.25;
assess lps var=(branche_grup ajo_bredt_loenbeloeb udda alder koen) / weight=none plots=(boxplot barchart);
output out(obs=match)=Outgs lps=_Lps matchid=_MatchID;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PSMATCH-gives-matchwgt-1-for-non-treated-subjects/m-p/722830#M35033</guid>
      <dc:creator>rjz970</dc:creator>
      <dc:date>2021-03-02T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: PSMATCH gives matchwgt=1 for non-treated subjects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PSMATCH-gives-matchwgt-1-for-non-treated-subjects/m-p/722874#M35046</link>
      <description>&lt;P&gt;My guess would be that there are some treated units that are only being matched to one control unit and as a result those control units have a matching ATT weight of 1. I believe when this occurs there should be a warning message printed to the log about some treated units having less than the specified number of controls. This can occur because the number of control units might be less than two times the number of treated units, or given the constraints on the problem (the EXACT= variables and caliper) it might not be feasible to find two unique matches for each treated subject.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 15:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PSMATCH-gives-matchwgt-1-for-non-treated-subjects/m-p/722874#M35046</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2021-03-02T15:12:11Z</dc:date>
    </item>
  </channel>
</rss>

