1 / 89

Psych 230 Psychological Measurement and Statistics

Psych 230 Psychological Measurement and Statistics. Pedro Wolf October 21, 2009. Today…. Hypothesis testing Null and Alternative Hypotheses Z-test Significant and Nonsignificant results Types of Statistical error (type 1 and type 2). A scientific question.

Download Presentation

Psych 230 Psychological Measurement and Statistics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Psych 230Psychological Measurement and Statistics Pedro Wolf October 21, 2009

  2. Today…. • Hypothesis testing • Null and Alternative Hypotheses • Z-test • Significant and Nonsignificant results • Types of Statistical error (type 1 and type 2)

  3. A scientific question • A biology professor studies the effect of nutrition on physical attributes. He theorizes that maternal nutrition can affect the height and weight of their offspring. Further, he thinks that the time of year a child is conceived, due to seasonal nutrition factors, has a relationship with how tall that child will be. After study, he establishes that yearly nutrition is most different from the norm in June. So, he wants to know whether people conceived in June are a different height than the population.

  4. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  5. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  6. Hypothesis Testing • Experimental hypotheses describe the predicted outcome we may or may not find in an experiment • As scientists, we try to be conservative • we should assume no effect of what we are observing or testing • Does Prozac work in treating depression? • Are men better at math than women? • Do we learn better when practice is all at once or spread over time?

  7. Hypothesis Testing • In experiments, we usually identify two hypotheses • The Null Hypothesis (H0) • there is no difference in the groups we are testing • The Alternative Hypothesis (H1) • there is a real difference in the groups we are testing

  8. Hypothesis Testing - Experiment • The Null Hypothesis (H0) • there is no difference in the groups we are testing • H0 : People born in March are the same height those born in other months • The Alternative Hypothesis • there is a real difference in the groups we are testing • H1 : People born in March are not the same height as those born in other months

  9. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  10. Designing the Experiment/Study • Dependent/Observed Variable? • We want to measure height • Independent/Predictor Variable? • Month of birth • March vs all other months • Observational or Experimental study?

  11. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  12. Height - Sample • Heights of those born in March: 63, 64, 62, 67, 68, 66, 72, 64 • Calculate the mean and standard deviation: X= 65.75 SX = 3.03

  13. Our Data Population •  = 66.57 • x= 4.091 • Sample • N = 8 • X= 65.75 • SX = 3.03

  14. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  15. Statistical Hypotheses • Our hypotheses were: • H0 : People born in March are the same height as those born in other months • H1 : People born in March are not the same height as those born in other months • H0 :  = X • H1 :  ≠ X

  16. Statistical Hypotheses • H0 :  = X  a a a a

  17. Statistical Hypotheses • H0 :  = X  X a a a a

  18. Statistical Hypotheses • H1 :  ≠ X  a a a a

  19. Statistical Hypotheses • H1 :  ≠ X  X a a a a

  20. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  21. Z-Test • The z-test is the procedure for computing a z-score for a sample mean on the sampling distribution of means • Comparing a sample to a population

  22. Assumptions of the Z-Test • We have randomly selected one sample • The dependent variable is at least approximately normally distributed in the population and involves an interval or ratio scale • We know the mean of the population of raw scores • We know the true standard deviation of the population

  23. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  24. Deciding the size of the rejection region • Usually, Psychologists use a rejection region of 0.05 • known as  (alpha) • sometimes use 0.01 or 0.001 • If the H0 is true, the probability of getting an xbar this extreme is 

  25. One-tail versus two-tail testing • A two-tailed test is used when we predict that there is a relationship, but we do not specifically predict the direction in which scores will change • Freshmen and Seniors score differently in tests of sociability (H1) • People born in March are not the same height as others (H1) • A one-tailed test is used when you predict the specific direction in which scores will change • Prozac will improve depression symptoms (H1)

  26. Rejection region • When a two-tailed test is used, we need to spread our  value across both tails of the distribution • When a one-tailed test is used, all our  value is put in one tail of the distribution

  27. Rejection region • A criterion of 0.05 and a region of rejection in two tails  a a a a

  28. Rejection region • A criterion of 0.05 and a region of rejection in just one tail  a a a a

  29. Rejection region - Experiment • In our study, we will use =0.05 • This is a two-tailed test • Therefore we will have =0.025 in each tail

  30. Rejection region • A criterion of 0.05 and a region of rejection in two tails (0.025 in each tail)  a a a a

  31. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  32. The obtained and critical value  a a a a

  33. Calculate the critical value • We want the z-score that corresponds to an area in the tail of 0.025 • Look up tables, Starts page 548: • Where area beyond z=0.025. • Zcrit = 1.96

  34. Zcrit  Zcrit=-1.96 Zcrit=+1.96 a a a a

  35. Calculate the obtained value Population •  = 66.57 • x= 4.09 • Sample • N = 8 • X= 65.75 • SX = 3.03

  36. Calculate the obtained value x= 4.09 / √8 = 1.44 Zobt = (65.75 - 66.57) / 1.44 = -0.57

  37. Zcrit and Zobt Zobt<Zcrit  Zobt=-0.57 Zcrit=-1.96 Zcrit=+1.96 a a a a

  38. How do we answer this question? • State the hypotheses • Design the experiment • Collect the data • Create the statistical hypotheses • Select the appropriate statistical test • Decide the size of the rejection region (value of ) • Calculate the obtained and critical values • Make our conclusion

  39. Drawing a conclusion • Zobt<Zcrit therefore we do not reject H0 • We do not have enough evidence to say that our null hypothesis is false • When we fail to reject H0 we say the results are nonsignificant. Nonsignificant indicates that the results are likely to occur if the predicted relationship does not exist in the population • We conclude that people born in March are no different in height from those born in other months

  40. Drawing a conclusion • When we fail to reject H0, we do not prove that H0 is true • Nonsignificant results provide no convincing evidence - one way or the other - as to whether a relationship exists in nature

  41. Drawing a different conclusion • Let’s assume Zobt = -2.03

  42. Zcrit and Zobt  Zobt=-2.03 Zcrit=-1.96 Zcrit=+1.96 a a a a

  43. Drawing a different conclusion • Zobt>Zcrit therefore we reject H0 • When we reject H0 and accept H1 we say the results are significant. Significant indicates that the results are too unlikely to occur if the predicted relationship does not exist in the population • We conclude that people born in March are significantly shorter in height than those born in other months

  44. Z scores and p values • Z scores can be readily changed back into proportions, and probabilities • When reporting the results of tests, a z value (zobt) and p value are often reported • In future homework assignments you’ll need to use p values in the homework

  45. Types of Statistical Error • When conducting a statistical test, we can make two kinds of errors: • Type 1 • Type 2

  46. Type 1 Error • A Type I error is defined as rejecting H0 when H0 is actually true • In a Type I error, we conclude that the predicted relationship exists when it really does not • The probability of a Type I error equals a

  47. Type 2 Error • A Type II error is defined as retaining H0 when H0 is false (and H1 is actually true) • In a Type II error, we conclude that the predicted relationship does not exist when it really does • The probability of a Type II error is b or 1-p

  48. Problem 1 Listening to music while taking a test may be relaxing or distracting. To determine which, 49 participants are tested while listening to music and they produce a mean score of 54.63. In the population, the mean score without music is 50 (std dev of 12). • Is this a one-tailed or two-tailed test? Why? • What are H0 and H1? • Compute zobt • With =0.05, what is zcrit? • What conclusion should we draw from this study?

  49. Problem 1 Listening to music while taking a test may be relaxing or distracting. To determine which, 49 participants are tested while listening to music and they produce a mean score of 54.63. In the population, the mean score without music is 50 (std dev of 12). • Is this a one-tailed or two-tailed test? Why?

  50. Problem 1 Listening to music while taking a test may be relaxing or distracting. To determine which, 49 participants are tested while listening to music and they produce a mean score of 54.63. In the population, the mean score without music is 50 (std dev of 12). • Is this a one-tailed or two-tailed test? Why? It will be a two-tailed test, as we are not predicting the direction that the scores will change. That is, we are asking whether music leads to a different performance, either better or worse.

More Related