06-30-2012 09:54 PM
I am trying to use the independent sample t test to see if the change in a variable is significantly different in 2 groups.
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.
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.
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?
Logically it sounds right to me..but i would like to get some experts opinion on this.
06-30-2012 10:18 PM
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 normal.
do id = 1 to 80;
x = rand("NORMAL",1.5,1);
proc univariate data=test normal;
histogram / nmidpoints=8 href=0;
07-01-2012 03:55 PM
Thanks very much for this illustration! that makes perfect sense.
I am wondering after I perform the Independent t test or the man-whittney test using this 'difference"
(after-before) variable, "what exactly' in the results tells me that the "difference" is positive (after values >than before values; which is expected) and not negative.
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.
Appreicate your response!
07-01-2012 10:48 PM
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