<?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: Testing for true mean. Am I drawing the proper conclusion? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611908#M76813</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=FINAL alpha=0.02 cibasic mu0=3.03;
var GPA;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since this is a test for Mu&amp;gt;0.03, I should subtract the p-value given in the printout by 1 and use that as the p-value right? p-value= 1-0.0278= 0.9722.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't think this is correct. I don't think you subtract from 1, none of the SAS hypothesis tests that I know require subtracting from 1. Nevertheless, it would be&amp;nbsp;&lt;EM&gt;extremely&amp;nbsp;&lt;/EM&gt;helpful if you showed us the relevant parts of the PROC UNIVARIATE output.&lt;/P&gt;</description>
    <pubDate>Sun, 15 Dec 2019 19:12:50 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-12-15T19:12:50Z</dc:date>
    <item>
      <title>Testing for true mean. Am I drawing the proper conclusion?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611900#M76812</link>
      <description>&lt;P&gt;Apologies ahead of time, this question is more stats related and less SAS.&lt;/P&gt;
&lt;P&gt;I have a data set with 700 gpas (and a few other factors but they're not relevant to my question)&lt;/P&gt;
&lt;P&gt;I want to produce a 98% confidence interval for the GPA, which I think I did successfully here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname soapy '\\Client\D$\SAS\Data';
data FINAL;
infile '\\Client\D$\SAS\Data\finaldata.txt';
input ID GPA HSRANK ACT YEAR;
run;
proc means data= FINAL n mean stderr alpha=0.02 median p50 clm maxdec=2;
var GPA;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Giving the C.I. [2.92 and 3.03].&lt;/P&gt;
&lt;P&gt;OK sounds good.&lt;/P&gt;
&lt;P&gt;Then I am testing that the average GPA is greater than 3.03, which well, based on my interval from the printout seems unlikely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=FINAL alpha=0.02 cibasic mu0=3.03;
var GPA;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since this is a test for Mu&amp;gt;0.03, I should subtract the p-value given in the printout by 1 and use that as the p-value right? p-value= 1-0.0278= 0.9722. which would cause me to reject the null hypothesis and conclude the mean is greater than 3.03, which conflicts with the CI above. Am I misinterpreting this or doing something wrong? Thanks (DATA attached)&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 18:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611900#M76812</guid>
      <dc:creator>valarievil</dc:creator>
      <dc:date>2019-12-15T18:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for true mean. Am I drawing the proper conclusion?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611908#M76813</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=FINAL alpha=0.02 cibasic mu0=3.03;
var GPA;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since this is a test for Mu&amp;gt;0.03, I should subtract the p-value given in the printout by 1 and use that as the p-value right? p-value= 1-0.0278= 0.9722.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't think this is correct. I don't think you subtract from 1, none of the SAS hypothesis tests that I know require subtracting from 1. Nevertheless, it would be&amp;nbsp;&lt;EM&gt;extremely&amp;nbsp;&lt;/EM&gt;helpful if you showed us the relevant parts of the PROC UNIVARIATE output.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 19:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611908#M76813</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-15T19:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for true mean. Am I drawing the proper conclusion?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611936#M76815</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="checkmeplz.JPG" style="width: 425px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34793i8B825139A2D1670A/image-size/large?v=v2&amp;amp;px=999" role="button" title="checkmeplz.JPG" alt="checkmeplz.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 01:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611936#M76815</guid>
      <dc:creator>valarievil</dc:creator>
      <dc:date>2019-12-16T01:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Testing for true mean. Am I drawing the proper conclusion?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611937#M76816</link>
      <description>&lt;P&gt;This makes perfect sense to me. A 98% confidence interval for the mean goes from 2.92519 to 3.03304, indicating that with alpha=0.02, the evidence is that the observed mean is not different than 3.03.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, PROC UNIVARIATE says the p-value is 0.0278, but for a difference to be significant at the alpha=0.02 level, you would need a p-value LESS THAN 0.02, it is not less than 0.02, which agrees with the result I stated in the previous paragraph.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 02:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Testing-for-true-mean-Am-I-drawing-the-proper-conclusion/m-p/611937#M76816</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-16T02:12:36Z</dc:date>
    </item>
  </channel>
</rss>

