<?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: Hypothesis test in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456294#M115556</link>
    <description>&lt;P&gt;CLASS statement contains the variable that distinquishes the groups being compared.&lt;BR /&gt;VAR statement specifies the response variable to be used in calculations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI: &lt;A href="http://www.math.wpi.edu/saspdf/stat/chap67.pdf" target="_blank"&gt;http://www.math.wpi.edu/saspdf/stat/chap67.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Apr 2018 14:17:50 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2018-04-22T14:17:50Z</dc:date>
    <item>
      <title>Hypothesis test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456243#M115542</link>
      <description>&lt;P&gt;I am trying to perform a hypothesis test to determine if more than 10% of cereals are manufactured by Post. Significance level=0.10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here it is my code and the data set:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DATA cereal;&lt;BR /&gt;INFILE "/folders/myfolders/cereal.txt"&lt;BR /&gt;DLM=',' FIRSTOBS=2 DSD MISSOVER;&lt;BR /&gt;INPUT Name :$50. Manufacturer $ Type $ Calories Protein Sodium Fiber Carbohydrates Sugars Potassium Vitamins Weight Cups;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC PRINT DATA=cereal;&lt;BR /&gt;RUN; &lt;BR /&gt;&lt;BR /&gt;PROC TTEST DATA= Cereal;&lt;BR /&gt;VAR Manufacturer;&lt;BR /&gt;RUN;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 01:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456243#M115542</guid>
      <dc:creator>Miah</dc:creator>
      <dc:date>2018-04-22T01:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hypothesis test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456294#M115556</link>
      <description>&lt;P&gt;CLASS statement contains the variable that distinquishes the groups being compared.&lt;BR /&gt;VAR statement specifies the response variable to be used in calculations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI: &lt;A href="http://www.math.wpi.edu/saspdf/stat/chap67.pdf" target="_blank"&gt;http://www.math.wpi.edu/saspdf/stat/chap67.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 14:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456294#M115556</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-04-22T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hypothesis test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456334#M115568</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194785"&gt;@Miah&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to perform a hypothesis test to determine if more than 10% of cereals are manufactured by Post. Significance level=0.10.&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC TTEST will not perform the hypothesis test you are describing, nor will it even compute the percent of cereals manufactured by POST.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ will compute the percent of cereals manufactured by each manufacturer. The BINOMIAL option in the TABLES statement will perform the desired hypothesis test. &lt;A href="http://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_freq_examples04.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_freq_examples04.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 20:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456334#M115568</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-22T20:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hypothesis test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456341#M115570</link>
      <description>&lt;P&gt;The question you have to ask yourself is "have you met the prerequisites" for whatever analysis you want to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do your 77 records represent a random sample of all cereal types (e.g., see&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/List_of_breakfast_cereals" target="_blank"&gt;https://en.wikipedia.org/wiki/List_of_breakfast_cereals&lt;/A&gt; )?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simple question of whether Post cereals represent at least 10% of those represented in your data, a simple proc freq shows that to be true. But statistics (other than descriptive) can't (I don't think) provide what you're looking for unless you meet the assumptions of the analysis you want to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 22:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/456341#M115570</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-04-22T22:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hypothesis test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/492555#M129444</link>
      <description>&lt;P&gt;&lt;A href="http://sascertified.blogspot.com/p/sas-hypothesis-testing.html" target="_blank"&gt;&lt;STRONG&gt;Hypothesis testing&lt;/STRONG&gt;&lt;/A&gt; is the use of statistics to determine the probability that a given hypothesis is true.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 05:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hypothesis-test/m-p/492555#M129444</guid>
      <dc:creator>Justin_Allison</dc:creator>
      <dc:date>2018-09-10T05:56:06Z</dc:date>
    </item>
  </channel>
</rss>

