<?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: Would you be able to conclude the association just based on the three percentages? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354868#M83081</link>
    <description>&lt;P&gt;Always look at both the raw numbers and percentage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Raw to determine if it matters, percentage for comparison. If the percentages show a huge&amp;nbsp;discrepancy it's usually because of the small N.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the possibility of a hospital having only baby boys in a week?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It depends on the number of events - if it only has one or two births a week, it's highly likely this could occur. If it has 1000 births it's really unlikely.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2017 05:06:39 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-05-01T05:06:39Z</dc:date>
    <item>
      <title>Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354836#M83068</link>
      <description>&lt;P&gt;Here is a dataset about abalone and its indexes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)how can I calculate the percentage that the infant in the middle ring group by using sas procedure?&lt;/P&gt;&lt;P&gt;2)I have already got the percent of the infant (sex=I) abalones and the percent of the medium ring group(the ring values between 9 and 11, inclusive), but would I be able to conclude whether the ring group and the sex are associated of not based on these three percentages? &amp;nbsp;(actually the question(2) is not about the sas procedure, it is just a simple statistical question.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THE INUT FORMAT HAS BEEN GIVEN:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA fn.abalone;&lt;BR /&gt;LENGTH GROUP $10;&lt;BR /&gt;INFILE 'C:\Users\Administrator\Desktop\SAS\final_takehome\abalone.txt' DLM=',' DSD;&lt;BR /&gt;/* change the path please! */&lt;BR /&gt;INPUT sex $ length diam height whole shucked viscera shell rings;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;IF RINGS LT 9 THEN GROUP='SMALL';&lt;BR /&gt;ELSE IF RINGS GE 9 AND RINGS LE 11 THEN GROUP='MEDIUM';&lt;BR /&gt;ELSE IF RINGS GT 11 THEN GROUP='LARGE';&lt;/P&gt;&lt;P&gt;RUN;&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;&lt;P&gt;thanks a lot!!!&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2017 21:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354836#M83068</guid>
      <dc:creator>Phoebelee</dc:creator>
      <dc:date>2017-04-30T21:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354846#M83073</link>
      <description>&lt;P&gt;For 2, what test are you using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2017 23:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354846#M83073</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-30T23:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354857#M83074</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think what my prof asked is just simply talking about whether would I be abel to conclude the association based on the three percentages and then use chi square test to check if the results match with the former guess.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 14:22:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354857#M83074</guid>
      <dc:creator>Phoebelee</dc:creator>
      <dc:date>2017-05-01T14:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354859#M83076</link>
      <description>&lt;P&gt;Contingency table tests are based on &lt;STRONG&gt;frequencies&lt;/STRONG&gt;, not percentages. Compare:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA abalone;
LENGTH GROUP $10;
INFILE "&amp;amp;sasforum\datasets\abalone.txt" DSD;
INPUT sex $ length diam height whole shucked viscera shell rings;
IF RINGS LT 9 THEN GROUP='SMALL';
ELSE IF RINGS GE 9 AND RINGS LE 11 THEN GROUP='MEDIUM';
ELSE IF RINGS GT 11 THEN GROUP='LARGE';
RUN;

/* Tests based on frequencies */
proc freq data=abalone;
table sex*group / deviation chisq out=aba_pct;
exact fisher / mc;
run;

/* Check the percentages */
proc print data=aba_pct noobs; run;

/* Tests based on percentages */
proc freq data=aba_pct;
weight percent;
table sex*group / deviation chisq;
exact fisher / mc; /* Will not work because of non-integer frequencies */
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 May 2017 03:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354859#M83076</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-05-01T03:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354861#M83077</link>
      <description>&lt;P&gt;Note: The relationship between rings and maturity is better illustrated with logistic regression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data aba_maturity;
set abalone;
mature = sex in ("M", "F");
run;

proc logistic data=aba_maturity;
model mature(event="1") = rings;
effectplot fit(x=rings) / obs(jitter(y=0.1));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8642i9C7111C1E894118C/image-size/medium?v=1.0&amp;amp;px=-1" border="0" alt="FitPlot1.png" title="FitPlot1.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 03:44:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354861#M83077</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-05-01T03:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354862#M83078</link>
      <description>&lt;P&gt;Thank you, but would I be able to get an intuitive result just from those three percentages?&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 03:47:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354862#M83078</guid>
      <dc:creator>Phoebelee</dc:creator>
      <dc:date>2017-05-01T03:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354865#M83079</link>
      <description>&lt;P&gt;You cannot evaluate the relationship between two variables by looking at the proportions for only one variable. I would base my&lt;EM&gt; intuition&lt;/EM&gt; on the &lt;STRONG&gt;deviations&lt;/STRONG&gt; in the freq table. Percentages alone can be missleading as they can be based on small numbers. What if the total number of fish was only 20?&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 03:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354865#M83079</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-05-01T03:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354868#M83081</link>
      <description>&lt;P&gt;Always look at both the raw numbers and percentage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Raw to determine if it matters, percentage for comparison. If the percentages show a huge&amp;nbsp;discrepancy it's usually because of the small N.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the possibility of a hospital having only baby boys in a week?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It depends on the number of events - if it only has one or two births a week, it's highly likely this could occur. If it has 1000 births it's really unlikely.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 05:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354868#M83081</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-01T05:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Would you be able to conclude the association just based on the three percentages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354939#M83091</link>
      <description>Thank you I think I get it!!</description>
      <pubDate>Mon, 01 May 2017 14:23:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Would-you-be-able-to-conclude-the-association-just-based-on-the/m-p/354939#M83091</guid>
      <dc:creator>Phoebelee</dc:creator>
      <dc:date>2017-05-01T14:23:14Z</dc:date>
    </item>
  </channel>
</rss>

