![]() |
||||||||||
![]() |
||||||||||
|
Do you need help? |
||||||||||
|
The fug loves to read statistics |
||||||||||
|
SDA 101Students Chi-Square Test of Independence c2 Tests of significance or Hypothesis Testing In basic statistics units, the examinations will have quite a few questions involving Tests of Significance of one sort or another. So we should try to find a little pattern that we can follow and adapt where necessary. First of all, recognising the question is a Test of Significance and then spotting which test it is, requires looking at a lot of questions. Use the worked examples in any statistics books to find clues and hints. Here are some very general points but do read the rest of the question to doublecheck. Assumptions and Definitions Now these are all grand titles for what we have seen before so do not let it put you off. It is much easier to see all this in action if we have an example: Can the environment of the examination room have an effect on the student’s ability to perform? This was the question posed by the Psychology Department of the University. There are many factors involved here but one lecturer had an interest in scents and put forward the theory that a pleasant floral scent in the room would improve the score on a standardised test. Not the question to give any hay fever or allergy sufferers but just keep sniffing and sneezing and we will pull through this together. Without scrolling down, underline the parts you feel are important then check and see if we have the same and why I underlined certain parts.
Can the environment of the examination room have an effect on the student’s ability to perform? This was the question posed by the Psychology Department of the University. There are many factors involved here but one lecturer had an interest in scents and put forward the theory that a pleasant floral scent in the room would improve the score on a standardised test. The question being posed is asking us to show that something has changed whether that is improved, worsened or just different. Assumptions and Definitions Please define the variable that you are going to test so that there is no confusion. This is quite simple and can be done in a sentence. For this question, we could say something along the lines of: In the examination it is not always stated directly but there are certain different assumptions made for each type of test. These assumptions are important especially if you do research later as the data will be real not like in the examinations. We are going to use the normal distribution or t-distribution later for the test statistic so we really need the data to be normally distributed.
Without too much detail, we will be using the normal distribution to work out the probability of finding the sample mean in this population. Now we will have to assume that the sample is random and not biased in any way and this would be part of the experimental design. We cannot test for this in examinations but it is different in real life situations. So the assumptions for this question would be the sample must be random, unbiased and approximately normally distributed. Hypotheses Now we are interested in saying something about the population and not the sample, so we will be using population parameters. The hypotheses can either be written in words or symbols. The Null Hypothesis is always written as if nothing has changed and so is always written as “equal to” So for this question, the Null Hypothesis could be written as follows: Null Hypothesis: m = 64 The Alternative Hypothesis is written as if things are changing as you think or propose they would . We need to look at the words in the question that give us an indication on how we think or proposed the variable is changing. The phrases that help us in the question are “and put forward the theory that a pleasant floral scent in the room would improve the score on a standardised test.”or “Does the floral scent improve the score on the standard test?”. The word “prove” implies that the score gets bigger, so we would expect the alternative Hypothesis to be “greater than” So for this question, the Alternative Hypothesis could be written as follows Alternative Hypothesis m > 64 We could write the hypotheses out in words instead of symbols and it could go as follows: Testing the Null hypothesis that the true population score on the standardised test is 64 against the alternative hypothesis that the population score on the standardised test is now greater than 64.
Test Data This part I feel is important as it does let the marker know that you have taken the correct values from the question. It may help you gain extra marks as it looks like you know what you are doing. `x = 66 Sample mean s = 3.15 Sample Standard deviation m = 64 Population Mean a = 0.05 Significance Level n = 25 Sample Size Test statistic This is just a fancy title for the z-value or t-value. We use t-value when we have the sample standard deviation not the population standard deviation AND the sample size is less than 30. More often than not it is a t-value. For this example, the test statistic is as follows: t = `x - m Check to see if you really understand why it is a t-value and not a z-value. Now substitute the values and get a value for t
t = 66 - 64
P-value OK, putting it as simply as possible, the p-value is always written as a greater than probability. If the t-value or z-value is negative, all you do is ignore the sign and write it as greater than probability. For our question p-value = P( t > 3.77 ) We need the degrees of freedom which in this case is n - 1 = 24 You can use your calculator or look the value in the t-tables and this is described below. This next part is taken from the section about Tests of Significance, so you can see the style and buy the book. Now we look the value up in tables (greater than probability values) Down the side are the degrees of freedom. Across the top is the range of probability decreasing as you move to the right. In the middle are the t values increasing as you move to the right.
Probabilities 0.25 0.20 0.025 etc... 0.001 0.0005 df 1 2 0.816 1.061 22.33 31.60 etc
24 0.685 0.857 2.064 3.467 3.745 So back to our example: To look for the probability, go down the side until you get to 24 degrees of freedom and then look across the line until you find the numbers nearest the test statistic value. Now we cannot give an exact value from the tables but we can see that the probability must be smaller than 0.0005. The values of the probability are getting smaller as we go to the right so the next column would be smaller than 0.0005. So the p-value is smaller than 0.0005, in symbols p-value < 0.0005 Just be careful when you have a “not equal to” alternative hypothesis you have to multiply by two as you have only found half of the p-value. Decision Well, we have to decide whether to accept or reject the Null Hypothesis. Some silly ways of remembering when to accept and reject the Null Hypothesis. When the level of significance is 0.05 then the following applies: If the p-value Bigger than 0.05 then Accept the Null Hypothesis If the p-value Smaller than 0.05 then Reject the Null Hypothesis B A British Airways or B A and S R, these are next to each other in the alphabet Please get this bit correct as you can lose most of your marks here as this is the first part where you have to interpret your result. So looking at our example we can see that the p-value is much less than 0.05 so we will reject the Null Hypothesis. Conclusion This is the second part where you have to interpret your result but this is slightly harder as you have to relate it to the question. Now I tend to be a bit lazy here and I learn a few sentences and then fit the answer to the question. Here is the one for this example: The results are significant indicating that there is enough evidence to suggest that the floral scent improve the score on the standard test. The red part is my standard sentence. i.e. Does the floral scent improve the score on the standard test? Test at the 5% significance level. |
||||||||||