2. Comparison results on MCAR, MAR, MNAR versions of HAMD study data

Size: px
Start display at page:

Download "2. Comparison results on MCAR, MAR, MNAR versions of HAMD study data"

Transcription

1 Lecture Common methods for missing data 2. Comparison results on MCAR, MAR, MNAR versions of HAMD study data 3. Risk and odds 4. Smoothing binary data 5. Logistic regression with binary response 1 Common methods for MAR data MAR property: missing-ness related only to observed data. 1. Complete case analysis. Omit observations missing any part of the data. SAS default for many procedures. Requires MCAR to be unbiased. 2. Last observation carried forward (LOCF). Longitudinal data collection where early measurements are not missing but final measurements are missing. Use each subjects last non-missing measurement to fill in later missing values. Requires strong assumptions about response; does not account for uncertainty of missing data. 2

2 3. Imputation. This means filling in each missing value with a guess. Many ways to impute: Use mean of individual s other values. Replace missing value in a group with group mean. Predict missing values of a variable V from regression of V on other variables. Requires strong assumptions about response; does not account for uncertainty of missing data Multiple imputation: (a) Impute observations for all missing values of a variable V : use random samples from normal distribution with mean and SD of V. (Or use regression to predict mean and SD, then sample from this normal distribution.) (b) Do the imputation M times, creating M complete data sets. (c) Analyze each of the M complete data sets. (d) Combine the results of the M analyses to draw conclusions. Requires MAR to be unbiased. Partially accounts for uncertainty of missing data. 4

3 Plan Estimate treatment means, test treatment*center interaction from full data, MCAR, MAR, and MNAR. For MCAR, MAR, and MNAR, apply 1. complete case analysis 2. last observation carried forward (LOCF) 3. multiple imputation 5 Full data analysis Test interaction between treatments and centers: Proc GLM data=ph6470.hamd2; class drug center; model final = baseline drug center baseline*drug center; Estimate treatment means using main-effect model: Proc GLM data=ph6470.hamd2; class drug center; model final = baseline drug center; LSmeans drug / stderr; 6

4 Source DF Type III SS Mean Square F Value Pr > F baseline <.0001 drug <.0001 center drug*center From the main-effects model: Standard Parameter Estimate Error t Value Pr > t Intercept B baseline <.0001 drug D B <.0001 drug P B... center B center B center B center B center B... Least Squares Means H0:LSMean1= Standard H0:LSMEAN=0 LSMean2 drug final LSMEAN Error Pr > t Pr > t D <.0001 <.0001 P <.0001 Where is estimate of treatment difference? 8

5 Interaction Drug Effect Drug Effect Data Method P-value (Pbo Drug) ± SE P-value Full ± 1 <.0001 MCAR MAR MNAR 9 Complete Case (CC) Proc GLM omits any observations with missing values for the response or any predictors in the model or class statement. Apply interaction and main-effects Proc GLM to MCAR, MAR, MNAR data sets. MCAR complete case The GLM Procedure Class Level Information Class Levels Values drug 2 D P center Number of Observations Read 100 Number of Observations Used 67 10

6 Interaction Drug Effect Drug Effect Data Method P-value (Pbo Drug) ± SE P-value Full ± 1 <.0001 MCAR CC ± 1 <.0001 MAR CC ± 1 <.0001 MNAR CC ± 1 < Last observation carried forward (LOCF) Fill in the missing final values with baseline in a data step. data MCAR_lcf; set MCAR; final_lcf =final; create a new response variable if final=. then final_lcf=baseline; data MAR_lcf; set MAR; final_lcf=final; if final=. then final_lcf=baseline; data MNAR_lcf; set MNAR; final_lcf=final; if final=. then final_lcf=baseline; 12

7 MCAR last value carried forward The GLM Procedure Class Levels Values drug 2 D P center Dependent Variable: final_lcf Number of Observations Read 100 Number of Observations Used 100 The GLM Procedure No missing data now, because we have filled all the holes. 13 Interaction Drug Effect Drug Effect Data Method P-value (Pbo Drug) ± SE P-value Full ± 1 <.0001 MCAR CC ± 1 <.0001 LOCF ± MAR CC ± 1 <.0001 LOCF ± MNAR CC ± 1 <.0001 LOCF ± 2 <

8 Multiple Imputation: Proc MI + Proc MIanalyze We want to estimate a parameter µ (eg. adjusted mean or regression coefficient) from data with missing values. 1. Proc MI For each missing value Y i, generate M estimates y im, m = 1,..., M using the distribution of observed values. Use MAR property: missingness related only to observed data. Fill in missing values in the data using each set {y im }, to produce M complete data sets. 2. Analyze each of the M complete data sets to get a parameter estimate ˆµ m with variance W m (squared standard error) Proc MIanalyze Combine the results of the M analyses. Combined estimate of µ is the average of the M estimates { ˆµ m }: µ M = 1 M MX ˆµ m. Variance of this estimate comes from the within-imputation variance, estimated by the mean W M of the variances {W m }, and the between-imputation variance and so its standard error is: B M = SE( µ M ) = 1 1 MX ( ˆµ m µ M ) 2, M 1 r 1 W M + M + 1 M B M. Little & Rubin (2002) Statistical Analysis with Missing Data, Second Edition 16

9 For Depression Study example, imputation code will have 3 steps: 1. Proc MI generates M complete data sets, indexed by _Imputation_ 2. Proc GLM fits the model, BY _Imputation_, and outputs the results as a dataset (use ODS close listing to prevent writing them to the output window) 3. Proc MIanalyze reads the output dataset and produces the combined estimate An additional problem is that drug and center are CLASS variables and MIanalyze has problems with these. Need to add these indicators to data. 17 Make indicators for CLASS variables in MCAR, MAR, and MNAR data sets: data ph6470.hamd_mcar; set mar; drugd = (drug="d"); logical variables to make indicators center1=(center=1); center2=(center=2); center3=(center=3); center4=(center=4); drugcenter_1 = drugd * center1; drugcenter_2 = drugd * center2; drugcenter_3 = drugd * center3; drugcenter_4 = drugd * center4; 18

10 Multiple Imputation SAS code Step 1. Make 20 complete datasets using imputation Proc MI data=ph6470.hamd_mcar out=c output data set nimpute=20 number of filled-in datasets seed= minimum= 0 maximum= 40 reject values outside 0-40, range of HAMD round=1.0; round to integer var final; variables to fill in 19 The MI Procedure Model Information Data Set PH6470.HAMD_MCAR Method MCMC Multiple Imputation Chain Single Chain Initial Estimates for MCMC EM Posterior Mode Start Starting Value Prior Jeffreys Number of Imputations 20 Number of Burn-in Iterations 200 Number of Iterations 100 Seed for random number generator Missing Data Patterns Group Means Group baseline final Freq Percent baseline final 1 X X X

11 Step 2. Fit model in Proc GLM to each of the 20 imputed datasets. Write results to output datasets see examples in Help Documentation for Proc MIanalyze. ODS listing close; Proc GLM data=c; model final = baseline drugd center1 center2 center3 center4 drugcenter_1 drugcenter_2 drugcenter_3 drugcenter_4 / inverse solution; by _Imputation_; ODS output ParameterEstimates=glmparms InvXPX=glmxpxi; run; ODS listing; 21 Step 3. Combine estimates. Proc MIanalyze parms=glmparms xpxi=glmxpxi ; modeleffects Intercept baseline drugd center1 center2 center3 center4 drugcenter_1 drugcenter_2 drugcenter_3 drugcenter_4; Very difficult to figure out what output should be passed from procedures (step 2) to Proc MIanalyze. Follow examples given in documentation for MIanalyze or use Google to look for examples. 22

12 MIanalyze: interaction model The MIANALYZE Procedure Parameter Estimates Parameter Estimate Std Error 95% Confidence Limits DF drugd center center center center drugcenter_ drugcenter_ drugcenter_ drugcenter_ t for H0: Parameter Theta0 Parameter=Theta0 Pr > t drugcenter_ drugcenter_ drugcenter_ drugcenter_ Interaction significant? 23 From main-effects model: The MIANALYZE Procedure Parameter Estimates Parameter Estimate Std Error 95% Confidence Limits DF Intercept baseline drugd center center center center t for H0: Parameter Theta0 Parameter=Theta0 Pr > t Intercept baseline <.0001 drugd

13 Interaction Drug Effect Drug Effect Data Method P-value (Pbo Drug) ± SE P-value Full ± 1 <.0001 MCAR CC ± 1 <.0001 LOCF ± MI NS 4.5 ± MAR CC ± 1 <.0001 LOCF ± MI NS 4.8 ± MNAR CC ± 1 <.0001 LOCF ± 2 <.0001 MI NS 3.7 ± Imputing values when data are not missing at random can lead to severe bias. 25 Difficult questions with missing data imputation: 1. Do you have missing at random? How do you know? 2. How do you choose an imputation method? How can you use what you know to improve the process of imputation? References: Dmitrienko et. al. (2005) Analysis of Clinical Trials Using SAS, Chapter 5 R Little and D Rubin (2002) Statistical Analysis with Missing Data, Second Edition 26

14 2 2 Tables: Relative Risk, Odds Ratio group event Frequency Row Pct 0 1 Total Total row percent = rate of events = risk of events Comparisons: risk difference risk ratio (relative risk) odds ratio 27 Two different null hypotheses for risks 1. H 0 : p a p c = 0, risk difference is zero, Z -test, based on ( ˆp a ˆp c ), is equivalent to chi-square test Alternative test of risk differences when some cells have small counts: Fisher s exact test. Risk differences usually relevant for individuals. 2. Risk ratio, or relative risk = 1: H 0 : p a p c = 1 Null value for differences is 0. Null value for ratios is 1. Relative risk applies to groups. 28

15 Odds odds = number of events number without event in sample Event No Event odds risk Group 1 A B A/B A/(A + B) Group 2 C D C/D C/(C + D) Relating odds to risk: odds = number with event number without event = ± number with event n number without event ± n = ˆp 1 ˆp For rare events, ˆp º 0 and so the denominator is almost 1, and odds º risk. 29 Event No Event odds risk Group 1 A B A/B A/(A + B) Group 2 C D C/D C/(C + D) Odds are compared only by ratio, never by difference. Odds ratio is the odds in the top row divided by odds in the bottom row, which simplifies to AD ± BC. Test whether population odds ratio is one, H 0 : OR = 1 by checking whether the 95% confidence interval covers 1. 30

16 Comparing risks and odds in Proc Freq 31 group event Frequency Row Pct 0 1 Total Total

17 Statistic DF Value Prob Chi-Square Fisher s Exact Test Cell (1,1) Frequency (F) 141 Left-sided Pr <= F Right-sided Pr >= F Table Probability (P) Two-sided Pr <= P Estimates of the Relative Risk (Row1/Row2) Type of Study Value 95% Confidence Limits Case-Control ( Odds Ratio ) Cohort (Col1 Risk) Cohort (Col2 Risk) Sample Size = Binary responses Event ± no-event, or 0 ± 1 responses are binary responses. Set-up: one trial in which Y takes values 1=event ± 0=no event. Chance of event = P[Y = 1] = º = population event rate Chance of no event = P[Y = 0] = 1 º Y has Bernoulli distribution (after Jakob Bernoulli, ). mean of Y = º, standard deviation of Y = p º(1 º). SD is a function of the mean, unlike Normal distribution. 34

18 Example: Obesity in NHANES 2004 NHANES 2004 data for children and adults people under age 50 (n = 6116) Event = obesity, defined as BMI 30, or 95th percentile for children Association between age and rate of obesity? P[obese age] = º(age) 35 Graph data, use LOESS (local linear regression) to estimate º(age) without assuming shape Proc SGplot data=under50; loess y = obese x = age / smooth=0.4; 36

19 To see the data, jitter the 0s and 1s: data under50; set pubh.obesity_2004; if (10.0 < age < 50.0); * too many zeros below age 10 gender = "F"; if (female=0) then gender="m"; if obese=1 then y_jitter = *ranuni( )-0.2; if obese=0 then y_jitter = 0.15*ranuni( )+.002; Proc SGplot data=under50; loess y = obese x = age / smooth=0.3 ; scatter y = y_jitter x=age ; Plot smoother from original data, then add jittered data 37 Plotting characters are too large for density of data 38

20 Proc SGplot data=under50; loess y = obese x = age / smooth=0.3 MARKERATTRS=(symbol="circlefilled" size=1); scatter y = y_jitter x=age / MARKERATTRS=(symbol="circlefilled" size=1); Both statements plot their data, so need to set small plotting characters for both 39 40

21 Smooth separately for each gender: age gender interaction? Proc SGplot data=under50; loess y = obese x = age / group = gender smooth=0.3 MARKERATTRS=(symbol="circlefilled" size=1); 41 Regression with binary responses Continuous response y, regression models mean of y as a function of predictors x µ Y (x) = Ø 0 + Ø 1 x Binary (0/1) response y: regression models mean of y as a function of predictors x º(x) = f Ø 0 + Ø 1 x Many choices for f : logistic, probit, log-binomial, Poisson but not the identity function, which is linear regression 42

22 Logistic link between mean and predictors mean = P[obese age] = º(age) = exp(ø 0 + Ø 1 age) = exp(ø 0 + Ø 1 age) 1 + exp( Ø 0 Ø 1 age) Logistic curve on the probability scale. Equivalent: µ º(age) log = Ø 0 + Ø 1 age 1 º(age) Function on left is log odds or logit because ô 1 ô ± number with event n = number without event ± n = number with event number without event = odds Linear on the log odds (logit) scale. 43 Logistic curve (probability scale) for obesity and age: º(age) = exp(ø 0 + Ø 1 age) 1 + exp(ø 0 + Ø 1 age) 1.0 Fitted probability of obesity Age (years) 44

23 1 Rate of Obesity Range of data Age (years) 45 Logistic curves on probability scale º(x) = intercept + (slope)x = Ø 0 + Ø 1 x slope = +1 slope = +0.5 Mean Probability of Event P(x) intercept = +3 slope = +1 intercept = slope = Predictor X 46

24 Logistic curve (log-odds scale) for obesity and age: µ º(age) log = Ø 0 + Ø 1 age 1 º(age) 0.4 Log odds of obesity Age (years) 47 Interpreting slope in logistic regression On log-odds scale, logistic function is a line: log odds at x = Ø 0 + Ø 1 x logistic regression log odds at x + 1 slope Ø 1 log odds at x x x+ 1 Predictor 48

25 Slope is change in log(odds) for unit change in x slope Ø 1 = log odds at x + 1 log odds at x On log scale, log A logb = log A ± B, so slope Ø 1 = log odds at x + 1 log odds at x µ odds at x + 1 = log odds at x Apply exponential function as inverse of log: exp slope Ø 1 = odds at x + 1 odds at x exponential of slope = odds ratio for unit increase in x 49

2. Making example missing-value datasets: MCAR, MAR, and MNAR

2. Making example missing-value datasets: MCAR, MAR, and MNAR Lecture 20 1. Types of missing values 2. Making example missing-value datasets: MCAR, MAR, and MNAR 3. Common methods for missing data 4. Compare results on example MCAR, MAR, MNAR data 1 Missing Data

More information

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group MISSING DATA TECHNIQUES WITH SAS IDRE Statistical Consulting Group ROAD MAP FOR TODAY To discuss: 1. Commonly used techniques for handling missing data, focusing on multiple imputation 2. Issues that could

More information

VI. Introduction to Logistic Regression

VI. Introduction to Logistic Regression VI. Introduction to Logistic Regression We turn our attention now to the topic of modeling a categorical outcome as a function of (possibly) several factors. The framework of generalized linear models

More information

Generalized Linear Models

Generalized Linear Models Generalized Linear Models We have previously worked with regression models where the response variable is quantitative and normally distributed. Now we turn our attention to two types of models where the

More information

Sensitivity Analysis in Multiple Imputation for Missing Data

Sensitivity Analysis in Multiple Imputation for Missing Data Paper SAS270-2014 Sensitivity Analysis in Multiple Imputation for Missing Data Yang Yuan, SAS Institute Inc. ABSTRACT Multiple imputation, a popular strategy for dealing with missing values, usually assumes

More information

Handling missing data in Stata a whirlwind tour

Handling missing data in Stata a whirlwind tour Handling missing data in Stata a whirlwind tour 2012 Italian Stata Users Group Meeting Jonathan Bartlett www.missingdata.org.uk 20th September 2012 1/55 Outline The problem of missing data and a principled

More information

Imputing Missing Data using SAS

Imputing Missing Data using SAS ABSTRACT Paper 3295-2015 Imputing Missing Data using SAS Christopher Yim, California Polytechnic State University, San Luis Obispo Missing data is an unfortunate reality of statistics. However, there are

More information

Problem of Missing Data

Problem of Missing Data VASA Mission of VA Statisticians Association (VASA) Promote & disseminate statistical methodological research relevant to VA studies; Facilitate communication & collaboration among VA-affiliated statisticians;

More information

Multinomial and Ordinal Logistic Regression

Multinomial and Ordinal Logistic Regression Multinomial and Ordinal Logistic Regression ME104: Linear Regression Analysis Kenneth Benoit August 22, 2012 Regression with categorical dependent variables When the dependent variable is categorical,

More information

A Basic Introduction to Missing Data

A Basic Introduction to Missing Data John Fox Sociology 740 Winter 2014 Outline Why Missing Data Arise Why Missing Data Arise Global or unit non-response. In a survey, certain respondents may be unreachable or may refuse to participate. Item

More information

Missing Data: Part 1 What to Do? Carol B. Thompson Johns Hopkins Biostatistics Center SON Brown Bag 3/20/13

Missing Data: Part 1 What to Do? Carol B. Thompson Johns Hopkins Biostatistics Center SON Brown Bag 3/20/13 Missing Data: Part 1 What to Do? Carol B. Thompson Johns Hopkins Biostatistics Center SON Brown Bag 3/20/13 Overview Missingness and impact on statistical analysis Missing data assumptions/mechanisms Conventional

More information

Basic Statistical and Modeling Procedures Using SAS

Basic Statistical and Modeling Procedures Using SAS Basic Statistical and Modeling Procedures Using SAS One-Sample Tests The statistical procedures illustrated in this handout use two datasets. The first, Pulse, has information collected in a classroom

More information

Ordinal Regression. Chapter

Ordinal Regression. Chapter Ordinal Regression Chapter 4 Many variables of interest are ordinal. That is, you can rank the values, but the real distance between categories is unknown. Diseases are graded on scales from least severe

More information

STATISTICA Formula Guide: Logistic Regression. Table of Contents

STATISTICA Formula Guide: Logistic Regression. Table of Contents : Table of Contents... 1 Overview of Model... 1 Dispersion... 2 Parameterization... 3 Sigma-Restricted Model... 3 Overparameterized Model... 4 Reference Coding... 4 Model Summary (Summary Tab)... 5 Summary

More information

Module 14: Missing Data Stata Practical

Module 14: Missing Data Stata Practical Module 14: Missing Data Stata Practical Jonathan Bartlett & James Carpenter London School of Hygiene & Tropical Medicine www.missingdata.org.uk Supported by ESRC grant RES 189-25-0103 and MRC grant G0900724

More information

Analyzing Structural Equation Models With Missing Data

Analyzing Structural Equation Models With Missing Data Analyzing Structural Equation Models With Missing Data Craig Enders* Arizona State University cenders@asu.edu based on Enders, C. K. (006). Analyzing structural equation models with missing data. In G.

More information

SAS Software to Fit the Generalized Linear Model

SAS Software to Fit the Generalized Linear Model SAS Software to Fit the Generalized Linear Model Gordon Johnston, SAS Institute Inc., Cary, NC Abstract In recent years, the class of generalized linear models has gained popularity as a statistical modeling

More information

Review of the Methods for Handling Missing Data in. Longitudinal Data Analysis

Review of the Methods for Handling Missing Data in. Longitudinal Data Analysis Int. Journal of Math. Analysis, Vol. 5, 2011, no. 1, 1-13 Review of the Methods for Handling Missing Data in Longitudinal Data Analysis Michikazu Nakai and Weiming Ke Department of Mathematics and Statistics

More information

Logistic Regression (a type of Generalized Linear Model)

Logistic Regression (a type of Generalized Linear Model) Logistic Regression (a type of Generalized Linear Model) 1/36 Today Review of GLMs Logistic Regression 2/36 How do we find patterns in data? We begin with a model of how the world works We use our knowledge

More information

A Handbook of Statistical Analyses Using R. Brian S. Everitt and Torsten Hothorn

A Handbook of Statistical Analyses Using R. Brian S. Everitt and Torsten Hothorn A Handbook of Statistical Analyses Using R Brian S. Everitt and Torsten Hothorn CHAPTER 6 Logistic Regression and Generalised Linear Models: Blood Screening, Women s Role in Society, and Colonic Polyps

More information

Regression Analysis: A Complete Example

Regression Analysis: A Complete Example Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

More information

Improved Interaction Interpretation: Application of the EFFECTPLOT statement and other useful features in PROC LOGISTIC

Improved Interaction Interpretation: Application of the EFFECTPLOT statement and other useful features in PROC LOGISTIC Paper AA08-2013 Improved Interaction Interpretation: Application of the EFFECTPLOT statement and other useful features in PROC LOGISTIC Robert G. Downer, Grand Valley State University, Allendale, MI ABSTRACT

More information

Scatter Plots with Error Bars

Scatter Plots with Error Bars Chapter 165 Scatter Plots with Error Bars Introduction The procedure extends the capability of the basic scatter plot by allowing you to plot the variability in Y and X corresponding to each point. Each

More information

Introduction to mixed model and missing data issues in longitudinal studies

Introduction to mixed model and missing data issues in longitudinal studies Introduction to mixed model and missing data issues in longitudinal studies Hélène Jacqmin-Gadda INSERM, U897, Bordeaux, France Inserm workshop, St Raphael Outline of the talk I Introduction Mixed models

More information

Logistic Regression (1/24/13)

Logistic Regression (1/24/13) STA63/CBB540: Statistical methods in computational biology Logistic Regression (/24/3) Lecturer: Barbara Engelhardt Scribe: Dinesh Manandhar Introduction Logistic regression is model for regression used

More information

Examining a Fitted Logistic Model

Examining a Fitted Logistic Model STAT 536 Lecture 16 1 Examining a Fitted Logistic Model Deviance Test for Lack of Fit The data below describes the male birth fraction male births/total births over the years 1931 to 1990. A simple logistic

More information

GLM I An Introduction to Generalized Linear Models

GLM I An Introduction to Generalized Linear Models GLM I An Introduction to Generalized Linear Models CAS Ratemaking and Product Management Seminar March 2009 Presented by: Tanya D. Havlicek, Actuarial Assistant 0 ANTITRUST Notice The Casualty Actuarial

More information

Dealing with Missing Data

Dealing with Missing Data Res. Lett. Inf. Math. Sci. (2002) 3, 153-160 Available online at http://www.massey.ac.nz/~wwiims/research/letters/ Dealing with Missing Data Judi Scheffer I.I.M.S. Quad A, Massey University, P.O. Box 102904

More information

Chapter 5 Analysis of variance SPSS Analysis of variance

Chapter 5 Analysis of variance SPSS Analysis of variance Chapter 5 Analysis of variance SPSS Analysis of variance Data file used: gss.sav How to get there: Analyze Compare Means One-way ANOVA To test the null hypothesis that several population means are equal,

More information

International Statistical Institute, 56th Session, 2007: Phil Everson

International Statistical Institute, 56th Session, 2007: Phil Everson Teaching Regression using American Football Scores Everson, Phil Swarthmore College Department of Mathematics and Statistics 5 College Avenue Swarthmore, PA198, USA E-mail: peverso1@swarthmore.edu 1. Introduction

More information

Chapter 29 The GENMOD Procedure. Chapter Table of Contents

Chapter 29 The GENMOD Procedure. Chapter Table of Contents Chapter 29 The GENMOD Procedure Chapter Table of Contents OVERVIEW...1365 WhatisaGeneralizedLinearModel?...1366 ExamplesofGeneralizedLinearModels...1367 TheGENMODProcedure...1368 GETTING STARTED...1370

More information

SP10 From GLM to GLIMMIX-Which Model to Choose? Patricia B. Cerrito, University of Louisville, Louisville, KY

SP10 From GLM to GLIMMIX-Which Model to Choose? Patricia B. Cerrito, University of Louisville, Louisville, KY SP10 From GLM to GLIMMIX-Which Model to Choose? Patricia B. Cerrito, University of Louisville, Louisville, KY ABSTRACT The purpose of this paper is to investigate several SAS procedures that are used in

More information

Introduction to Quantitative Methods

Introduction to Quantitative Methods Introduction to Quantitative Methods October 15, 2009 Contents 1 Definition of Key Terms 2 2 Descriptive Statistics 3 2.1 Frequency Tables......................... 4 2.2 Measures of Central Tendencies.................

More information

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( ) Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates

More information

CHAPTER 3 EXAMPLES: REGRESSION AND PATH ANALYSIS

CHAPTER 3 EXAMPLES: REGRESSION AND PATH ANALYSIS Examples: Regression And Path Analysis CHAPTER 3 EXAMPLES: REGRESSION AND PATH ANALYSIS Regression analysis with univariate or multivariate dependent variables is a standard procedure for modeling relationships

More information

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96 1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

More information

Unit 12 Logistic Regression Supplementary Chapter 14 in IPS On CD (Chap 16, 5th ed.)

Unit 12 Logistic Regression Supplementary Chapter 14 in IPS On CD (Chap 16, 5th ed.) Unit 12 Logistic Regression Supplementary Chapter 14 in IPS On CD (Chap 16, 5th ed.) Logistic regression generalizes methods for 2-way tables Adds capability studying several predictors, but Limited to

More information

Implementation of Pattern-Mixture Models Using Standard SAS/STAT Procedures

Implementation of Pattern-Mixture Models Using Standard SAS/STAT Procedures PharmaSUG2011 - Paper SP04 Implementation of Pattern-Mixture Models Using Standard SAS/STAT Procedures Bohdana Ratitch, Quintiles, Montreal, Quebec, Canada Michael O Kelly, Quintiles, Dublin, Ireland ABSTRACT

More information

Statistical modelling with missing data using multiple imputation. Session 4: Sensitivity Analysis after Multiple Imputation

Statistical modelling with missing data using multiple imputation. Session 4: Sensitivity Analysis after Multiple Imputation Statistical modelling with missing data using multiple imputation Session 4: Sensitivity Analysis after Multiple Imputation James Carpenter London School of Hygiene & Tropical Medicine Email: james.carpenter@lshtm.ac.uk

More information

SPSS TRAINING SESSION 3 ADVANCED TOPICS (PASW STATISTICS 17.0) Sun Li Centre for Academic Computing lsun@smu.edu.sg

SPSS TRAINING SESSION 3 ADVANCED TOPICS (PASW STATISTICS 17.0) Sun Li Centre for Academic Computing lsun@smu.edu.sg SPSS TRAINING SESSION 3 ADVANCED TOPICS (PASW STATISTICS 17.0) Sun Li Centre for Academic Computing lsun@smu.edu.sg IN SPSS SESSION 2, WE HAVE LEARNT: Elementary Data Analysis Group Comparison & One-way

More information

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Beckman HLM Reading Group: Questions, Answers and Examples Carolyn J. Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Linear Algebra Slide 1 of

More information

Lecture 14: GLM Estimation and Logistic Regression

Lecture 14: GLM Estimation and Logistic Regression Lecture 14: GLM Estimation and Logistic Regression Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University of South

More information

Cool Tools for PROC LOGISTIC

Cool Tools for PROC LOGISTIC Cool Tools for PROC LOGISTIC Paul D. Allison Statistical Horizons LLC and the University of Pennsylvania March 2013 www.statisticalhorizons.com 1 New Features in LOGISTIC ODDSRATIO statement EFFECTPLOT

More information

Lecture 19: Conditional Logistic Regression

Lecture 19: Conditional Logistic Regression Lecture 19: Conditional Logistic Regression Dipankar Bandyopadhyay, Ph.D. BMTRY 711: Analysis of Categorical Data Spring 2011 Division of Biostatistics and Epidemiology Medical University of South Carolina

More information

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013 Statistics I for QBIC Text Book: Biostatistics, 10 th edition, by Daniel & Cross Contents and Objectives Chapters 1 7 Revised: August 2013 Chapter 1: Nature of Statistics (sections 1.1-1.6) Objectives

More information

11. Analysis of Case-control Studies Logistic Regression

11. Analysis of Case-control Studies Logistic Regression Research methods II 113 11. Analysis of Case-control Studies Logistic Regression This chapter builds upon and further develops the concepts and strategies described in Ch.6 of Mother and Child Health:

More information

data visualization and regression

data visualization and regression data visualization and regression Sepal.Length 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 I. setosa I. versicolor I. virginica I. setosa I. versicolor I. virginica Species Species

More information

Logit Models for Binary Data

Logit Models for Binary Data Chapter 3 Logit Models for Binary Data We now turn our attention to regression models for dichotomous data, including logistic regression and probit analysis. These models are appropriate when the response

More information

13. Poisson Regression Analysis

13. Poisson Regression Analysis 136 Poisson Regression Analysis 13. Poisson Regression Analysis We have so far considered situations where the outcome variable is numeric and Normally distributed, or binary. In clinical work one often

More information

Gamma Distribution Fitting

Gamma Distribution Fitting Chapter 552 Gamma Distribution Fitting Introduction This module fits the gamma probability distributions to a complete or censored set of individual or grouped data values. It outputs various statistics

More information

Dealing with Missing Data

Dealing with Missing Data Dealing with Missing Data Roch Giorgi email: roch.giorgi@univ-amu.fr UMR 912 SESSTIM, Aix Marseille Université / INSERM / IRD, Marseille, France BioSTIC, APHM, Hôpital Timone, Marseille, France January

More information

Overview Classes. 12-3 Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7)

Overview Classes. 12-3 Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7) Overview Classes 12-3 Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7) 2-4 Loglinear models (8) 5-4 15-17 hrs; 5B02 Building and

More information

Re-analysis using Inverse Probability Weighting and Multiple Imputation of Data from the Southampton Women s Survey

Re-analysis using Inverse Probability Weighting and Multiple Imputation of Data from the Southampton Women s Survey Re-analysis using Inverse Probability Weighting and Multiple Imputation of Data from the Southampton Women s Survey MRC Biostatistics Unit Institute of Public Health Forvie Site Robinson Way Cambridge

More information

Handling attrition and non-response in longitudinal data

Handling attrition and non-response in longitudinal data Longitudinal and Life Course Studies 2009 Volume 1 Issue 1 Pp 63-72 Handling attrition and non-response in longitudinal data Harvey Goldstein University of Bristol Correspondence. Professor H. Goldstein

More information

Chapter 13 Introduction to Linear Regression and Correlation Analysis

Chapter 13 Introduction to Linear Regression and Correlation Analysis Chapter 3 Student Lecture Notes 3- Chapter 3 Introduction to Linear Regression and Correlation Analsis Fall 2006 Fundamentals of Business Statistics Chapter Goals To understand the methods for displaing

More information

A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution

A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 4: September

More information

2013 MBA Jump Start Program. Statistics Module Part 3

2013 MBA Jump Start Program. Statistics Module Part 3 2013 MBA Jump Start Program Module 1: Statistics Thomas Gilbert Part 3 Statistics Module Part 3 Hypothesis Testing (Inference) Regressions 2 1 Making an Investment Decision A researcher in your firm just

More information

Using Medical Research Data to Motivate Methodology Development among Undergraduates in SIBS Pittsburgh

Using Medical Research Data to Motivate Methodology Development among Undergraduates in SIBS Pittsburgh Using Medical Research Data to Motivate Methodology Development among Undergraduates in SIBS Pittsburgh Megan Marron and Abdus Wahed Graduate School of Public Health Outline My Experience Motivation for

More information

Auxiliary Variables in Mixture Modeling: 3-Step Approaches Using Mplus

Auxiliary Variables in Mixture Modeling: 3-Step Approaches Using Mplus Auxiliary Variables in Mixture Modeling: 3-Step Approaches Using Mplus Tihomir Asparouhov and Bengt Muthén Mplus Web Notes: No. 15 Version 8, August 5, 2014 1 Abstract This paper discusses alternatives

More information

Missing Data. Katyn & Elena

Missing Data. Katyn & Elena Missing Data Katyn & Elena What to do with Missing Data Standard is complete case analysis/listwise dele;on ie. Delete cases with missing data so only complete cases are le> Two other popular op;ons: Mul;ple

More information

Two Correlated Proportions (McNemar Test)

Two Correlated Proportions (McNemar Test) Chapter 50 Two Correlated Proportions (Mcemar Test) Introduction This procedure computes confidence intervals and hypothesis tests for the comparison of the marginal frequencies of two factors (each with

More information

Factors affecting online sales

Factors affecting online sales Factors affecting online sales Table of contents Summary... 1 Research questions... 1 The dataset... 2 Descriptive statistics: The exploratory stage... 3 Confidence intervals... 4 Hypothesis tests... 4

More information

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables.

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables. SIMPLE LINEAR CORRELATION Simple linear correlation is a measure of the degree to which two variables vary together, or a measure of the intensity of the association between two variables. Correlation

More information

Statistics 104 Final Project A Culture of Debt: A Study of Credit Card Spending in America TF: Kevin Rader Anonymous Students: LD, MH, IW, MY

Statistics 104 Final Project A Culture of Debt: A Study of Credit Card Spending in America TF: Kevin Rader Anonymous Students: LD, MH, IW, MY Statistics 104 Final Project A Culture of Debt: A Study of Credit Card Spending in America TF: Kevin Rader Anonymous Students: LD, MH, IW, MY ABSTRACT: This project attempted to determine the relationship

More information

How to set the main menu of STATA to default factory settings standards

How to set the main menu of STATA to default factory settings standards University of Pretoria Data analysis for evaluation studies Examples in STATA version 11 List of data sets b1.dta (To be created by students in class) fp1.xls (To be provided to students) fp1.txt (To be

More information

Assumptions. Assumptions of linear models. Boxplot. Data exploration. Apply to response variable. Apply to error terms from linear model

Assumptions. Assumptions of linear models. Boxplot. Data exploration. Apply to response variable. Apply to error terms from linear model Assumptions Assumptions of linear models Apply to response variable within each group if predictor categorical Apply to error terms from linear model check by analysing residuals Normality Homogeneity

More information

Analysis of Survey Data Using the SAS SURVEY Procedures: A Primer

Analysis of Survey Data Using the SAS SURVEY Procedures: A Primer Analysis of Survey Data Using the SAS SURVEY Procedures: A Primer Patricia A. Berglund, Institute for Social Research - University of Michigan Wisconsin and Illinois SAS User s Group June 25, 2014 1 Overview

More information

Logit and Probit. Brad Jones 1. April 21, 2009. University of California, Davis. Bradford S. Jones, UC-Davis, Dept. of Political Science

Logit and Probit. Brad Jones 1. April 21, 2009. University of California, Davis. Bradford S. Jones, UC-Davis, Dept. of Political Science Logit and Probit Brad 1 1 Department of Political Science University of California, Davis April 21, 2009 Logit, redux Logit resolves the functional form problem (in terms of the response function in the

More information

Poisson Models for Count Data

Poisson Models for Count Data Chapter 4 Poisson Models for Count Data In this chapter we study log-linear models for count data under the assumption of a Poisson error structure. These models have many applications, not only to the

More information

The first three steps in a logistic regression analysis with examples in IBM SPSS. Steve Simon P.Mean Consulting www.pmean.com

The first three steps in a logistic regression analysis with examples in IBM SPSS. Steve Simon P.Mean Consulting www.pmean.com The first three steps in a logistic regression analysis with examples in IBM SPSS. Steve Simon P.Mean Consulting www.pmean.com 2. Why do I offer this webinar for free? I offer free statistics webinars

More information

LOGISTIC REGRESSION ANALYSIS

LOGISTIC REGRESSION ANALYSIS LOGISTIC REGRESSION ANALYSIS C. Mitchell Dayton Department of Measurement, Statistics & Evaluation Room 1230D Benjamin Building University of Maryland September 1992 1. Introduction and Model Logistic

More information

Statistics 305: Introduction to Biostatistical Methods for Health Sciences

Statistics 305: Introduction to Biostatistical Methods for Health Sciences Statistics 305: Introduction to Biostatistical Methods for Health Sciences Modelling the Log Odds Logistic Regression (Chap 20) Instructor: Liangliang Wang Statistics and Actuarial Science, Simon Fraser

More information

Methods for Interaction Detection in Predictive Modeling Using SAS Doug Thompson, PhD, Blue Cross Blue Shield of IL, NM, OK & TX, Chicago, IL

Methods for Interaction Detection in Predictive Modeling Using SAS Doug Thompson, PhD, Blue Cross Blue Shield of IL, NM, OK & TX, Chicago, IL Paper SA01-2012 Methods for Interaction Detection in Predictive Modeling Using SAS Doug Thompson, PhD, Blue Cross Blue Shield of IL, NM, OK & TX, Chicago, IL ABSTRACT Analysts typically consider combinations

More information

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means Lesson : Comparison of Population Means Part c: Comparison of Two- Means Welcome to lesson c. This third lesson of lesson will discuss hypothesis testing for two independent means. Steps in Hypothesis

More information

HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION

HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION HYPOTHESIS TESTING: CONFIDENCE INTERVALS, T-TESTS, ANOVAS, AND REGRESSION HOD 2990 10 November 2010 Lecture Background This is a lightning speed summary of introductory statistical methods for senior undergraduate

More information

Regression III: Advanced Methods

Regression III: Advanced Methods Lecture 16: Generalized Additive Models Regression III: Advanced Methods Bill Jacoby Michigan State University http://polisci.msu.edu/jacoby/icpsr/regress3 Goals of the Lecture Introduce Additive Models

More information

Chapter 7: Simple linear regression Learning Objectives

Chapter 7: Simple linear regression Learning Objectives Chapter 7: Simple linear regression Learning Objectives Reading: Section 7.1 of OpenIntro Statistics Video: Correlation vs. causation, YouTube (2:19) Video: Intro to Linear Regression, YouTube (5:18) -

More information

Section 5 Part 2. Probability Distributions for Discrete Random Variables

Section 5 Part 2. Probability Distributions for Discrete Random Variables Section 5 Part 2 Probability Distributions for Discrete Random Variables Review and Overview So far we ve covered the following probability and probability distribution topics Probability rules Probability

More information

Logs Transformation in a Regression Equation

Logs Transformation in a Regression Equation Fall, 2001 1 Logs as the Predictor Logs Transformation in a Regression Equation The interpretation of the slope and intercept in a regression change when the predictor (X) is put on a log scale. In this

More information

Simple linear regression

Simple linear regression Simple linear regression Introduction Simple linear regression is a statistical method for obtaining a formula to predict values of one variable from another where there is a causal relationship between

More information

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

More information

SUGI 29 Statistics and Data Analysis

SUGI 29 Statistics and Data Analysis Paper 194-29 Head of the CLASS: Impress your colleagues with a superior understanding of the CLASS statement in PROC LOGISTIC Michelle L. Pritchard and David J. Pasta Ovation Research Group, San Francisco,

More information

Missing Data Sensitivity Analysis of a Continuous Endpoint An Example from a Recent Submission

Missing Data Sensitivity Analysis of a Continuous Endpoint An Example from a Recent Submission Missing Data Sensitivity Analysis of a Continuous Endpoint An Example from a Recent Submission Arno Fritsch Clinical Statistics Europe, Bayer November 21, 2014 ASA NJ Chapter / Bayer Workshop, Whippany

More information

Reject Inference in Credit Scoring. Jie-Men Mok

Reject Inference in Credit Scoring. Jie-Men Mok Reject Inference in Credit Scoring Jie-Men Mok BMI paper January 2009 ii Preface In the Master programme of Business Mathematics and Informatics (BMI), it is required to perform research on a business

More information

Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not.

Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not. Statistical Learning: Chapter 4 Classification 4.1 Introduction Supervised learning with a categorical (Qualitative) response Notation: - Feature vector X, - qualitative response Y, taking values in C

More information

List of Examples. Examples 319

List of Examples. Examples 319 Examples 319 List of Examples DiMaggio and Mantle. 6 Weed seeds. 6, 23, 37, 38 Vole reproduction. 7, 24, 37 Wooly bear caterpillar cocoons. 7 Homophone confusion and Alzheimer s disease. 8 Gear tooth strength.

More information

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition Online Learning Centre Technology Step-by-Step - Excel Microsoft Excel is a spreadsheet software application

More information

Part 2: Analysis of Relationship Between Two Variables

Part 2: Analysis of Relationship Between Two Variables Part 2: Analysis of Relationship Between Two Variables Linear Regression Linear correlation Significance Tests Multiple regression Linear Regression Y = a X + b Dependent Variable Independent Variable

More information

HLM software has been one of the leading statistical packages for hierarchical

HLM software has been one of the leading statistical packages for hierarchical Introductory Guide to HLM With HLM 7 Software 3 G. David Garson HLM software has been one of the leading statistical packages for hierarchical linear modeling due to the pioneering work of Stephen Raudenbush

More information

An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA

An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA ABSTRACT An Introduction to Statistical Tests for the SAS Programmer Sara Beck, Fred Hutchinson Cancer Research Center, Seattle, WA Often SAS Programmers find themselves in situations where performing

More information

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing Introduction Hypothesis Testing Mark Lunt Arthritis Research UK Centre for Ecellence in Epidemiology University of Manchester 13/10/2015 We saw last week that we can never know the population parameters

More information

III. INTRODUCTION TO LOGISTIC REGRESSION. a) Example: APACHE II Score and Mortality in Sepsis

III. INTRODUCTION TO LOGISTIC REGRESSION. a) Example: APACHE II Score and Mortality in Sepsis III. INTRODUCTION TO LOGISTIC REGRESSION 1. Simple Logistic Regression a) Example: APACHE II Score and Mortality in Sepsis The following figure shows 30 day mortality in a sample of septic patients as

More information

IBM SPSS Missing Values 22

IBM SPSS Missing Values 22 IBM SPSS Missing Values 22 Note Before using this information and the product it supports, read the information in Notices on page 23. Product Information This edition applies to version 22, release 0,

More information

We extended the additive model in two variables to the interaction model by adding a third term to the equation.

We extended the additive model in two variables to the interaction model by adding a third term to the equation. Quadratic Models We extended the additive model in two variables to the interaction model by adding a third term to the equation. Similarly, we can extend the linear model in one variable to the quadratic

More information

CHAPTER 12 EXAMPLES: MONTE CARLO SIMULATION STUDIES

CHAPTER 12 EXAMPLES: MONTE CARLO SIMULATION STUDIES Examples: Monte Carlo Simulation Studies CHAPTER 12 EXAMPLES: MONTE CARLO SIMULATION STUDIES Monte Carlo simulation studies are often used for methodological investigations of the performance of statistical

More information

Handling missing data in large data sets. Agostino Di Ciaccio Dept. of Statistics University of Rome La Sapienza

Handling missing data in large data sets. Agostino Di Ciaccio Dept. of Statistics University of Rome La Sapienza Handling missing data in large data sets Agostino Di Ciaccio Dept. of Statistics University of Rome La Sapienza The problem Often in official statistics we have large data sets with many variables and

More information

Assignments Analysis of Longitudinal data: a multilevel approach

Assignments Analysis of Longitudinal data: a multilevel approach Assignments Analysis of Longitudinal data: a multilevel approach Frans E.S. Tan Department of Methodology and Statistics University of Maastricht The Netherlands Maastricht, Jan 2007 Correspondence: Frans

More information

Advanced Statistical Analysis of Mortality. Rhodes, Thomas E. and Freitas, Stephen A. MIB, Inc. 160 University Avenue. Westwood, MA 02090

Advanced Statistical Analysis of Mortality. Rhodes, Thomas E. and Freitas, Stephen A. MIB, Inc. 160 University Avenue. Westwood, MA 02090 Advanced Statistical Analysis of Mortality Rhodes, Thomas E. and Freitas, Stephen A. MIB, Inc 160 University Avenue Westwood, MA 02090 001-(781)-751-6356 fax 001-(781)-329-3379 trhodes@mib.com Abstract

More information

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

 Y. Notation and Equations for Regression Lecture 11/4. Notation: Notation: Notation and Equations for Regression Lecture 11/4 m: The number of predictor variables in a regression Xi: One of multiple predictor variables. The subscript i represents any number from 1 through

More information