Click here to Skip to main content
15,887,311 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
t-Test: Paired Two Sample for Means
                              sold price     dummy
Mean	                     591.857           0
Variance	                     72542.476         0
Observations	               7	             7
Pearson Correlation	     #DIV/0!	
Hypothesized Mean Difference	700	
df	                           6	
t Stat	                       -1.0623	
P(T<=t) one-tail	               0.1645	
t Critical one-tail	      1.9432	
P(T<=t) two-tail                0.3290	
t Critical two-tail	      2.4469

can u help me to answer these questions

(a) Write, in symbolic form, the null and alternative hypotheses.
(b) Is this a one-tailed or two-tailed test?
(c) Using the p-value approach, state why you would reject the null hypothesis or not.
(d) Make a brief statistical conclusion in the context of the variable in this hypothesis test.
Posted
Updated 4-Jan-12 0:32am
v2
Comments
Mehdi Gholam 4-Jan-12 6:32am    
Looks like homework.
kami124 4-Jan-12 6:47am    
its kind of project but these specific answer after studying alot i cannot answer it, thats why i need help from you to whom i trust
Richard MacCutchan 4-Jan-12 9:02am    
This question appears to have nothing to do with programming so is not really appropriate on this forum. It looks like you need to consult a reference on mathematics.
Sergey Alexandrovich Kryukov 4-Jan-12 13:37pm    
Looks like a school text, but the school usually provides learning material, textbook references. This field of mathematics is difficult enough; not for learning by quick Questions & Answers.
--SA

The first question that you ask:

"(a) Write, in symbolic form, the null and alternate hypotheses."

is not something that can be derived from a set of statistics.

Take a look at this link:

http://en.wikipedia.org/wiki/Null_hypothesis[^]

This is also a good reference:

http://en.wikipedia.org/wiki/Statistical_hypothesis_testing[^]

Statistics are not used to derive a hypothesis.

Statistic are used to determine the probability that a given hypothesis is true or false.

The fact that you are asking us to provide you an answer to (a) without providing us enough information to do so, suggests that there is something very fundamental that you don't understand about the issue of statistics.

It would do you no good for us to provide you an answer that you don't actually understand.

I suggest you review the two links above as well as:

http://en.wikipedia.org/wiki/Student's_t-test[^]

Start with the article on hypothesis testing -- it seems to be the simplest and most approachable. Then look at the article on Null Hypothesis, and then tackle the Student's T-test article.

As you read them, whenever you come to a section you don't understand, make sure you get a good grasp on that section before going to the next. Often the trouble will be you didn't quite get the section before that. Usually the hardest thing is all the terminology -- if there is a word or term that you aren't sure of, then look it up in your text, or google it, or something so that you get a good definition of it. You might find it takes hours of looking up words within definitions of words before you actually understand what the heck you were originally reading, but short of having somebody explain it to you in language that you do understand, that's about the only way you are going to understand it. In the end, it's worth the work of understanding it because then you can use that as a tool in future work you do.
 
Share this answer
 
I assume you have a sample of size 7 and assume those values are sold prices from a fixed value, zero(your dummy). You get an average of 591.9 with a "big" standard deviation of 269.3, which is the square root of 72542.5. You may have some individual value more than 700 and some less than 700, but all centering at 591.9. At a glance, sample mean (=591.9) may make you think that the population may have sold price less than 700. But you want to conclude in a more objective way, e.g. using hypothesis testing.

So now you want to use your sample results to draw an inference about the population that the population has sold price (i) not equal to 700, or (ii) more than 700, or (iii) less than 700.

From your results, I can see that you are using paired t test.
Coincidentally, I have developed some Excel Stat tool that serve the above purpose. Following is the result i get from using the Excel Stat tool. It answers your question (a) to (d).
Two-Samples Paired t-Test						
					
Sample Size =	  7					
Average Difference=	591.857				
Stdev. of Difference=	269.3371				
						
Significance Level(alpha)= 0.05				
Hypothesized Difference = 700		 		
Test Statistics	-1.0623					
						
	H0 : µ1-µ2 =	700	H0 :  µ1-µ2 >=	700	H0 :  µ1-µ2 <=	700
	H1 : µ1-µ2 !=	700	H1 :  µ1-µ2 <	700	H1 :  µ1-µ2 >	700
	    or		           or		           or	
	H0 : µD =	700	H0 : µD >=	700	H0 : µD <=	700
	H1 : µD !=	700	H1 : µD <	700	H1 : µD >	700
						
	               2-Tailed		1-Tailed Left		1-Tailed Right	
Critical t Value	±2.4469		-1.943180281		1.943180281	
p-value	                0.3290		0.1645		        0.8355	
Conclusion	Not Reject H Null   Not Reject H Null     Not Reject H Null


There are 3 columns. Left column for not equal to 700, middle column for less than 700, and right column for more than 700.

For your question (a), it can be shown in 3 ways namely, not equal to 700, less than 700, and more than 700. µ1 is the mean of sold price, µ2 is the mean of dummy, and µD is the mean of differences.

For question (b - d), it depends on what do you test on. Again I assume you want to show that sold price of population is less than 700 (one-tailed test, see middle column). Your results show that alpha you use is 0.05.
Using p-value, it is 0.1645 which is more than 0.05, so conclusion is: Not reject H null, that means Not reject sold price =700. Inference is: population sold price is not less than 700 (but we "dare" not say sold price is 700 or more, because not rejecting null hypothesis is a "weak" statement).
Using t value, reject area is less than -1.943, and your t stat is -1.0623 which is not fall in reject area, thus not reject H null.

Sad to say that although you cannot say sold price is less than 700, but you do not have strong evidence showing that sold price is 700. Hypothesis testing is "good" for rejecting, not the opposite. This happen due to the big value of standard deviation.

Another method. You can also conduct a one-sample t test. See the following Excel results.
One-Sample t-Test						
						
Hypothesized miu = 700					
Sample size =	7					
Sample Mean =	591.857					
Sample Stdev.=	269.3371					
Significance Level =	0.05					
Test Statistics	= -1.06				
						
	              H0 : µ =700	H0 : µ >=700	H0 : µ <=700
	              H1 : µ !=700	H1 : µ < 700	H1 : µ > 700
						
	              2-Tailed		1-Tailed Left	1-Tailed Right	
Critical t Value	±2.4469		-1.9432		1.9432	
p-value	                 0.3290		0.1645		0.8355	
Conclusion	Not Reject H Null  Not Reject H Null	Not Reject H Null

You will get similar conclusions

You can go to below link to get a copy of Excel add-in tool for above purpose.

http://www.foundasoft.com/index.php?option=com_wrapper&view=wrapper&Itemid=94[^]

http://www.foundasoft.com/index.php?option=com_content&view=article&id=84&Itemid=90[^]

Hope this help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900