STATISTICS David Pieper, Ph.D.
Types of Variables Categorical Variables n Organized into category n No necessary order n No quantitative measure n Examples F male, female F race F marital status F treatment A and treatment B
Types of Variables Continuous Variables n Have specific order n Examples: u weight u temperature u blood pressure u Age u Test score n May be converted to categorical or ordinal
Descriptive Statistics n Measures of central tendency u mean (average) n Measures of variability u range u standard deviation
Results of Memory Test AgeGenderAge Group Student or Parent Total Score 17MHSS52 16MHSS49 30FAdultP50 16MHSS47 43FAdultP41 36MAdultP51 16FHSS43 FAdultP41 36FAdultP33
Descriptive Statistics for Memory Test AgeTotal Score Number of Cases196 Minimum712 Maximum7254 Mean SD168
Research Hypothesis n Null hypothesis: relationship among phenomena does not exist n Example: Age does not have an influence on memory
Probability and p Values n p < 0.05 u 1 in 20 or 5% chance groups are not different when we say groups are significantly different n p < 0.01 u 1 in 100 or 1% chance of error n p < u 1 in 1000 or.1% chance of error
Type of Statistical Test to Use n Continuous variable as end point u 2 groups: t-test u 3 or more groups: ANOVA n Relation between 2 categorical variables: u Chi-square test u Fisher’s Exact test (2 x 2) n Relation between 2 continuous variables: u Regression analysis or correlation
T-test n When comparing 2 groups and end- point variable is continuous n Purpose is determine if the difference between the 2 groups is unlikely due to chance
T-test n Examples: n Blood pressure before and after exercise program n Would parents do better on a memory test than students
Results of Memory Test AgeGenderAge Group Student or Parent Total Score 17MHSS52 16MHSS49 30FAdultP50 16MHSS47 43FAdultP41 36MAdultP51 16FHSS43 FAdultP41 36FAdultP33
T-test results comparing Parents and Students Total Score NumberMeanSD Students Parents p < 0.02 Parents had higher scores than students
Analysis of Variance (ANOVA) n When comparing 3 or more groups and end-point is continuous n Example: Compare score on memory test among: u Grade school students u Middle school students u High school students u Parents
Analysis of Variance p < 0.03 High School Students and Adults scored better than Grade School or Middle School Students Total Score
Chi-square Test n When comparing 2 or more groups and the end point is categorical
Chi-square Gender and Parent vs Student StudentParentTotal Female Male Total p = 0.5 There was no significant gender difference between students and parents
Correlation or Regression n When determining if there is a linear relationship between 2 continuous variables n Ranges from -1 to 1
Pearson’s Correlation Coefficient Is Diastolic BP related to Weight? r = p < 0.01
Correlation of Age and Score on Memory Test r = 0.6 No correlation of age and score on memory test
Illustrations: Use Graphs Label axes Include brief description Figure 1: Patients that failed the exercise test had a higher mortality than patients that passed p < 0.01
Free Statistics Software Mystat: List of Free Statistics Software: