1 / 22

Biomedical Statistics

Biomedical Statistics. 系所別 : 中央大學電機工程學系 (NCUEE) 指導教授 : 蔡章仁 (Jang- Zern Tsai) 姓名 : 凃建宇 (Jacky Tu ). Outline. Two Sample Hypothesis Testing for Correlation Multiple Correlation Spearman’s Rank Correlation. Two Sample Hypothesis Testing for Correlation. Case1: Independent samples

jag
Download Presentation

Biomedical 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. Biomedical Statistics 系所別:中央大學電機工程學系(NCUEE) 指導教授:蔡章仁(Jang-ZernTsai) 姓名:凃建宇(Jacky Tu)

  2. Outline • Two Sample Hypothesis Testing for Correlation • Multiple Correlation • Spearman’s Rank Correlation

  3. Two Sample Hypothesis Testing for Correlation Case1: Independent samples Case2: Dependent samples

  4. Two Sample Hypothesis Testing for Correlation with independent samples Example: A sample of 40 couples from London is taken comparing the husband’s IQ with his wife’s. The correlation coefficient for the sample is .77. Is this significantly different from the correlation coefficient of .68 for a sample of 30 couples from Paris?

  5. Then we can perform either one of the following tests: Some excel functions: FISHER equ. SQRT equ. square root(number) NORMSDIST equ.

  6. Two Sample Hypothesis Testing for Correlation with dependent samples What difference? two correlations have one variable in common or because the two variables are correlated at one moment in time and again at another moment in time Example:  IQ tests are given to 20 couples. The oldest son of each couple is also given the IQ test with the scores displayed in Figure 1. We would like to know whether the correlation between son and mother is the significantly different from the correlation between son and father.

  7. use the following test statistic S is the 3 × 3 sample correlation matrix and Since p-value = .042 < .05 = α we reject the null hypothesis, and conclude that the correlation between mother and son is significantly different from the correlation between father and son.

  8. Multiple Correlation We can also calculate the correlation between more than two variables Definition 1: multiple correlation coefficient multiple coefficient of determination Rz,xy^2 R^2 x,y:independentvariables z:dependent variable R

  9. Multiple Correlation(Cont.) Definition 2 adjusted multiple correlation coefficient k = the number of independent variables

  10. Example By using Excel’s Correlation data analysis tool,we can get correlation coefficients for data in Example 

  11. We use the data above to obtain the values , rPW, rPI , and rWI Definition 3: partial correlation(x and z holding y constant) semi-partial correlation(x and y is eliminated,  x and z and y and z not)

  12. Example If we want to know the relationship between GPA (grade point average) , salary and IQ but maybe IQ correlates well with both GPA and Salary. To test this need to determine the correlation between GPA and salary eliminating the influence of IQ so the partial correlation r(GS,I)

  13. If we continue calculate r(PW,I),rP(W,I) Then we can proof the property by:

  14. Since the coefficients of determination is a measure of the portion of variance attributable to the variables involved, we can look at the meaning of the concepts defined above using the following Venn diagram, where the rectangular represents the total variance of the poverty variable calculate the breakdown of the variance for poverty:

  15. we can calculate B in a number of ways: (A + B –  A, (B + C) – C, (A + B + C) – (A+ C) where D = 1 – (A + B + C)

  16. Follow the property 1: If the independent variables are mutually independent:

  17. Spearman’s Rank Correlation Definition : the same as correlation coefficient r has the range -1~1 but is on the rank. Example: If IQ associates with the number of hours listen to rap music per month Can use Excel’s function RANK.AVG(A4,A$4:A$13,1) Pearson’s correlation = CORREL(A4:A13,B4:B13) = -0.036 Spearman’s rho = CORREL(C4:C13,D4:D13) = -0.115

  18. shows there isn’t much of a correlation between IQ and listening to rap music, although the Spearman’s rho is closer to zero (indicating independent samples) than the Pearson’s. If we plot the example no ties in the ranking, there is alternative way of calculating Spearman’s rho using the following property di = rank xi – rank yi

  19. If we use the property above to do the example again: the same as the CORREL(C4:C13,D4:D13) = -0.115

  20. A study is designed to check the relationship between smoking and longevity. A sample of 15 men 50 years and older was taken and the average number of cigarettes smoked per day and the age at death was recorded, as summarized in the table in Figure 1. Can we conclude from the sample that longevity is independent of smoking? Example: Repeat the analysis for Example of One Sample Hypothesis Testing for Correlation using Spearman’s rho Spearman’s rho is the correlation coefficient on the ranked data, namely CORREL(C5:C19,D5:D19) = -.674

  21. We now use the table in Spearman’s Rho Table to find the critical value for the two-tail test where n = 15 and α = .05. Interpolating between the values for n = 14 and 16, we get a critical value of .525. Since the absolute value of rho is larger than the critical value, we reject the null hypothesis that there is no correlation between cigarette smoking and longevity. Since n = 15 ≥ 10, we can use a t-test instead of the table Since |t| = 3.29 > 2.16 = tcrit= TINV(.05,13), we again conclude that there is a significant negative correlation between the number of cigarettes smoked and longevity.

  22. Thank you for your listensing

More Related