<?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: Independent sample t test using the diff variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96604#M4823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, look what happens when you simulate 80 normal values with a mean of 1.5 and a standard deviation of one. You get some negative values. That's perfectly &lt;EM&gt;normal&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;data test;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;call streaminit(56798);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;do id = 1 to 80;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = rand("NORMAL",1.5,1);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;proc univariate data=test normal;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;var x;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;histogram / nmidpoints=8 href=0;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Histogram4.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2194_Histogram4.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jul 2012 02:18:01 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2012-07-01T02:18:01Z</dc:date>
    <item>
      <title>Independent sample t test using the diff variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96603#M4822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use the independent sample t test to see if the change in a variable is significantly different in 2 groups.&lt;/P&gt;&lt;P&gt;The variables are platelet inhibition before and after a intervention of a drug.Ideally the platelet inhibition should increase after the intervention. Now I want to see if the difference in the platelet inhibition (after minus before drug intervention) is significantly different in diabetic and non-diabetic patients.&lt;/P&gt;&lt;P&gt;But when i create this new variable of "difference" (after minus before), there are some values that are negative... it seems the platelet inhibition didnot increase in some patients after using the drug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is if it is alright to still use this variable (with a few negative values) while pefomring the independent sample t test or non parametric the Man-whittney test?&lt;/P&gt;&lt;P&gt;Logically it sounds right to me..but i would like to get some experts opinion on this.&lt;/P&gt;&lt;P&gt;Response appreciated!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashwini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 01:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96603#M4822</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-07-01T01:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Independent sample t test using the diff variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96604#M4823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, look what happens when you simulate 80 normal values with a mean of 1.5 and a standard deviation of one. You get some negative values. That's perfectly &lt;EM&gt;normal&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;data test;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;call streaminit(56798);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;do id = 1 to 80;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = rand("NORMAL",1.5,1);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;proc univariate data=test normal;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;var x;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;histogram / nmidpoints=8 href=0;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Histogram4.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2194_Histogram4.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 02:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96604#M4823</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-07-01T02:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Independent sample t test using the diff variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96605#M4824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for this illustration! that makes perfect sense.&lt;/P&gt;&lt;P&gt;I am wondering after I perform the Independent t test or the man-whittney test using this 'difference"&lt;BR /&gt; (after-before) variable, "what exactly' in the results tells me that the "difference" is positive (after values &amp;gt;than before values; which is expected) and not negative.&lt;/P&gt;&lt;P&gt;I know the results will tell us if this "difference/change in platelet inhibition after intervention " in the 2 groups (diabetic and nondiabetic) is significantly different or not. But I am curious to know how I would know if the overall difference/change is positive or negative for the whole data.&lt;/P&gt;&lt;P&gt;Appreicate your response!&lt;/P&gt;&lt;P&gt;Ashwini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 19:55:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96605#M4824</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-07-01T19:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Independent sample t test using the diff variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96606#M4825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whatever procedure you use to do the test will give you the means or some measure of location, so you will know which group is higher. Also, given that your hypothesis is one-sided, you should be doing unilateral testing. - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 02:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Independent-sample-t-test-using-the-diff-variable/m-p/96606#M4825</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-07-02T02:48:35Z</dc:date>
    </item>
  </channel>
</rss>

