<?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 Two sample t-test and z-test. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60482#M2803</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have two samples and I want to test the null hypothesis (mean sample1=mean sample2) using once t-test and then z-test.&lt;BR /&gt;
&lt;BR /&gt;
For t-test, I use:&lt;BR /&gt;
&lt;BR /&gt;
proc ttest data=mydata;&lt;BR /&gt;
var my_variable;&lt;BR /&gt;
class grouping_variable;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Is it right? the out put is a bit confusing to me. Should I use Pr &amp;gt; |t| or Pr &amp;gt; F to determine the significance of the difference?&lt;BR /&gt;
&lt;BR /&gt;
Could you please let me know how to run the z-test as well.&lt;BR /&gt;
Thanks&lt;BR /&gt;
Malek</description>
    <pubDate>Sat, 20 Feb 2010 00:32:43 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-02-20T00:32:43Z</dc:date>
    <item>
      <title>Two sample t-test and z-test.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60482#M2803</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have two samples and I want to test the null hypothesis (mean sample1=mean sample2) using once t-test and then z-test.&lt;BR /&gt;
&lt;BR /&gt;
For t-test, I use:&lt;BR /&gt;
&lt;BR /&gt;
proc ttest data=mydata;&lt;BR /&gt;
var my_variable;&lt;BR /&gt;
class grouping_variable;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Is it right? the out put is a bit confusing to me. Should I use Pr &amp;gt; |t| or Pr &amp;gt; F to determine the significance of the difference?&lt;BR /&gt;
&lt;BR /&gt;
Could you please let me know how to run the z-test as well.&lt;BR /&gt;
Thanks&lt;BR /&gt;
Malek</description>
      <pubDate>Sat, 20 Feb 2010 00:32:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60482#M2803</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-20T00:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Two sample t-test and z-test.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60483#M2804</link>
      <description>Pr&amp;gt;|t| is the t-test you are asking about.&lt;BR /&gt;
&lt;BR /&gt;
Pr&amp;gt;|F| is the comparison of the variances of the two groups.&lt;BR /&gt;
&lt;BR /&gt;
It isn't strictly proper to do a z-test on data where the std dev is estimated from the sample.</description>
      <pubDate>Mon, 22 Feb 2010 14:11:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60483#M2804</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2010-02-22T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Two sample t-test and z-test.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60484#M2805</link>
      <description>To follow-up on Paige's comment, though not strictly proper, the t-distribution converges to the Z-distribution as the sample size goes to infinity so you should reach the same conclusion if the sample size is large.</description>
      <pubDate>Mon, 22 Feb 2010 17:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-t-test-and-z-test/m-p/60484#M2805</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-02-22T17:49:58Z</dc:date>
    </item>
  </channel>
</rss>

