Amsterdam Rehabilitation Research Center | Reade Testing significance - categorical data Martin van der Esch, PhD.

Slides:



Advertisements
Similar presentations
Comparing Two Proportions (p1 vs. p2)
Advertisements

Chi-square A very brief intro. Distinctions The distribution The distribution –Chi-square is a probability distribution  A special case of the gamma.
KRUSKAL-WALIS ANOVA BY RANK (Nonparametric test)
Chi Square Tests Chapter 17.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
 What is chi-square  CHIDIST  Non-parameteric statistics 2.
Categorical Data. To identify any association between two categorical data. Example: 1,073 subjects of both genders were recruited for a study where the.
Introduction to Statistics Dr Linda Morgan Clinical Chemistry Division School of Clinical Laboratory Sciences.
S519: Evaluation of Information Systems
Chapter Seventeen HYPOTHESIS TESTING
Statistics II: An Overview of Statistics. Outline for Statistics II Lecture: SPSS Syntax – Some examples. Normal Distribution Curve. Sampling Distribution.
Chi Square Test Dealing with categorical dependant variable.
PSYC512: Research Methods PSYC512: Research Methods Lecture 9 Brian P. Dyre University of Idaho.
Today Concepts underlying inferential statistics
Richard M. Jacobs, OSA, Ph.D.
Statistics Idiots Guide! Dr. Hamda Qotba, B.Med.Sc, M.D, ABCM.
Choosing Statistical Procedures
The Chi-Square Test Used when both outcome and exposure variables are binary (dichotomous) or even multichotomous Allows the researcher to calculate a.
1 of 27 PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2013, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Adv. Experimental.
AS 737 Categorical Data Analysis For Multivariate
David Yens, Ph.D. NYCOM PASW-SPSS STATISTICS David P. Yens, Ph.D. New York College of Osteopathic Medicine, NYIT l PRESENTATION.
AM Recitation 2/10/11.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Difference Two Groups 1. Content Experimental Research Methods: Prospective Randomization, Manipulation Control Research designs Validity Construct Internal.
ANALYSIS OF VARIANCE. Analysis of variance ◦ A One-way Analysis Of Variance Is A Way To Test The Equality Of Three Or More Means At One Time By Using.
Inferential Statistics: SPSS
1 STATISTICAL HYPOTHESES AND THEIR VERIFICATION Kazimieras Pukėnas.
Hypothesis Testing Charity I. Mulig. Variable A variable is any property or quantity that can take on different values. Variables may take on discrete.
Analysis of Categorical Data
 Mean: true average  Median: middle number once ranked  Mode: most repetitive  Range : difference between largest and smallest.
CHP400: Community Health Program - lI Research Methodology. Data analysis Hypothesis testing Statistical Inference test t-test and 22 Test of Significance.
Statistics for clinical research An introductory course.
Inferential Stats, Discussions and Abstracts!! BATs Identify which inferential test to use for your experiment Use the inferential test to decide if your.
Introduction To Biological Research. Step-by-step analysis of biological data The statistical analysis of a biological experiment may be broken down into.
Dr.Shaikh Shaffi Ahamed Ph.D., Dept. of Family & Community Medicine
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 8 – Comparing Proportions Marshall University Genomics.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Chapter 16 The Chi-Square Statistic
Biostatistics, statistical software VII. Non-parametric tests: Wilcoxon’s signed rank test, Mann-Whitney U-test, Kruskal- Wallis test, Spearman’ rank correlation.
Contingency tables Brian Healy, PhD. Types of analysis-independent samples OutcomeExplanatoryAnalysis ContinuousDichotomous t-test, Wilcoxon test ContinuousCategorical.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
Statistical test for Non continuous variables. Dr L.M.M. Nunn.
Analysis of Qualitative Data Dr Azmi Mohd Tamil Dept of Community Health Universiti Kebangsaan Malaysia FK6163.
Nonparametric Statistics
STATISTICAL ANALYSIS FOR THE MATHEMATICALLY-CHALLENGED Associate Professor Phua Kai Lit School of Medicine & Health Sciences Monash University (Sunway.
Experimental Design and Statistics. Scientific Method
The exam is of 2 hours & Marks :40 The exam is of two parts ( Part I & Part II) Part I is of 20 questions. Answer any 15 questions Each question is of.
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
Inferential Statistics. The Logic of Inferential Statistics Makes inferences about a population from a sample Makes inferences about a population from.
Fundamental Statistics in Applied Linguistics Research Spring 2010 Weekend MA Program on Applied English Dr. Da-Fu Huang.
Non-parametric Tests e.g., Chi-Square. When to use various statistics n Parametric n Interval or ratio data n Name parametric tests we covered Tuesday.
1 G Lect 7a G Lecture 7a Comparing proportions from independent samples Analysis of matched samples Small samples and 2  2 Tables Strength.
More Contingency Tables & Paired Categorical Data Lecture 8.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
Chi Square Tests PhD Özgür Tosun. IMPORTANCE OF EVIDENCE BASED MEDICINE.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Chi Square Tests Chapter 17. Assumptions for Parametrics >Normal distributions >DV is at least scale >Random selection Sometimes other stuff: homogeneity,
Types of Data: Ratio Specific intervals between consecutive numbers True zero value.
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Nonparametric statistics. Four levels of measurement Nominal Ordinal Interval Ratio  Nominal: the lowest level  Ordinal  Interval  Ratio: the highest.
Chapter 4 Selected Nonparemetric Techniques: PARAMETRIC VS. NONPARAMETRIC.
Chi Square 11.1 Chi Square. All the tests we’ve learned so far assume that our data is normally distributed z-test t-test We test hypotheses about parameters.
 Test for Qualitative variables Chi Square Test Dr. Asif Rehman.
Categorical data analysis
I. ANOVA revisited & reviewed
Cross Tabulation with Chi Square
Confidence Intervals and Hypothesis Tests for Variances for One Sample
Hypothesis testing. Chi-square test
Presentation transcript:

Amsterdam Rehabilitation Research Center | Reade Testing significance - categorical data Martin van der Esch, PhD

Amsterdam Rehabilitation Research Center | Reade Relative Risk and Odds Ratios

Amsterdam Rehabilitation Research Center | Reade RD and RR only in prospective study Otherwise: Odds Ratio (OR) OR ≈ RR large differences can occur with small groups or low prevalence (‘rare diseases) Odds Ratio vs Relative risk

Amsterdam Rehabilitation Research Center | Reade Estimation 95% conficence interval Hypothesis testing Chi squared + continuity correction Fisher’s exact test Odds Ratio vs Relative Risk

Amsterdam Rehabilitation Research Center | Reade Analysis of categorical data

Amsterdam Rehabilitation Research Center | Reade 2x2 frequency table Categorical variables Recovery +Recovery -Total Interventionaba+b Controlcdc+d Totala+cb+da+b+c+d

Amsterdam Rehabilitation Research Center | Reade 2 independent groups

Amsterdam Rehabilitation Research Center | Reade For example: A new intervention for Multiple Sclerosis Patients Is the experimental intervention better than the control intervention? 2 independent groups Recovery +Recovery -Total Interventionaba+b Controlcdc+d Totala+cb+da+b+c+d

Amsterdam Rehabilitation Research Center | Reade Chance recovery intervention group: 18 / 27 = 0.67 Chance recovery control group: 6 / 23 = 0.26 Relative Risk (RR): 0.67 / 0.26 = 2.6 Risk Difference (RD): 67% - 26% = 41 % 2 independent groups Recovery +Recovery -Total Intervention18927 Controle61723 Total242650

Amsterdam Rehabilitation Research Center | Reade RD = 41% RR = 2.6 Statistically significant? 2 independent groups

Amsterdam Rehabilitation Research Center | Reade Hypothesis testing Chi-squared (p-value) Estimation 95% confindence interval RD RR 2 independent groups

Amsterdam Rehabilitation Research Center | Reade 1) Set neutral value: H 0 : no treatment effect = no difference = 0. And alternative : H 1 : difference 2) Compute expected values based on H 0 3) Compute X 2 4) Compute p-value 5) Accept or reject H 0 Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade 1) H 0 : RR = 1 or RD = 0 2) Compute expected values if H 0 is true. Recovery +Recovery -Total Intervention18927 Controls61723 Total Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade 2) By hand: - Cell A: (chance recovery+ ) * (chance intervention ) * N = (24/50) * (27/50) * 50 = 13 Or… Recovery +Recovery -Total Intervention??27 Controls??33 Total Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade 2) Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade 3) Chi-squared X 2 = Ʃ ((O – E) 2 / E ) O = observed values E = expected values And again : ‘signal / noise’ Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade OEO-E(O-E) 2 / E Intervention * recovery Intervention * recovery Controls* recovery Controls * recovery Total50 0X 2 = 8.06 X 2 = Ʃ ((O – E) 2 / E ) 3) Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade 3) X 2 = Ʃ ((O – E)2 / E ) = ) DF (2x2 table) = 1 Table for p-value: p < ) Reject H 0 in favour of H 1 Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade Hypothesis testing: Chi-squared (X 2 ) Fisher’s Exact Test and continuity (Yates) Continuity correction For small sample size: X 2 =  ((|O-E|-½) 2 /E) Fisher exact test Few samples, and cell(s) with frequency < 5 Do not use X 2, but Fisher’s exact test instead

Amsterdam Rehabilitation Research Center | Reade Hypothesis testing: Chi-squared (X 2 )

Amsterdam Rehabilitation Research Center | Reade 95% CI of RD se (p 1 -p 2 ) = 0.13;RD = % BI = 0.41 ± 1.96 x 0.13 = [ ] We can assume for 95% that the real RD is between % Estimation

Amsterdam Rehabilitation Research Center | Reade 95% CI of RR se[ln(RR)] = 0.38;RR = % CI =ln(2.6) ± 1.96 x 0.38 = [0.22 – 1.69] Back transformation: [1.24 – 5.43] We can assume with 95% confidence that the real RR is between 1.24 en 5.43 Estimation

Amsterdam Rehabilitation Research Center | Reade 2 independent groups Hypothesis testing: RD en RR: p < 0.01 Estimation: 95% CI RD: [0.16 – 0.66] 95% CI RR: [1.24 – 5.43] Conclusion: reject H 0 in favour of H 1

Amsterdam Rehabilitation Research Center | Reade 2 paired groups

Amsterdam Rehabilitation Research Center | Reade ‘Cross over trial’ For example: difference between medication A and medication B. 2 paired groups Medication B Total No improvement Improvement Medication A No improvement Improvement Total

Amsterdam Rehabilitation Research Center | Reade Hypothesis testing McNemar test Estimation 95% CI for RD 2 paired groups

Amsterdam Rehabilitation Research Center | Reade 1) Set neutral value: H 0 : no treatment effect = no difference = 0. And alternative : H 1 : difference 2) Compute X 2 3) Compute p-value 4) Reject or accept H 0 Hypothesis testing: McNemar test

Amsterdam Rehabilitation Research Center | Reade Hypothesis testing: McNemar test ‘Cross over trial’ Medication B Total No improvement Improvement Medication A No improvement Improvement Total

Amsterdam Rehabilitation Research Center | Reade 1) H 0 : RD = 0 2) X 2 = (b-c) 2 / (b+c) X 2 = (54 – 14) 2 / ( ) = Hypothesis testing: McNemar test Medication B Total No improvement Improvement Medication A No improvement Improvement Total

Amsterdam Rehabilitation Research Center | Reade 1) H 0 : RD = 0 2) X 2 = (b-c)2 / (b+c) F X 2 = (54 – 14) 2 / ( ) = ) With 1 DF  p << ) Reject H 0 in favour of H 1 Hypothesis testing: McNemar test

Amsterdam Rehabilitation Research Center | Reade Hypothesis testing: McNemar test In SPSS always with continuity correction

Amsterdam Rehabilitation Research Center | Reade 95% CI of RD RD = 0.13; se(p1-p2) = % CI = 0.13 ± 1.96 x =[0.079 – 0.18] We can assume with 95% confidence that the real RD is between 16-66% Estimation

Amsterdam Rehabilitation Research Center | Reade >2 groups

Amsterdam Rehabilitation Research Center | Reade Larger tables Comparison of 3 different diets > 2 groups Lost weight? yesnoTotal Diet Diet Diet Total

Amsterdam Rehabilitation Research Center | Reade Same approach: Difference between observed and expected values Chi-squared test with more DF In r x c table: DF = (r – 1) x (c – 1) In ordered categories: Chi-squared test for trend (e.g. The three diets have an incremental amount of daily calories) > 2 groups

Amsterdam Rehabilitation Research Center | Reade 35 Variable Measurement level? nominal ordinal numerical Observations? independent (unpaired) dependent (paired) Groups? 2 groups >2 groups Which test? parametric (ASSUMPTIONS!) non-parametric

Amsterdam Rehabilitation Research Center | Reade Statistical tests ContinuousCategorical ParametricNon-parametric 1 group, 1 observation t-testSigned rank test Testing 1 measurement 2 independent groups Independent t-test Mann-Whitney U Χ 2 –test (with continuity correction Fisher exact test 2 paired groupsPaired t-testWilcoxonMcNemar >2 groupsANOVAKruskal-WallisX 2 – test for trend if applicable