<?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: Proc hpgenselect with matched data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935907#M46653</link>
    <description>&lt;P&gt;I mean data where treated units are matched to control units&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 12:01:26 GMT</pubDate>
    <dc:creator>Liamb</dc:creator>
    <dc:date>2024-07-16T12:01:26Z</dc:date>
    <item>
      <title>Proc hpgenselect with matched data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935802#M46651</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How to apply stepwise selection with proc hpgenselect to matched data?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;PRE&gt;proc hpgenselect data=tab;
class paired var1 var2 var3 var4 ;
model wbc= var1 var2 var3 var4/ dist = negbin link=log ; 
/*random intercept / subject=paired;*/
selection method=stepwise details=all;

run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jul 2024 13:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935802#M46651</guid>
      <dc:creator>Liamb</dc:creator>
      <dc:date>2024-07-15T13:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc hpgenselect with matched data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935906#M46652</link>
      <description>&lt;P&gt;Matched data? You mean data where&amp;nbsp;treated units are matched to&amp;nbsp;control units? Or you mean pre- and post- (treatment) measurements?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am moving this topic to "Statistical Procedures" - board where it belongs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 11:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935906#M46652</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-16T11:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc hpgenselect with matched data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935907#M46653</link>
      <description>&lt;P&gt;I mean data where treated units are matched to control units&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 12:01:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/935907#M46653</guid>
      <dc:creator>Liamb</dc:creator>
      <dc:date>2024-07-16T12:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc hpgenselect with matched data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/936764#M46745</link>
      <description>&lt;P&gt;If you are locked into model selection techniques like stepwise, and you realize that it really isn't suited to mixed models, consider treating the difference between the treated and control subjects for each pair as your response variable. Without knowing your data structure, consider this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc hpgenselect data=tab;
class paired var1 var2 var3 var4 ;
model wbc_diff= var1 var2 var3 var4/ dist = negbin link=log ; 
selection method=stepwise details=all;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The key here is in calculating the response variable wbc_diff. There are several ways, but all of them depend on the current structure of the dataset "tab".&lt;/P&gt;
&lt;P&gt;You might be happier using method=lasso/choose=aicc, as it provides at lest some protection against type I error inflation due to multiple testing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 13:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-hpgenselect-with-matched-data/m-p/936764#M46745</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-07-23T13:59:44Z</dc:date>
    </item>
  </channel>
</rss>

