Basic Biostatistics. Chapter 1. Content

Similar documents
Analysis and Interpretation of Data Part 1

SUMMER 2011 RE-EXAM PSYF11STAT - STATISTIK

REVIEW ARTICLE. A Review of Inferential Statistical Methods Commonly Used in Medicine

isc ove ring i Statistics sing SPSS

Statistics as a Tool. A set of tools for collecting, organizing, presenting and analyzing numerical facts or observations.

HOW STATISTICS IMPACT PHARMACY PRACTICE?

Quantitative Methods in Computing Education Research (A brief overview tips and techniques)

Selecting the Right Data Analysis Technique

List of Figures. List of Tables. Preface to the Second Edition. Preface to the First Edition

Choosing the Correct Statistical Test

Examining differences between two sets of scores

NEUROBLASTOMA DATA -- TWO GROUPS -- QUANTITATIVE MEASURES 38 15:37 Saturday, January 25, 2003

STATISTICS AND RESEARCH DESIGN

What you should know before you collect data. BAE 815 (Fall 2017) Dr. Zifei Liu

Statistics: A Brief Overview Part I. Katherine Shaver, M.S. Biostatistician Carilion Clinic

Today: Binomial response variable with an explanatory variable on an ordinal (rank) scale.

Statistics Guide. Prepared by: Amanda J. Rockinson- Szapkiw, Ed.D.

Intro to SPSS. Using SPSS through WebFAS

POST GRADUATE DIPLOMA IN BIOETHICS (PGDBE) Term-End Examination June, 2016 MHS-014 : RESEARCH METHODOLOGY

Chapter 6 Measures of Bivariate Association 1

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES

Dr. SANDHEEP S. (MBBS MD DPH) Dr. BENNY PV (MBBS MD DPH) (DATA ANALYSIS USING SPSS ILLUSTRATED WITH STEP-BY-STEP SCREENSHOTS)

Prepared by: Assoc. Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies

Theoretical Exam. Monday 15 th, Instructor: Dr. Samir Safi. 1. Write your name, student ID and section number.

On the purpose of testing:

Learning Objectives 9/9/2013. Hypothesis Testing. Conflicts of Interest. Descriptive statistics: Numerical methods Measures of Central Tendency

Business Research Methods. Introduction to Data Analysis

9/4/2013. Decision Errors. Hypothesis Testing. Conflicts of Interest. Descriptive statistics: Numerical methods Measures of Central Tendency

Lecture Outline. Biost 590: Statistical Consulting. Stages of Scientific Studies. Scientific Method

Survey research (Lecture 1) Summary & Conclusion. Lecture 10 Survey Research & Design in Psychology James Neill, 2015 Creative Commons Attribution 4.

Survey research (Lecture 1)

Unit 1 Exploring and Understanding Data

Understandable Statistics

ANOVA in SPSS (Practical)

Overview. Goals of Interpretation. Methodology. Reasons to Read and Evaluate

2.75: 84% 2.5: 80% 2.25: 78% 2: 74% 1.75: 70% 1.5: 66% 1.25: 64% 1.0: 60% 0.5: 50% 0.25: 25% 0: 0%

Types of Statistics. Censored data. Files for today (June 27) Lecture and Homework INTRODUCTION TO BIOSTATISTICS. Today s Outline

Table S1. Characteristics associated with frequency of nut consumption (full entire sample; Nn=4,416).

Chapter 14: More Powerful Statistical Methods

Research Designs and Potential Interpretation of Data: Introduction to Statistics. Let s Take it Step by Step... Confused by Statistics?

Business Statistics Probability

Part 8 Logistic Regression

Ecological Statistics

Chapter 1: Exploring Data

Immunological Data Processing & Analysis

Overview of Lecture. Survey Methods & Design in Psychology. Correlational statistics vs tests of differences between groups

Summary & Conclusion. Lecture 10 Survey Research & Design in Psychology James Neill, 2016 Creative Commons Attribution 4.0

Stepwise method Modern Model Selection Methods Quantile-Quantile plot and tests for normality

Before we get started:

MAKING THE NSQIP PARTICIPANT USE DATA FILE (PUF) WORK FOR YOU

Applied Medical. Statistics Using SAS. Geoff Der. Brian S. Everitt. CRC Press. Taylor Si Francis Croup. Taylor & Francis Croup, an informa business

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

investigate. educate. inform.

Introduction to SPSS. Katie Handwerger Why n How February 19, 2009

Basic Steps in Planning Research. Dr. P.J. Brink and Dr. M.J. Wood

Simple Linear Regression One Categorical Independent Variable with Several Categories

THE STATSWHISPERER. Introduction to this Issue. Doing Your Data Analysis INSIDE THIS ISSUE

bivariate analysis: The statistical analysis of the relationship between two variables.

Still important ideas

Dr. Kelly Bradley Final Exam Summer {2 points} Name

Lecture Outline. Biost 517 Applied Biostatistics I. Purpose of Descriptive Statistics. Purpose of Descriptive Statistics

Daniel Boduszek University of Huddersfield

The Logic of Data Analysis Using Statistical Techniques M. E. Swisher, 2016

PTHP 7101 Research 1 Chapter Assignments

Assignment #6. Chapter 10: 14, 15 Chapter 11: 14, 18. Due tomorrow Nov. 6 th by 2pm in your TA s homework box

AMSc Research Methods Research approach IV: Experimental [2]

AP Statistics. Semester One Review Part 1 Chapters 1-5

Explore. sexcntry Sex according to country. [DataSet1] D:\NORA\NORA Main File.sav

Still important ideas

Unit outcomes. Summary & Conclusion. Lecture 10 Survey Research & Design in Psychology James Neill, 2018 Creative Commons Attribution 4.0.

Unit outcomes. Summary & Conclusion. Lecture 10 Survey Research & Design in Psychology James Neill, 2018 Creative Commons Attribution 4.0.

Reveal Relationships in Categorical Data

Global Clinical Trials Innovation Summit Berlin October 2016

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

NORTH SOUTH UNIVERSITY TUTORIAL 1

Statistical analysis DIANA SAPLACAN 2017 * SLIDES ADAPTED BASED ON LECTURE NOTES BY ALMA LEORA CULEN

Day 11: Measures of Association and ANOVA

11/18/2013. Correlational Research. Correlational Designs. Why Use a Correlational Design? CORRELATIONAL RESEARCH STUDIES

Chapter 1: Review of Basic Concepts

Applied Statistical Analysis EDUC 6050 Week 4

Chapter 2 Organizing and Summarizing Data. Chapter 3 Numerically Summarizing Data. Chapter 4 Describing the Relation between Two Variables

Table of Contents. Plots. Essential Statistics for Nursing Research 1/12/2017

Data Analysis with SPSS

STA 3024 Spring 2013 EXAM 3 Test Form Code A UF ID #

How to describe bivariate data

Evidence-Based Medicine Journal Club. A Primer in Statistics, Study Design, and Epidemiology. August, 2013

One-Way Independent ANOVA

Biostatistics for Med Students. Lecture 1

INTRODUCTION TO MEDICAL RESEARCH: ESSENTIAL SKILLS

Student name: SOCI 420 Advanced Methods of Social Research Fall 2017

Reflection Questions for Math 58B

Overview of Non-Parametric Statistics

Statistical questions for statistical methods

Further Mathematics 2018 CORE: Data analysis Chapter 3 Investigating associations between two variables

Introduction to Quantitative Methods (SR8511) Project Report

Biostatistics. Donna Kritz-Silverstein, Ph.D. Professor Department of Family & Preventive Medicine University of California, San Diego

Chapter 7: Correlation

From Bivariate Through Multivariate Techniques

MMI 409 Spring 2009 Final Examination Gordon Bleil. 1. Is there a difference in depression as a function of group and drug?

Readings: Textbook readings: OpenStax - Chapters 1 13 (emphasis on Chapter 12) Online readings: Appendix D, E & F

Transcription:

Chapter 1 Basic Biostatistics Jamalludin Ab Rahman MD MPH Department of Community Medicine Kulliyyah of Medicine Content 2 Basic premises variables, level of measurements, probability distribution Descriptive statistics Inferential statistics, hypothesis testing 17 June, 2014 1

3 We observe, we believe. What we observe might not be the truth 17 June, 2014 and we can t observe all. We sample. 4 Population Parameter Sample Statistic 17 June, 2014 2

Variable Characteristic of a population Can take different values Data = measurements collected/observed 5 17 June, 2014 Type of data (Level of measurement) 6 Categorical Numerical Nominal Ordinal Discrete Continuous e.g. Gender, Race e.g. Cancer staging, Severity of CXR for PTB e.g. Parity, Gravida e.g. Hb, RBS, cholesterol. 17 June, 2014 3

Normal distribution 7 ;, 1 2 17 June, 2014 Other distributions Discrete vs. continuous probability distribution 8 2, F, Weibull, Binomial & Poisson 4

Characteristics of Normal distribution Smooth, symmetrical (around the mean), uni modal, bell shaped curve Mean = Median = Mode Skewness = 0 Kurtosis = 0 9 17 June, 2014 Test of Normality 10 Anderson Darling Test Corrected Kolmogorov Smirnov Test (Lilliefors Test) Cramér von mises Criterion D'agostino's K squared Test Jarque Bera Test Pearson's Chi square Test Shapiro Francia Shapiro Wilk Test 17 June, 2014 5

Use Normality test with caution Small samples almost always pass a normality test. Normality tests have little power to tell whether or not a small sample of data comes from a Gaussian distribution. With large samples, minor deviations from normality may be flagged as statistically significant, even though small deviations from a normal distribution won t affect the results of a t test or ANOVA. 11 17 June, 2014 Statistical objectives 12 1. Determine presence of difference (or similarity) 2. Determine degree of difference 3. Determine the direction of changes (outcome) 4. Predict changes (outcomes) 6

13 Is there any difference between A & B? Which one is taller? A or B? How big is the difference between A & B? Is C different from A & B? Is there any pattern now? If there will be D, can you predict how tall is D? A B C Association a value and whose associated value may be changed 14 Independent Dependent e.g. Smoking e.g. Lung Cancer 17 June, 2014 7

Disease model 15 Exposure Exposure Outcome Time Exposure 17 June, 2014 Disease model (example) 16 Smoking Mineral Dust Lung Cancer Time Age 17 June, 2014 8

Causal relationship 17 Factor 1 Factor 2 Outcome Factor 4 Factor 5 Factor 3 Factor 7 Factor 6 17 June, 2014 Descriptive statistics 18 Categorical Frequency (count) & Percentage Data Normal Mean (SD) Numerical Not Normal Median (Range/IQR) 17 June, 2014 9

Hypothesis Testing Involve more than one variables exposure & outcome, predictor & criterion, risk& disease Try to prove that Exposure causes the Disease e.g. Smoking causing Lung Cancer Example ~ Ho: No difference of risk to get Lung Cancer between smoker and non smoker 19 17 June, 2014 Lung Cancer No Lung Cancer 20 Smoking 20 (18.2%) 90 (81.8%) Not Smoking 5 (4.5%) 105 (95.5%) 2 (df=1)= 10.150, p =0.001, OR = 4.7 (CI95% 1.7 13.0) Because p < 0.05, we reject H 0. Therefore there is a different between smoker & non smoker 17 June, 2014 10

Statistical Test Univariate ~ One dependent & one independent Multivariate ~ Multiple dependent & multiple independent variable 21 17 June, 2014 What test to use? 22 Variable 1 Variable 2 Test Categorical Categorical Chi square Categorical (2 pop) Numerical (Normal) Independent sample t test Categorical (2 pop) Numerical (Not Normal) Mann Whitney U test Categorical (> 2 pop) Numerical (Normal) One way ANOVA Categorical (> 2 pop) Numerical (Not Normal) Kruskal Wallis test Numerical (Normal) Numerical (Normal) Pearson Correlation Coefficient Test Numerical (Normal/ Not Normal) Numerical (Not Normal) Spearman Correlation Coefficient Test Numerical (Normal) Numerical (Normal) Paired Paired t test Numerical (Not Normal) Numerical (Not Normal) Paired Friedman test 17 June, 2014 11

But life is not simple! Lung Cancer 23 Factor Outcome Factor Smoking No of cigarette smoked per day Factor Radiation Radiation Absorbed dose (mgy) per day Exposure to mineral dust PM2.5, PM10 (g/m 3 ) 17 June, 2014 The multivariate model Lung CA = Smoking + Radiation + Mineral dust + Others 24 Regression Residual A good model is when Regression > Residual 12

Multivariate Analysis Hypothesis testing & control for confounders e.g. General Linear Model, Logistic Regression Modeling e.g. Linear Regression Data reduction e.g. Factor Analysis, Cluster Analysis 25 17 June, 2014 Writing plan for statistical analysis #1 Data were analyzed using the complex sample function of SPSS (version 13.0). Sampling errors were estimated using the primary sampling units and strata provided in the data set. Sampling weights were used to adjust for nonresponse bias and the oversampling of blacks, Mexican Americans, and the elderly in NHANES. The prevalence of hypertension, as well as the awareness, treatment, and control rates, were age adjusted by direct standardization to the US 2000 standard population. To analyze differences over time, the 2003 2004 data were compared with the 1999 2000 data. Estimates with a coefficient of variation >0.3 were considered unreliable. A 2 tailed P value <0.05 was considered statistically significant. (Ong et al. 2009) 26 17 June, 2014 13

Writing plan for statistical analysis #2 To assess the effect of the selection process on the characteristics of the cases, we compared cases included in the final analysis to the rest of the cases. Since controls included in the present analysis were different from the rest of the diabetes free participants by design, no similar comparisons were performed for that group. To compare baseline characteristics of cases and controls appropriate univariate statistics were used. Similar binary logistic and multiple linear regression models were built with incident diabetes or HbA1c as respective outcomes and additive block entry of adiponectin and potential confounders. For linear regression CRP and triglycerides were log transformed. Since HbA1c could be modified by drug treatment, we ran a sensitivity analysis excluding all participants on antidiabetic medication. A p value of <0.05 was considered significant. Analyses were performed with SPSS 14.0 for Windows. 27 17 June, 2014 Reporting analysis (example) 28 17 June, 2014 14

Reporting analysis (example) 17 June, 2014 29 Reporting analysis (example) 30 17 June, 2014 15

Summary 1. Identify & define variables 2. Type independent vs. dependent 3. Level of measurements nominal, ordinal or continuous 4. Check distribution Normal vs. Not Normal 5. Decide what to do descriptive vs. analytical Chapter 2 Introduction to SPSS IBM SPSS Statistics v21 for Windows Jamalludin Ab Rahman MD MPH Department of Community Medicine Kulliyyah of Medicine 16

IBM SPSS Statistics 33 IBM Corporation Software Group Route 100 Somers, NY 10589 Produced in the United States of America May 2012 34 SPSS LAYOUT 17

Layout Main menu Toolbar 35 Variables Data editor 36 Enter your data here Rows = each data Rows = variables Define & describe your variables here 18

Viewer 37 The output of analyses will be displayed here. Output is separated from data Syntax 38 We can compile all the steps of the analyses here. Extend the programming function in SPSS. Ability to perform complex steps e.g. looping 19

39 CREATING DATASET Before even you start SPSS! 40 You must identify & define relevant variables Define means 1. Name preferably short single name, begins with alphabet, no special character, no space 2. Type of data e.g. Numeric, Date, String 3. Width & Decimal Places (if numeric) 4. Label description for the Name (will be displayed in Viewer) 5. Values labels for value e.g. 1=Male, 2=Female 6. Missing define missing value e.g. 999 for N/A 20

Define your variables 41 Variable Types 42 21

Variable Type For numeric, determine Width & Decimal. Decimal < Width New option for Numerics with leading zeros For String, no option for Decimal Place 43 Decide the suitable variable type Value Labels 44 22

Missing Value 45 This question is Not Applicable to male e.g. Assign 999 to represent N/A value & this won t be included in any analysis Chapter 3 Descriptive Statistics IBM SPSS Statistics v21 for Windows Jamalludin Ab Rahman MD MPH Department of Community Medicine Kulliyyah of Medicine 23

Dataset for the exercise File name: healthstatus001.sav Hypothetical Study to describe factors related to HbA1c & Homocystein N=301 13 variables 47 Retrieve file information 48 24

Exercise #1 50 1. Describe socio demographic characteristics of the respondent (age, gender & race) 2. Describe the explanatory variables 1. Exercise 2. smoking status 3. BMI status & 4. BP status 3. Describe HbA1c (taking cut off for Poor HbA1c 6.5%) & HCY 25

51 DESCRIBE NUMERICAL DATA Explore 52 26

53 Results Check for Normality. Is Age data distributed Normally? 54 27

55 Is this Normal distribution? Describe age 56 Normal The subjects distributed between 23 67 years old with the average of 34 (SD=8) years. If not Normal The subjects distributed between 23 67 years old with the median of 33 (IQR=11) years 28

57 DESCRIBE CATEGORICAL DATA Frequency 58 29

59 Results 60 30

61 TRANSFORM Compute 62 31

63 weight / ((height / 100) ** 2) Visual binning 64 32

65 Normal < 23 Overweight 23 to < 27.5 Obese >= 27.5 66 33

Chapter 4 Bivariable analyses IBM SPSS Statistics v21 for Windows Jamalludin Ab Rahman MD MPH Department of Community Medicine Kulliyyah of Medicine To check association of two variables? 68 Age HbA1c 34

The steps 1. Determine which is dependant & which is independent 2. Determine level of measurements 3. Determine Normality of the numerical measurement 4. Determine the suitable statistical test 69 What are the tests? 70 Variable 1 Variable 2 Test Categorical Categorical Chi square Categorical (2 pop) Numerical (Normal) Independent sample t test Categorical (2 pop) Numerical (Not Normal) Mann Whitney U test Categorical (> 2 pop) Numerical (Normal) One way ANOVA Categorical (> 2 pop) Numerical (Not Normal) Kruskal Wallis test Numerical (Normal) Numerical (Normal) Pearson Correlation Coefficient Test Numerical (Normal/ Not Normal) Numerical (Not Normal) Spearman Correlation Coefficient Test Numerical (Normal) Numerical (Normal) Paired Paired t test Numerical (Not Normal) Numerical (Not Normal) Paired Friedman test 17 June, 2014 35

Exercise #2 1. Determine association between socio demographic characteristics & all the risk factors with HbA1c 2. Determine association between socio demographic characteristics & all the risk factors with HCY 71 Note: It would be good if you could construct dummy table for the answers even before the analyses started HCY normal range 72 36

COMPARING TWO MEANS 73 INDEPENDENT SAMPLE t TEST Age vs. BP 74 37

75 Results The original t-test (Student s t-test) assumes equal variances for equal sample sizes. However if the variances are equal, it is robust for different sizes. 76 Welch's correction Levene s test check equality between variances. Ho: There is no difference of variances. So if P is significant, we reject Ho, and therefore equal variances assumed. 38

Table Distribution of age by blood pressure status 77 N Mean SD Statistics df P Normal BP 156 33.9 7.9 t=0.431 299 0.667 High BP 145 34.4 8.9 DIFFERENCE OF TWO PROPORTIONS 78 CHI SQUARED TEST 39

Gender vs. BP 79 80 40

Results Some books may suggest the use of Continuity Correction at ALL time, but recent simulations showed that CC (or Yate s correction) is OVERCONSERVATIVE. Hence, use Pearson 2 when < 20% of cells have expected count < 5 81 Describe this table first. What is your impression? 49% women vs. 47% men with high BP When 20% of cells have EC < 5, use Fisher s Exact Test This is given because we code the variables using numbers. Can be used to measure P-trend COMPARING MORE THAN TWO MEANS 82 ONE WAY ANOVA 41

Race vs. HbA1c 83 84 42

Results Describe these results first. What is your impression? HbA1c between races? 6.4 (SD 2.1) vs. 6.7 (SD 2.2) vs. 6.5 (SD 2.2) 85 The F test shows that there is no single significant difference between any two groups Results BMI status vs. HbA1c The F test shows that at least there is ONE pair with significant different. Either N vs. OW, N vs. OB or OW vs. OB We need to run Post-hoc test to determine which of the PAIR is significant. 86 To decide which Post-hoc test to choose, we have to test for equality of variances i.e. Homogeneity of variances (Levene s test) 43

87 Results Post hoc 88 The significant difference is only for Normal vs. Obese (P=0.002) 44

Report There is a significant association between BMI Status and HbA1c (F(2,298)=13.129, P<0.001). Post hoc test showed that Obese subjects have significantly higher HbA1c compared to Normal and Overweight subjects (P=0.001 and P < 0.001 respectively). 89 NON PARAMETRIC TESTS 90 MANN WHITNEY U 45

Gender vs. HCY 91 Results This ranks table is not to be cited in the research paper. Instead, describe their MEDIAN 92 46

NON PARAMETRIC TESTS 93 KRUSKALL WALLIS Race vs. HCY 94 47

Results 95 RELATIONSHIP OF TWO NUMERICAL DATA 96 CORRELATION TEST 48

Age vs. HbA1c 97 Results 98 49

Age vs. HCY 99 100 50