<?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 How to test overall within subject effect in Proc Genmod in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-overall-within-subject-effect-in-Proc-Genmod/m-p/843102#M41780</link>
    <description>&lt;P&gt;Hello Community,&lt;BR /&gt;&lt;BR /&gt;I have this code to test within the subject effect for my data set.&lt;BR /&gt;I found out that the QIC of the type =ind is the best fit for the model but here is my next question; how do i test for the overall within-subject effect? Thanks&lt;/P&gt;&lt;PRE&gt;proc genmod data=d003   order=data;
class y_variable  sub_id  Position;
model y_variable =Time_in_Seconds Resistance__ohms Force_N   Position  / d=bin link=logit;
 repeated subject= sub_id / type=ind; *better model with better QIC;
run;
quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 13:27:08 GMT</pubDate>
    <dc:creator>timothy19</dc:creator>
    <dc:date>2022-11-08T13:27:08Z</dc:date>
    <item>
      <title>How to test overall within subject effect in Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-overall-within-subject-effect-in-Proc-Genmod/m-p/843102#M41780</link>
      <description>&lt;P&gt;Hello Community,&lt;BR /&gt;&lt;BR /&gt;I have this code to test within the subject effect for my data set.&lt;BR /&gt;I found out that the QIC of the type =ind is the best fit for the model but here is my next question; how do i test for the overall within-subject effect? Thanks&lt;/P&gt;&lt;PRE&gt;proc genmod data=d003   order=data;
class y_variable  sub_id  Position;
model y_variable =Time_in_Seconds Resistance__ohms Force_N   Position  / d=bin link=logit;
 repeated subject= sub_id / type=ind; *better model with better QIC;
run;
quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 13:27:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-overall-within-subject-effect-in-Proc-Genmod/m-p/843102#M41780</guid>
      <dc:creator>timothy19</dc:creator>
      <dc:date>2022-11-08T13:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to test overall within subject effect in Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-overall-within-subject-effect-in-Proc-Genmod/m-p/843145#M41782</link>
      <description>&lt;P&gt;You would have to put your SUBJECT= variable in the MODEL statement, but this is likely to cause problems in the GEE fitting algorithm since that will add the need to estimate a parameter for each subject. Keep in mind that one of the main purposes and advantages of the GEE method is to avoid the need to estimate the possibly large number of subject parameters so that you can obtain good estimates and tests of the other effects in the model. The subject parameters are typically regarded as nuisance parameters with primary interest in the other parameters.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-overall-within-subject-effect-in-Proc-Genmod/m-p/843145#M41782</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-11-08T15:25:00Z</dc:date>
    </item>
  </channel>
</rss>

