1 / 57

Independent t-tests

Independent t-tests. Let’s think…. Comparing 2 means drawn from the same population If we sampled enough, what would we expect the mean difference to be? What would influence the accuracy of this expectation?. Comparing 2 means.

sienna
Download Presentation

Independent t-tests

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. Independentt-tests

  2. Let’s think… • Comparing 2 means drawn from the same population • If we sampled enough, what would we expect the mean difference to be? • What would influence the accuracy of this expectation?

  3. Comparing 2 means • Estimating the mean of the sampling distribution of differences in the means • Estimating the standard error of the differences in the means • Getting a little complicated…

  4. Comparing 2 means • Estimating the standard error of the differences in the means • Must assume equal population variance in the two samples • This assumption of independent t-tests must be tested • Then… the SD of the distribution of differences between 2 sample means

  5. Comparing 2 means • T-test for 2 independent samples Difference between sample means SEm of difference between sample means Note:

  6. Comparing means of two groups or pairs of data • Our single sample example: Our 8th grade % body fat compared to the national norm. • National Norm: 23% • Our class: 20% Is the observed difference between groups a reflection of treatment effect or only random sampling error?

  7. Recall • Larger sample size ==> • Less variability in population ==> reduced variability in the distribution of sampling means

  8. Extending to a comparison of two sample means • With larger samples, the less likely that the observed difference in sample means is attributable to random sampling error

  9. Extending to a comparison of two sample means • With larger samples, the less likely that the observed difference in sample means is attributable to random sampling error • With reduced variability among the cases in each sample, the less likely that the observed difference in sample means is attributable to random sampling error

  10. Extending to a comparison of two sample means • With larger samples, the less likely that the observed difference in sample means is attributable to random sampling error • With reduced variability among the cases in each sample, the less likely that the observed difference in sample means is attributable to random sampling error • Larger the observed difference between two sample means, the less likely that the observed difference in sample means is attributable to random sampling error

  11. Independent separate groups males & females experienced & unexperienced injury & non-injured fit & unfit young & old Uncorrelated data sets Unmatched groups Types of Data Sets

  12. Independent separate groups males & females experienced & unexperienced injury & non-injured fit & unfit young & old Uncorrelated data sets Unmatched groups Dependent repeated measures on the same individual test - retest pre - post time 1 - time 2 Correlated data pairs Matched groups (pairs) Types of Data Sets

  13. Independent t-test(Uncorrelated t-test) • Apply when there is no reason to assume correlation between the cases in the two groups • Question: Does CHO supplementation increase aerobic endurance? • IV: dietary CHO level • DV: time to exhaustion on bicycle ergometer

  14. Steps to independent t-test • Set  (0.05) • Set sample size • Two randomly selected groups of subjects • n = 10 in each group • Group 1: Regular diet • Group 2: CHO supplemented diet • Set Ho (null hypothesis)

  15. Ho Null hypothesis Any observed difference between the two groups will be attributable to random sampling error. HA Alternative hypothesis If Ho is rejected, the difference is not attributable to random sampling error perhaps diet??? Set statistical hypotheses

  16. Steps to independent t-test • Set  (0.05) • Set sample size ( n = 10 per group) • Set Ho • Test all subjects with same protocol (bicycle ergometer)

  17. Time to exhaustion (minutes) File: indep_t1.sav

  18. Steps to independent t-test • Set  (0.05) • Set sample size ( n = 10 per group) • Set Ho • Test all subjects with same protocol (bike) • Calculate descriptive statistics for each group

  19. Descriptive statistics for time to exhaustion data

  20. Steps to independent t-test • Set  (0.05) • Set sample size ( n = 10 per group) • Set Ho • Test all subjects with same protocol (bike) • Calculate descriptive statistics for each group • Compare the two group means

  21. From WMK Trochim http://trochim.human.cornell.edu/kb/stat_t.htm • Note mean difference = in all three comparisons • Need to evaluate mean difference according to variability in sets of scores.

  22. How to compare the groups • Even if the two groups were the same (drawn from the same population or no treatment effect), do not expect the two means to be the same. • Need a measure of expected variability against which the mean difference could be compared.

  23. Recall: Estimating Standard Error of the Mean from sample statistics There is a SEM relative to each sample.

  24. Estimated Standard Error of the Difference between 2 independent means

  25. Estimated Standard Error of the Difference between 2 independent means Estimate of the expected variability in when samples are of size n (mean of these differences = ???

  26. For the diet study • SDx = 3.542 (reg diet) • SDy = 2.860 (CHO diet) • n for both groups = 10 • Calculate SEm for each of the groups • Reg diet: 1.12 • CHO diet: 0.90 • Calculate Sdm in this situation • 1.44

  27. t-test for independent samples Called tobserved

  28. t-test for independent samples Calculate for the diet study data

  29. Xm = 38.9 Ym = 44.2 Sdm = 1.44 Mean diff -5.3 tobs -3.68 t-test for independent samples

  30. Evaluating tobserved with thet distribution • Recall: a distribution of t values is not normally distributed • Follows a t distribution • concept of degrees of freedom (df) • comparing two independent means • df = (nx -1) + (ny -1)

  31. Evaluating tobserved with thet distribution • A distribution of t values is not normally distributed • Follows a t distribution • concept of degrees of freedom (df) • comparing two independent means • df = (nx -1) + (ny -1) • becomes df = 2 ( n - 1) if groups are equal in n

  32. Standard deviation  1 • Leptokurtic (narrower peak, larger tails than z-dist) • shape depends on df

  33. tcritical: the value of t that must be exceeded to classify a difference between means as statistically significant.

  34. tcritical depends on df, , and one vs two tailed test • http://duke.usask.ca/~rbaker/Tables.html For our diet study: df = 2 (10 - 1) = 18  = 0.05 two-tailed test tcrit = ???

  35. t-values

  36. tcritical depends on df, , and one vs two tailed test • http://duke.usask.ca/~rbaker/Tables.html For our diet study: df = 2 (10 - 1) = 18  = 0.05 two-tailed test tcrit =  2.101 Note the 

  37. Concept of evaluatingtobs vs tcrit df = 18  = 0.05 tcrit Area = 0.025 Area = 0.025 -2.101 2.101

  38. Concept of evaluatingtobs vs tcrit df = 18  = 0.05 Region of Rejection Region of Rejection Region of Non-rejection -2.101 2.101

  39. Concept of evaluatingtobs vs tcrit df = 18  = 0.05 tcrit Area = 0.025 Area = 0.025 X tobs = -3.68 -2.101 2.101

  40. Decision • Since tobs = -3.68 is beyond the tcrit value of -2.101, our decision is to ... Falls in the region of rejection

  41. Decision • Since tobs = -3.68 is beyond the tcrit value of -2.101, our decision is to reject Ho and accept HA that ...

  42. Decision • Since tobs = -3.68 is beyond the tcrit value of -2.101, our decision is to reject Ho and accept HA that • the differences between the groups in time to exhaustion reflects differences in • diet?? • Poor methodological control? • Some other confounding variable?

  43. Placebo Group

  44. Reporting t-test in table Table 1. Descriptive statistics of time to exhaustion ( in minutes) for the two diets. * Note: * indicates significant difference, p 0.05

  45. Reporting t-test graphically Figure 1. Mean time to exhaustion with different diets.

  46. Reporting t-test graphically Figure 1. Mean time to exhaustion with different diets.

  47. Reporting t-test in text Descriptive statistics for the time to exhaustion for the two diet groups are presented in Table 1 and graphically in Figure 1. A t-test for independent samples indicated that the 44.2 ( 2.9) minute time to exhaustion for the CHO group was significantly longer than the 38.9 ( 3.5) minutes for the regular diet group (t18 = - 3.68, p 0.05). This represents a approximate 10% increase in time to exhaustion with the CHO supplementation diet. In discussion, address whether the statistically significant difference is clinically relevant

  48. Clinical application

  49. If groups are not significantly different, differences are attributable to …

  50. Interpretation Example People with family care physician as primary physician had less chance of dying than those with specialist as primary physician. Recruiting lecture to SIU School of Medicine

More Related