<?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: paired samples T-test for categorical variables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442418#M69295</link>
    <description>&lt;P&gt;You want a Chi-Squared test to compare the binomial proportions (percent 0 vs percent 1) at the two time periods. This can be done using PROC FREQ with the CHISQ option.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 16:53:04 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-03-05T16:53:04Z</dc:date>
    <item>
      <title>paired samples T-test for categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442358#M69292</link>
      <description>&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;am doing data&amp;nbsp;analysis for two time points, 10 year difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what tests should I use for categorical variables, e.g self-reported alcohol and cigarette intake, and education level? please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 14:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442358#M69292</guid>
      <dc:creator>Achieng</dc:creator>
      <dc:date>2018-03-05T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: paired samples T-test for categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442390#M69293</link>
      <description>&lt;P&gt;Please clearly state what the response variable is that you are planning on analysing, and clearly&amp;nbsp;state&amp;nbsp;your&amp;nbsp;planned analysis; and we can tell you how to do this in SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 15:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442390#M69293</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-05T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: paired samples T-test for categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442397#M69294</link>
      <description>&lt;DIV class="gmail_default"&gt;Dear Page Miller,&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;Thank you for&lt;SPAN&gt; a &lt;/SPAN&gt;speedy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;response.&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;Yes, I am working with SAS.&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;I have done the paired samples t-test for continuous variables,i.e plasma phospholipid fatty acids.&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data=Start_women;

title 'Paired t-test with proc ttest, paired statement';

paired C14_0Myristic_2015*PLC14_2005
C16_0Palmitic_2015*PLC16_2005
C18_0Stearic_2015*PLC18_2005
C16_1n7Palmitoleate_2015*PLC16_1n7_2005
C18_1n9Oleic_2015*PLC18_1n9_2005
C18_3n3ALA_2015*PLC18_3n3_2005
C20_5n3EPA_2015*PLC20_5n3_2005
C22_5n3DPA_2015*PLC22_5n3_2005
C22_6n3DHA_2015*PLC22_6n3_2005
C18_2n6Linoleic_2015*PLC18_2n6_2005
C18_3n6GLA_2015*PLC18_3n6_2005
C20_3n6_2015*PLC20_3n6_2005
C20_4n6ARA_2015*PLC20_4n6_2005
C22_4n6Adrenic_2015*PLC22_4n6_2005
C22_5n6Osbond_2015*PLC22_5n6_2005
C20_3n9Mead_2015*PLC20_3n9_2005;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;That was successful. Now I need to d the same for self-reported alcohol intake (0= never and stopped taking alcohol, 1= currently taking alcohol), Tobacco use (&amp;nbsp;&lt;SPAN&gt;0= never and stopped smoking, 1= currently&amp;nbsp;smoking) and education level. (0=no formal education, 1=formal education), all for two-time points, baseline and 10 years later&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&lt;SPAN&gt;I am not sure which test to use.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&lt;SPAN&gt;Please advise.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="gmail_default"&gt;&lt;SPAN&gt;very kind regards&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Mar 2018 15:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442397#M69294</guid>
      <dc:creator>Achieng</dc:creator>
      <dc:date>2018-03-05T15:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: paired samples T-test for categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442418#M69295</link>
      <description>&lt;P&gt;You want a Chi-Squared test to compare the binomial proportions (percent 0 vs percent 1) at the two time periods. This can be done using PROC FREQ with the CHISQ option.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 16:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442418#M69295</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-05T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: paired samples T-test for categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442436#M69296</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;I was not sure, Now I am.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/paired-samples-T-test-for-categorical-variables/m-p/442436#M69296</guid>
      <dc:creator>Achieng</dc:creator>
      <dc:date>2018-03-05T17:20:37Z</dc:date>
    </item>
  </channel>
</rss>

