<?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: Two Sample Paired T Test Results in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/503281#M25903</link>
    <description>&lt;P&gt;The file is what happens when I run a two sample t-test. Code is below. I guess what is confusing me is that it doesn't show any graphs when I do two sample as opposed to the paired test, which does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Task code generated by SAS Studio 3.7 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on '10/10/18, 5:00 PM' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated by 'avalenzuela6@capellauniversity.edu' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on server 'ODAWS01.ODA.SAS.COM' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on SAS platform 'Linux LIN X64 3.10.0-693.21.1.el7.x86_64' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on SAS version '9.04.01M5P09132017' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on browser 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on web client '&lt;A href="https://odamid.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00" target="_blank"&gt;https://odamid.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00&lt;/A&gt;' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;noproctitle&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;graphics&lt;/SPAN&gt; &lt;SPAN class="sep"&gt;/&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;imagemap&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text"&gt;on&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;/*** Test for normality ***/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=" block-mark"&gt;&lt;SPAN class="sec-keyword"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="sec-keyword"&gt;univariate&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;data&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text"&gt;WORK.IMPORT &lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;normal&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;mu0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="numeric"&gt;0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;select&lt;/SPAN&gt;&lt;SPAN class="text"&gt; TestsForNormality&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;class&lt;/SPAN&gt;&lt;SPAN class="text"&gt; SF&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;var&lt;/SPAN&gt;&lt;SPAN class="text"&gt; UniDun&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="sec-keyword"&gt;run&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;/*** t Test ***/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=" block-mark"&gt;&lt;SPAN class="sec-keyword"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="sec-keyword"&gt;ttest&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;data&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text"&gt;WORK.IMPORT &lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;sides&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="numeric"&gt;2&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;h0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="numeric"&gt;0&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;plots&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;showh0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;class&lt;/SPAN&gt;&lt;SPAN class="text"&gt; SF&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;var&lt;/SPAN&gt;&lt;SPAN class="text"&gt; UniDun&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="sec-keyword"&gt;run&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Oct 2018 00:03:49 GMT</pubDate>
    <dc:creator>avalenzuela6</dc:creator>
    <dc:date>2018-10-11T00:03:49Z</dc:date>
    <item>
      <title>Two Sample Paired T Test Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/502515#M25870</link>
      <description>&lt;P&gt;I am trying to compare two different versions of the same product. Since they are independent of each other, I decided that I should do an independent sample t-test. When I go to do a two-sample test on SAS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;OnDemand for Academics, the results don't make any sense. When I do a paired test however, it generates perfect results. Have I decided to run the wrong test or am I just missing something?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 20:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/502515#M25870</guid>
      <dc:creator>avalenzuela6</dc:creator>
      <dc:date>2018-10-08T20:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Two Sample Paired T Test Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/502539#M25872</link>
      <description>&lt;P&gt;I have looked at your PDF file, and this requires more explanation, specifically which test is which, and which ones make perfect senses and so on.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you also show us the code you used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Furthermore, since you state that your data is not paired, you should not do a paired t-test, it will be meaningless.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 21:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/502539#M25872</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-08T21:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Two Sample Paired T Test Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/502548#M25876</link>
      <description>&lt;P&gt;Show the code, please. This looks like the output from PROC UNIVARIATE and it looks like a BY group analysis in which each group has one or two observations.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 22:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/502548#M25876</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-08T22:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Two Sample Paired T Test Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/503281#M25903</link>
      <description>&lt;P&gt;The file is what happens when I run a two sample t-test. Code is below. I guess what is confusing me is that it doesn't show any graphs when I do two sample as opposed to the paired test, which does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Task code generated by SAS Studio 3.7 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on '10/10/18, 5:00 PM' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated by 'avalenzuela6@capellauniversity.edu' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on server 'ODAWS01.ODA.SAS.COM' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on SAS platform 'Linux LIN X64 3.10.0-693.21.1.el7.x86_64' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on SAS version '9.04.01M5P09132017' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on browser 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;* Generated on web client '&lt;A href="https://odamid.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00" target="_blank"&gt;https://odamid.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00&lt;/A&gt;' &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;noproctitle&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;graphics&lt;/SPAN&gt; &lt;SPAN class="sep"&gt;/&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;imagemap&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text"&gt;on&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;/*** Test for normality ***/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=" block-mark"&gt;&lt;SPAN class="sec-keyword"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="sec-keyword"&gt;univariate&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;data&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text"&gt;WORK.IMPORT &lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;normal&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;mu0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="numeric"&gt;0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;select&lt;/SPAN&gt;&lt;SPAN class="text"&gt; TestsForNormality&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;class&lt;/SPAN&gt;&lt;SPAN class="text"&gt; SF&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;var&lt;/SPAN&gt;&lt;SPAN class="text"&gt; UniDun&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="sec-keyword"&gt;run&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="comment"&gt;/*** t Test ***/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=" block-mark"&gt;&lt;SPAN class="sec-keyword"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="sec-keyword"&gt;ttest&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;data&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text"&gt;WORK.IMPORT &lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;sides&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="numeric"&gt;2&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;h0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;=&lt;/SPAN&gt;&lt;SPAN class="numeric"&gt;0&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;plots&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword"&gt;showh0&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;class&lt;/SPAN&gt;&lt;SPAN class="text"&gt; SF&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="keyword"&gt;var&lt;/SPAN&gt;&lt;SPAN class="text"&gt; UniDun&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="sec-keyword"&gt;run&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Oct 2018 00:03:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/503281#M25903</guid>
      <dc:creator>avalenzuela6</dc:creator>
      <dc:date>2018-10-11T00:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Two Sample Paired T Test Results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/503380#M25912</link>
      <description>&lt;P&gt;I suspect that the SF variable contains more than two levels. The SF variable should contain two values that indicate the product version. The UniDun&amp;nbsp;variable contains the measurements.&amp;nbsp;Your data should look like this example:&lt;/P&gt;
&lt;P&gt;SF&amp;nbsp; UniDun&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp;1.23&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp;3.21&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp;4.23&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp;2.14&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;4.53&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;3.43&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;3.61&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;3.87&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the PROC UNIVARIATE output, it looks like your data might look more like this:&lt;/P&gt;
&lt;P&gt;SF&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;UniDun&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp;1.23&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp;3.21&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;4.23&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp;2.14&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;12&amp;nbsp; &amp;nbsp;4.53&lt;/P&gt;
&lt;P&gt;12&amp;nbsp; &amp;nbsp;3.43&lt;/P&gt;
&lt;P&gt;13&amp;nbsp; &amp;nbsp;3.61&lt;/P&gt;
&lt;P&gt;13&amp;nbsp; &amp;nbsp;3.87&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use PROC FREQ to produce the values of the SF variable:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=WORK.IMPORT;
tables SF;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Oct 2018 11:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-Sample-Paired-T-Test-Results/m-p/503380#M25912</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-11T11:50:51Z</dc:date>
    </item>
  </channel>
</rss>

