<?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: HELP - hypothesis testing!!! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80237#M256599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;μ&lt;SUB&gt;D is the population paramater for the DIffernce of scores before the coaching, and the difference of scores after testing. So in your example it is 85-70. However that is just a point estimate, and to do a hypothesis test you must find the upper and lower bounds of this estimate, and determine with X % confidence if the old number is within those bounds.&lt;/SUB&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;You are doing a comparsion between two means of Dependent Samples (t test), if that helps you in reference to your statistics book. I say it is a dependent sample because from your description it sounds like each person was given a test, and then coached, and then given a test again. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Question for you, why is your significance level related to your sample size / 400? You set the signifiance level (80%, 90%, 95%, 99%) and this can be totally un-related to your sample size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Anyways, you are doing a t test with N-1 degrees of freedom, with mean=85-70, standard deviation = 225, and your R is irrelavent (in this case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;SO make an upper and lower bounds at your Alpha level of confidence, and if 70 is in that bounded area, then you cannot reject your null hypothesis. Otherwise you can&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 17:14:03 GMT</pubDate>
    <dc:creator>Anotherdream</dc:creator>
    <dc:date>2013-05-20T17:14:03Z</dc:date>
    <item>
      <title>HELP - hypothesis testing!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80235#M256597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" height="37" style="margin-left: 4.65pt; border-collapse: collapse; border: medium none; width: 373px;"&gt;&lt;TBODY&gt;&lt;TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 12.75pt;"&gt;&lt;TD nowrap="nowrap" style="width: 50.0pt; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="67"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;STRONG style="mso-bidi-font-weight: normal; background: yellow; font-size: 14.0pt; mso-highlight: yellow; font-family: 'Arial','sans-serif';"&gt;msb&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="width: 55.0pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="73"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;STRONG style="mso-bidi-font-weight: normal; background: yellow; font-size: 14.0pt; mso-highlight: yellow; font-family: 'Arial','sans-serif';"&gt;msa&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="width: 48.0pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="64"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;STRONG style="mso-bidi-font-weight: normal; background: yellow; font-size: 14.0pt; mso-highlight: yellow; font-family: 'Arial','sans-serif';"&gt;sd&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="width: 48.0pt; border: solid windowtext 1.0pt; border-left: none; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="64"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;STRONG style="mso-bidi-font-weight: normal; background: yellow; font-size: 14.0pt; mso-highlight: yellow; font-family: 'Arial','sans-serif';"&gt;r&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 1; mso-yfti-lastrow: yes; height: 12.75pt;"&gt;&lt;TD nowrap="nowrap" style="width: 50.0pt; border: solid windowtext 1.0pt; border-top: none; mso-border-top-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="67"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;70&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="width: 55.0pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="73"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;85&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="width: 48.0pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="64"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;225&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="width: 48.0pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; height: 12.75pt;" valign="bottom" width="64"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;0.81&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;STRONG style="mso-bidi-font-weight: normal; line-height: 150%; font-size: 10.0pt;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 150%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 150%;"&gt;msb - &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt; denotes mean score before coaching,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msa - &lt;/STRONG&gt; denotes mean score after coaching &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;sd - &lt;/STRONG&gt; denotes sample standard deviation of the difference between individual scores&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r&lt;/STRONG&gt; - denotes simple correlation between the scores&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="line-height: 150%; font-size: 10.0pt; mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%; text-align: justify;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;If &lt;STRONG&gt;μ&lt;SUB&gt;D&lt;/SUB&gt;&lt;/STRONG&gt; denotes the population mean of the difference between &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%; text-align: justify;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;population score before and after coaching, then&lt;STRONG&gt; H&lt;SUB&gt;0&lt;/SUB&gt;: μ&lt;SUB&gt;D &lt;/SUB&gt;=0&lt;/STRONG&gt; agains&lt;STRONG&gt;t H&lt;SUB&gt;1&lt;/SUB&gt;: : μ&lt;SUB&gt;D &lt;/SUB&gt;≠0&lt;/STRONG&gt; can be tested &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%; text-align: justify;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;using statistic&lt;STRONG&gt; td&lt;/STRONG&gt;, where td = 'on clip'&lt;STRONG&gt;&lt;SUB&gt; &lt;/SUB&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that follows student’s t distribution with n-1 &lt;SPAN style="mso-spacerun: yes;"&gt;d&lt;/SPAN&gt;egrees of freedom. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="line-height: 150%; font-size: 10.0pt; mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help -&lt;/STRONG&gt;&lt;/SPAN&gt; writing&lt;/SPAN&gt; data step to create a data set with a variable decision_message that must be &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assigned &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;either “H&lt;SUB&gt;0&lt;/SUB&gt; is accepted” or “H&lt;SUB&gt;0&lt;/SUB&gt; is rejected". &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="line-height: 150%; font-size: 10.0pt; mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;The sample size &lt;STRONG&gt;(n)&lt;/STRONG&gt; will be sum of all digits of &lt;STRONG&gt;ID ='bg999999' &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; level of significance will be sum of last 4&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;digits &lt;STRONG&gt;ID ='bg999999'&lt;/STRONG&gt; divided by 400. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: 150%;"&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Define &lt;STRONG&gt;ID=’bg999999’&lt;/STRONG&gt;, and extract digits from variable ID to get both n and alpha. &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11542i8E41C2139801FD7C/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="clip_image002.gif" title="clip_image002.gif" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 15:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80235#M256597</guid>
      <dc:creator>Sandy</dc:creator>
      <dc:date>2013-05-20T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - hypothesis testing!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80236#M256598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnt mean to ask for the whole thing - But how do i determine &lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;μ&lt;SUB&gt;D&lt;/SUB&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;&lt;SUB&gt;and td to compare to alpha and conclude either Ho or Ha.&lt;/SUB&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; line-height: 150%;"&gt;&lt;STRONG&gt;&lt;SUB&gt;Thanks&lt;BR /&gt;&lt;/SUB&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 15:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80236#M256598</guid>
      <dc:creator>Sandy</dc:creator>
      <dc:date>2013-05-20T15:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: HELP - hypothesis testing!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80237#M256599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;μ&lt;SUB&gt;D is the population paramater for the DIffernce of scores before the coaching, and the difference of scores after testing. So in your example it is 85-70. However that is just a point estimate, and to do a hypothesis test you must find the upper and lower bounds of this estimate, and determine with X % confidence if the old number is within those bounds.&lt;/SUB&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;You are doing a comparsion between two means of Dependent Samples (t test), if that helps you in reference to your statistics book. I say it is a dependent sample because from your description it sounds like each person was given a test, and then coached, and then given a test again. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Question for you, why is your significance level related to your sample size / 400? You set the signifiance level (80%, 90%, 95%, 99%) and this can be totally un-related to your sample size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Anyways, you are doing a t test with N-1 degrees of freedom, with mean=85-70, standard deviation = 225, and your R is irrelavent (in this case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;SO make an upper and lower bounds at your Alpha level of confidence, and if 70 is in that bounded area, then you cannot reject your null hypothesis. Otherwise you can&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 17:14:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/HELP-hypothesis-testing/m-p/80237#M256599</guid>
      <dc:creator>Anotherdream</dc:creator>
      <dc:date>2013-05-20T17:14:03Z</dc:date>
    </item>
  </channel>
</rss>

