<?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: Stratification Using SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670812#M32053</link>
    <description>Thanks Ballard W.&lt;BR /&gt;&lt;BR /&gt;Surveylogistic was the procedure used.&lt;BR /&gt;&lt;BR /&gt;Reading time was the exposure (with three levels)&lt;BR /&gt;Sleep duration was the outcome( binary)&lt;BR /&gt;ADHD severity is the third variable (potential effect modifier), it also have two levels.&lt;BR /&gt;I hope this additional info makes sense.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Jul 2020 20:51:49 GMT</pubDate>
    <dc:creator>microdire27</dc:creator>
    <dc:date>2020-07-20T20:51:49Z</dc:date>
    <item>
      <title>Stratification Using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670750#M32042</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Is it possible not to have a reference group during stratification in SAS?&lt;/P&gt;&lt;P&gt;As shown in the table attached to this question, my professor asked for stratification of the ADHD severity level. I am not sure of how to achieve this with SAS since there must be a comparison group (ref group) and I have only two levels. Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="microdire27_1-1595271040458.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47358iDE139DCA490F95AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="microdire27_1-1595271040458.png" alt="microdire27_1-1595271040458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 18:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670750#M32042</guid>
      <dc:creator>microdire27</dc:creator>
      <dc:date>2020-07-20T18:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stratification Using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670756#M32044</link>
      <description>&lt;P&gt;This looks like output from PROC LOGISTIC, with the response being a function of two factors - duration and severity.&amp;nbsp; For a stratified analysis, you need matched observations, such as a repeated (pre/post) design or a matched design (1:1, m:n for case:control designs).&amp;nbsp; Then the factor that defines the matching is used as the STRATA variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without seeing more of your data, or knowing how it was collected, I can't really say what to do next.&amp;nbsp; But if you can identify how the observations may be matched, then you can proceed.&amp;nbsp; The example here should help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_logistic_examples11.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_logistic_examples11.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 19:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670756#M32044</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-07-20T19:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stratification Using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670804#M32050</link>
      <description>Thank you for the earlier response, Mr. Denham. The data is not a case-control data, it was a cross-sectional survey data. Basically, I want to determine if ADHD severity modifies the relationship between family reading time and sleep duration. Family reading time has 3 levels, as shown on the table, ADHD severity also have two levels. Is it possible to stratify the levels of ADHD severity without using one of the levels as the reference level?</description>
      <pubDate>Mon, 20 Jul 2020 20:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670804#M32050</guid>
      <dc:creator>microdire27</dc:creator>
      <dc:date>2020-07-20T20:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stratification Using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670806#M32051</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/335452"&gt;@microdire27&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for the earlier response, Mr. Denham. The data is not a case-control data, it was a cross-sectional survey data. Basically, I want to determine if ADHD severity modifies the relationship between family reading time and sleep duration. Family reading time has 3 levels, as shown on the table, ADHD severity also have two levels. Is it possible to stratify the levels of ADHD severity without using one of the levels as the reference level?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What procedure(s) are you expecting to use?&lt;/P&gt;
&lt;P&gt;It sounds like Surveyfreq might be appropriate requesting a table of ADHD vs Reading time (you don't provide variable names so can't be much more specific) or sleep duration. A chi-squared test might be appropriate to determine if there is a difference in distribution of reading levels or duration based on the ADHD level.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 20:29:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670806#M32051</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-07-20T20:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stratification Using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670812#M32053</link>
      <description>Thanks Ballard W.&lt;BR /&gt;&lt;BR /&gt;Surveylogistic was the procedure used.&lt;BR /&gt;&lt;BR /&gt;Reading time was the exposure (with three levels)&lt;BR /&gt;Sleep duration was the outcome( binary)&lt;BR /&gt;ADHD severity is the third variable (potential effect modifier), it also have two levels.&lt;BR /&gt;I hope this additional info makes sense.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2020 20:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670812#M32053</guid>
      <dc:creator>microdire27</dc:creator>
      <dc:date>2020-07-20T20:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Stratification Using SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670934#M32059</link>
      <description>&lt;P&gt;There have been a couple of threads about testing if a variable is a moderating variable in here lately, and it is something I am learning about as I go.&amp;nbsp; Given that, I don't think you can use a categorical variable in a regression without specifying a reference level (at least for non-full rank parameterization).&amp;nbsp; But with only two levels, it should not make a difference.&amp;nbsp; You could even treat the variable as continuous.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yet another way to look at this as stratification would be to include the interaction between severity and time spent in the model.&amp;nbsp; Then using the SLICE statement, you could calculate the ORs for the simple effect of time spent at each level of severity. This would "stratify" the analysis in the sense that the ORs would be calculated within the "strata" of severity.&amp;nbsp; If that is acceptable, then good on you, and this all boils down to the definition of strata that SAS uses in its logistic regression procedures being different to what you are looking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 11:44:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stratification-Using-SAS/m-p/670934#M32059</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-07-21T11:44:53Z</dc:date>
    </item>
  </channel>
</rss>

