<?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 Test for significant difference in proportion of Males from 2005 to 2010 in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119299#M6265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to determine if the proportion of Males over the time period of 2005 to 2010 changes significantly. Below is a breakdown of the proportions of gender over the years time period. I am having issues determining the best process to use to conclude if there is a significant change over time in the proportion of Males for my study. Thank you for any help you can provide. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I FIRST CREATED A DATASET FROM THE PROC FREQ OUTPUT&lt;/P&gt;&lt;P&gt;proc freq data=demographics;&lt;/P&gt;&lt;P&gt;tables gender/out=gender noprint;&lt;/P&gt;&lt;P&gt;by year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM A TTEST TO DETERMINE IF YEAR PROPORTIONS OF MALES DIFFER - IS THIS CORRECT?&lt;/P&gt;&lt;P&gt;proc ttest data=gender;&lt;/P&gt;&lt;P&gt;var percent;&lt;/P&gt;&lt;P&gt;where gender = "M";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM A GLM MODELING YEAR AS MY OUTCOME - IS THIS CORRECT?&lt;/P&gt;&lt;P&gt;proc glm data=gender;&lt;/P&gt;&lt;P&gt;model year=percent;&lt;/P&gt;&lt;P&gt;where gender = "M";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" summary="Page Layout" width="337"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl73" height="40" rowspan="2" style="border-bottom: .5pt solid black;" width="105"&gt;year&lt;/TD&gt;&lt;TD class="xl65" rowspan="2" style="border-bottom: .5pt solid black;" width="54"&gt;Gender&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="72"&gt;Frequency&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="106"&gt;Percent of Total&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-left: none;" width="72"&gt;Count&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="106"&gt;Frequency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2005&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17248&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;48.6902&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2005&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;18176&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;51.3098&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2006&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;16791&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.2968&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2006&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17270&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.7032&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2007&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17027&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.6356&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2007&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17277&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.3644&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2008&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17480&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.3409&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2008&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17947&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.6591&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2009&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;19291&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.2733&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2009&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;19860&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.7267&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2010&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;22624&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.2619&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl70" height="21" style="border-top: none;" width="105"&gt;2010&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;" width="72"&gt;23302&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;" width="106"&gt;50.7381&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2012 17:19:05 GMT</pubDate>
    <dc:creator>HyunJee</dc:creator>
    <dc:date>2012-05-17T17:19:05Z</dc:date>
    <item>
      <title>Test for significant difference in proportion of Males from 2005 to 2010</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119299#M6265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to determine if the proportion of Males over the time period of 2005 to 2010 changes significantly. Below is a breakdown of the proportions of gender over the years time period. I am having issues determining the best process to use to conclude if there is a significant change over time in the proportion of Males for my study. Thank you for any help you can provide. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I FIRST CREATED A DATASET FROM THE PROC FREQ OUTPUT&lt;/P&gt;&lt;P&gt;proc freq data=demographics;&lt;/P&gt;&lt;P&gt;tables gender/out=gender noprint;&lt;/P&gt;&lt;P&gt;by year;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM A TTEST TO DETERMINE IF YEAR PROPORTIONS OF MALES DIFFER - IS THIS CORRECT?&lt;/P&gt;&lt;P&gt;proc ttest data=gender;&lt;/P&gt;&lt;P&gt;var percent;&lt;/P&gt;&lt;P&gt;where gender = "M";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM A GLM MODELING YEAR AS MY OUTCOME - IS THIS CORRECT?&lt;/P&gt;&lt;P&gt;proc glm data=gender;&lt;/P&gt;&lt;P&gt;model year=percent;&lt;/P&gt;&lt;P&gt;where gender = "M";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" summary="Page Layout" width="337"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl73" height="40" rowspan="2" style="border-bottom: .5pt solid black;" width="105"&gt;year&lt;/TD&gt;&lt;TD class="xl65" rowspan="2" style="border-bottom: .5pt solid black;" width="54"&gt;Gender&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="72"&gt;Frequency&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="106"&gt;Percent of Total&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-left: none;" width="72"&gt;Count&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="106"&gt;Frequency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2005&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17248&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;48.6902&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2005&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;18176&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;51.3098&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2006&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;16791&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.2968&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2006&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17270&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.7032&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2007&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17027&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.6356&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2007&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17277&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.3644&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2008&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17480&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.3409&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2008&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;17947&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.6591&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2009&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;19291&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.2733&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2009&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;19860&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;50.7267&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: none;" width="105"&gt;2010&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="54"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="72"&gt;22624&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;" width="106"&gt;49.2619&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl70" height="21" style="border-top: none;" width="105"&gt;2010&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;" width="54"&gt;M&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;" width="72"&gt;23302&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-top: none; border-left: none;" width="106"&gt;50.7381&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 17:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119299#M6265</guid>
      <dc:creator>HyunJee</dc:creator>
      <dc:date>2012-05-17T17:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Test for significant difference in proportion of Males from 2005 to 2010</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119300#M6266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither of the approaches that you showed are correct because they don't take the sample size into account.&amp;nbsp; There are several ways to approach this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;you could simply do a trend test in the PROC FREQ.&amp;nbsp; Add the TREND option to the TABLES statement.&amp;nbsp; This assumes that year is ordinal scale.&lt;/LI&gt;&lt;LI&gt;you could do a logistic regression with gender as the outcome and year as the predictor.&amp;nbsp; This assumes that year has a ratio scale.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 18:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119300#M6266</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-05-17T18:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Test for significant difference in proportion of Males from 2005 to 2010</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119301#M6267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestions. I do realize now that I was not taking into account sample sizes. &lt;/P&gt;&lt;P&gt;I ran the suggested analysis and they do tell me if the proportions of gender change over time. Thank you again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 18:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119301#M6267</guid>
      <dc:creator>HyunJee</dc:creator>
      <dc:date>2012-05-17T18:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Test for significant difference in proportion of Males from 2005 to 2010</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119302#M6268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome.&amp;nbsp; One caution is in interpretation.&amp;nbsp; You have a very large sample size, so the test may be statistically significant without being "important".&amp;nbsp; You observed a 0.6% drop between 2005 and 2006 and no more than a 0.25% after that; which may or may not be "important" depending on the context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 16:26:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Test-for-significant-difference-in-proportion-of-Males-from-2005/m-p/119302#M6268</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-05-18T16:26:49Z</dc:date>
    </item>
  </channel>
</rss>

