Are you looking for the right interactions? Statistically testing for interaction effects with dichotomous outcome variables
|
|
|
- Erick Turner
- 9 years ago
- Views:
Transcription
1 Are you looking for the right interactions? Statistically testing for interaction effects with dichotomous outcome variables Updated for presentation to the Epi Methods group at Columbia Melanie M. Wall Departments of Psychiatry and Biostatistics New York State Psychiatric Institute and Mailman School of Public Health Columbia University 1
2 Data from Brown and Harris (1978) 2X2X2 Table Vulnerability Exposure Outcome (Depression) Lack of Intimacy Stress Event No Yes Risk of Depression No No P00 Effect of Stress given No Vulnerability -> Yes P01 OR = 10.9 (2.3, 51.5) RD = RR = 9.9 (2.2, 44.7) (0.027,0.157) Yes No P10 Effect of Stress given Vulnerability -> Yes P11 OR = 13.8 (3.1,61.4) RD=0.284 RR = 9.8 (2.4, 39.8) (0.170,0.397) OR = Odds Ratio (95% Confidence Interval) <-compare to 1 RR = Risk Ratio (95% Confidence Interval) <-compare to 1 RD = Risk Difference (95% Confidence Interval) <-compare to 0 2
3 Does Vulnerability Modify the Effect of Stress on Depression? On the multiplicative Odds Ratio scale, is 10.9 sig different from 13.8? Test whether the ratio of the odds ratios (i.e. 13.8/10.9 = 1.27) is significantly different from 1. On the multiplicative Risk Ratio scale, is 9.9 sig different from 9.8? Test whether the ratio of the risk ratios (i.e. 9.8/9.9 = 0.99) is significantly different from 1. On the additive Risk Difference scale, is sig different from 0.284? Test whether the difference in the risk differences (i.e = 0.19) is significantly different from 0. Rothman calls this difference in the risk differences the interaction contrast (IC) IC = (P11 - P10) (P01 - P00) 3
4 Odds Ratio of Stress Event on Depression Risk Ratio of Stress Event on Depression Risk Difference of Stress Event on Depression Comparing stress effects across vulnerability groups Different conclusions on multiplicative vs additive scale Comparing Odds Ratios (OR) Comparing Risk Ratios (RR) Comparing Risk Differences (RD) RD = OR= 10.9 OR = 13.8 RR= 9.9 RR = 9.8 RD= no Lack of Intimacy yes Lack of Intimacy 95% confidence intervals for Odds Ratios overlap -> no statistically significant multiplicative interaction OR scale 95% confidence intervals for Risk Ratios overlap -> no statistically significant multiplicative interaction RR scale 95% confidence intervals for Risk Differences do not overlap -> statistically significant additive interaction no yes no Lack of Intimacy yes In general, it is possible to reach different conclusions on the two different multiplicative scales distributional interaction (Campbell, Gatto, Schwartz 2005) 4
5 Probability of Depression Modeling Probabilities Binomial modeling with logit, log, or linear link Binomial model logit link log link linear link Lack Intimacy No Lack of Intimacy no Stress Event yes 5
6 Test for multiplicative interaction on the OR scale- Logistic Regression with a cross-product IN SAS: proc logistic data = brownharris descending; model depressn = stressevent lack_intimacy stressevent*lack_intimacy; oddsratio stressevent / at(lack_intimacy = 0 1); oddsratio lack_intimacy / at(stressevent = 0 1); run; Analysis of Maximum Likelihood Estimates Standard Wald Parameter DF Estimate Error Chi-Square Pr > ChiSq Intercept <.0001 stressevent lack_intimacy stresseve*lack_intim exp(.2411) = 1.27 = Ratio of Odds ratios =13.846/ Not significantly different from 1 Wald Confidence Interval for Odds Ratios Label Estimate 95% Confidence Limits stressevent at lack_intimacy= stressevent at lack_intimacy= lack_intimacy at stressevent= lack_intimacy at stressevent= multiplicative interaction on OR scale is not significant 6
7 Log Odds of Depression Probability of Depression Test for interaction: Are the lines Parallel? Log Odds scale Probability scale Lack Intimacy No Lack of Intimacy Lack Intimacy No Lack of Intimacy Test for whether lines are parallel on probability scale is same as H0: IC = 0. Need to construct a statistical test for IC = P11-P10-P01+P00 P11 Cross product term in logistic regression is magnitude of deviation of these lines from being parallel p-value = > cannot reject that lines on logit scale are parallel Thus, no statistically significant multiplicative interaction on OR scale P00 P10 P01 no Stressful event yes no Stress event yes 7
8 The Problem with Comparing Statistical Significance of Effects Across Groups Don t fall into the trap of concluding there must be effect modification because one association was statistically significant while the other one was not. In other words, just because a significant effect is found in one group and not in the other, does NOT mean the effects are necessarily different in the two groups (regardless of whether we use OR, RR, or RD). Remember, statistical significance is not only a function of the effect (OR, RR, or RD) but also the sample size and the baseline risk. Both of these can differ across groups. McKee and Vilhjalmsson (1986) point out that Brown and Harris (1978) wrongfully applied this logic to conclude there was statistical evidence of effect modification (fortunately there conclusion was correct despite an incorrect statistical test ) 8
9 Different strategies for statistically testing additive interactions on the probability scale The IC is the Difference of Risk Differences. IC = (P11 - P10) (P01 - P00) = P11-P10-P01+P00 From Cheung (2007) Now that many commercially available statistical packages have the capacity to fit log binomial and linear binomial regression models, there is no longer any good justification for fitting logistic regression models and estimating odds ratios when the odds ratio is not of scientific interest Inside quote from Spiegelman and Herzmark (2005). 1. Directly fit Risk = b0 + b1 * EXPO + b2 * VULN + b3*expo*vuln using (A) linear binomial or (B) linear normal model (but use robust standard errors). The b3 = IC and so a test for coefficient b3 is a test for IC. Can be implemented directly in PROC GENMOD or PROC REG. PROS: Contrast of interest is directly estimated and tested and covariates easily included CONS: Linear model for probabilities can be greater than 1 and less than 0 and thus maximum likelihood estimation can be a problem. Note there is no similar problem of estimation for the linear normal model. Wald-type confidence intervals can have poor coverage for linear binomial (Storer et al 1983), better to use profile likelihood confidence intervals. 2. Fit a logistic regression log(risk/(1-risk)) = b0 + b1 * EXPO + b2 * VULN + b3*expo*vuln, then backtransform parameters to the probability scale to calculate IC. Can be implemented directly in PROC NLMIXED. PROS: logistic model more computationally stable since smooth decrease/increase to 0 and 1. CONS: back-transforming can be tricky for estimator and standard errors particularly in presence of covariates. Covariate adjusted probabilities are obtained from average marginal predictions in the fitted logistic regression model (Greenland 2004). Homogeneity of covariate effects on odds ratio scale is not the same as homogeneity on risk difference scale and this may imply misspecification (Kalilani and Atashili 2006; Skrondal 2003). 3. Instead of IC, use IC ratio. Divide the IC by P00 and get a contrast of risk ratios: IC Ratio = P11/P00 -P10/P00 -P01/P00+P00/P00 = RR(11) RR(10) RR(01) + 1 called the Relative Excess Risk due to Interaction (RERI). Many papers on inference for RERI 9
10 Testing for additive interaction on the probability scale Strategy #1a: Use linear binomial regression with a cross-product Risk = b0 + b1 * STRESS + b2 * LACKINT + b3*stress*lackint NOTE: b3 = IC IN SAS: proc genmod data = individual descending; model depressn = stressevent lack_intimacy stressevent*lack_intimacy/ link = identity dist = binomial lrci; estimate 'RD of stressevent when intimacy = 0' stressevent 1; estimate 'RD of stressevent when intimacy = 1' stressevent 1 stressevent*lack_intimacy 1; run; link=identity dist=binomial tells SAS to do linear binomial regression. lrci outputs likelihood ratio (profile likelihood) confidence intervals. Analysis Of Maximum Likelihood Parameter Estimates Likelihood Ratio Standard 95% Confidence Wald Parameter DF Estimate Error Limits Chi-Square Pr>ChiSq Intercept stressevent lack_intimacy stresseve*lack_intim Contrast Estimate Results Mean Mean Standard Label Estimate Confidence Limits Error RD of stressevent when intimacy = RD of stressevent when intimacy = Interaction is statistically significant additive interaction. Reject H0: IC = 0, i.e. Reject parallel lines on probability scale 10
11 Testing for additive interaction on the probability scale Strategy #1b: Use linear normal (i.e. OLS regression) with robust standard errors. ****Weighted least squares controls for the fact that not all observations have the same error variance; proc reg data = individual; model depressn = stressevent lack_intimacy interaction/ white; ***white does the huber white heteroskedastic error estimation; run; The REG Procedure Model: MODEL1 Dependent Variable: depressn Parameter Estimates --Heteroscedasticity Consistent- Parameter Standard Standard Variable DF Estimate Error t Value Pr > t Error t Value Pr > t Intercept stressevent lack_intimacy interaction
12 Test for additive interaction on the probability scale Strategy #2: Use logistic regression and back-transform estimates to form contrasts on the probability scale PROC NLMIXED DATA=individual; ***logistic regression model is; odds = exp(b0 +b1*stressevent + b2*lack_intimacy + b3*stressevent*lack_intimacy); pi = odds/(1+odds); MODEL depressn~binary(pi); estimate 'p00' exp(b0)/(1+exp(b0)); estimate 'p01' exp(b0+b1)/(1+exp(b0+b1)); estimate 'p10' exp(b0+b2)/(1+exp(b0+b2)); estimate 'p11' exp(b0+b1+b2+b3)/(1+exp(b0+b1+b2+b3)); estimate 'p11-p10' exp(b0+b1+b2+b3)/(1+exp(b0+b1+ b2+b3))- exp(b0+b2)/(1+exp(b0+b2)); estimate 'p01-p00' exp(b0+b1)/(1+exp(b0+b1)) - exp(b0)/(1+exp(b0)); estimate 'IC= interaction contrast = p11-p10 - p01 + p00' exp(b0+b1+b2+b3)/(1+exp(b0+b1+ b2+b3)) - exp(b0+b2)/(1+exp(b0+b2)) - exp(b0+b1)/(1+exp(b0+b1)) + exp(b0)/(1+exp(b0)); estimate 'ICR= RERI using RR = p11/p00 - p10/p00 - p01/p00 + 1' exp(b0+b1+b2+b3)/(1+exp(b0+b1+ b2+b3))/ (exp(b0)/(1+exp(b0))) - exp(b0+b2)/(1+exp(b0+b2))/ (exp(b0)/(1+exp(b0))) - exp(b0+b1)/(1+exp(b0+b1)) / (exp(b0)/(1+exp(b0))) + 1; estimate 'ICR= RERI using OR' exp(b1+b2+b3) - exp(b1) - exp(b2) +1; RUN; These are Strategy #3 12
13 Strategy #2 Output from NLMIXED Parameter Estimates Standard Parameter Estimate Error DF t Value Pr > t Alpha Lower Upper Gradient b < b b E-6 b Additional Estimates Standard Label Estimate Error DF t Value Pr > t Lower Upper p p p p < p11-p p01-p IC =p11-p10-p01+p RERI using RR RERI using OR IC estimator same as strategy #1, but slightly different s.e., p-value, 95% conf interval The IC estimator is same as before (slide 9) but slightly different s.e., p-value and 95% confidence interval still conclude there is a significant additive interaction. Results for RERI (using RR and OR) indicate that there is NOT a significant additive interaction. This conflicts with the conclusion that the IC is highly significant. The cause of the discrepancy is related to estimation of standard errors and confidence intervals. Literature indicates Wald-type confidence intervals perform poorly for RERI (Hosmer and Lemeshow 1992; Assman et al 1996). Proc NLMIXED uses Delta method to obtain standard errors of back-transformed parameters and Waldtype confidence intervals, i.e. (estimate) *(standard error). Possible to obtain profile likelihood confidence intervals using a separate macro (Richardson and Kaufman 2009) or PROC NLP (nonlinear programming) (Kuss et al 2010). Also possible to bootstrap (Assman et al 1996 and Nie et al 2010) or incorporate prior information (Chu et al 2011) 13
14 Test for additive interaction on the probability scale Strategy #2: Use logistic regression and back-transform An easier way in SUDAAN proc rlogist data = a design = srs; ***srs tells SUDAAN to treat as iid data; class gene expo ; reflevel gene=0 expo=0; model outcome= gene expo gene*expo; ************; predmarg gene*expo; pred_eff gene=(1 0)*expo=(-1 1)/name ="pred: exposure effect when gene not present"; pred_eff gene=(0 1)*expo=(-1 1)/name ="pred: exposure effect when gene is present"; pred_eff gene=(-1 1)*expo=(-1 1)/name ="pred_int: difference in risk differences"; **************; condmarg gene*expo; cond_eff gene=(1 0)*expo=(-1 1)/name ="cond: exposure effect when gene not present"; cond_eff gene=(0 1)*expo=(-1 1)/name ="cond: exposure effect when gene is present"; cond_eff gene=(-1 1)*expo=(-1 1)/name ="cond_int: difference in risk differences"; These are the same if there are no covariates run; 14
15 S U D A A N Software for the Statistical Analysis of Correlated Data Copyright Research Triangle Institute August 2008 Release 10.0 DESIGN SUMMARY: Variances will be computed using the Taylor Linearization Method, Assuming a Simple Random Sample (SRS) Design Number of zero responses : 382 Number of non-zero responses : 37 Response variable OUTCOME: OUTCOME by: Predicted Marginal #1. NOTE: I renamed Gene = lack_intimacy Expo = stress_event But data is same as Brown Harris PredMarginal Predicted #1 Marginal SE T:Marg=0 P-value GENE, EXPO 0, , , , Contrasted Pred Marg#1 PREDMARG #1 Contrast SE T-Stat P-value pred: exposure effect when gene not present
16 More SUDAAN output for the BrownHarris example Contrasted Predicted Marginal PREDMARG #2 Contrast SE T-Stat P-value pred: exposure effect when gene is present Contrasted Predicted Marginal PREDMARG #3 Contrast SE T-Stat P-value pred_int: difference in risk differences IC 16
17 Controlling for Covariates within the back-transformation strategy When we fit a model on the logit scale and include a covariate (e.g. age as a main effect) logit p = b0 + b1 * EXPO + b2 * VULN + b3*expo*vuln + b4*gender this is controlling for gender on the logit scale so that the effects we find for expo, vuln, and expo*vuln on the logit scale (odds ratios) are expected to be the same both genders. BUT, back on the probability scale (after backtransformation), the effect of expo, vuln, or expo*vuln will differ depending on which gender someone is That is, there was homogeneity of effects (across gender) on the logit scale, but there will not be homogeneity of effects on the probability scale. Not sure this if this is a problem per se but it is something necessary to consider for interpretation. 17
18 Two ways to back transform SUDAAN calls them conditional and predicted marginal From p.513 SUDAAN manual Backtransform an average person Bieler (2010) Standardized population averaged risk Greenland (2004) 18
19 Two ways of back-transforming The conditional marginal approach estimates the effects on the probability scale for a certain fixed covariate value, usually the mean, but usually an average person doesn t exist, e.g. if the covariate is gender and if 30% of sample is male, this means we are finding the predicted probability associated with someone who is 30% male. Further, if we used some other fixed values for the covariates, we would get different effects (on the probability scale) for the gene*environment The predicted marginal approach allows different covariate values to give different predicted probabilities and thus gets a distribution of risks and then averages over them on the probability scale. SUDAAN uses the observed distribution of the covariates in the sample as the standardization population, but I believe Sharon Schwartz would argue that perhaps it is better to use the distribution of the covariates in the unexposed population to standardize to. I think she had a student work on this for topic and they are working on a paper now. From my reading of the EPI literature, the predicted marginal approach is preferred since it has a more meaningful interpretation. 19
20 Conclusion The appropriate scale on which to assess interaction effects with dichotomous outcomes has been a controversial topic in epidemiology for years, but awareness of this controversy is not yet wide spread enough. This would not be a problem if the status quo for examining effect modification (i.e. testing interaction effects in logistic regression) was actually the RIGHT thing to do, but, persuasive arguments have been made from the sufficient cause framework that the additive probability scale (not the multiplicative odds ratio scale) should be used to assess the presence of synergistic effects (Darroch 1997, Rothman and Greenland 1998, Schwartz 2006, Vanderwheel and Robins 2007,2008) There are now straightforward ways within existing software to estimate and test the statistical significance of additive interaction effects. Additional work is needed getting the word out that effect modification should not (just) be looked at using Odds Ratios. 20
21 An illustrative Data example Additive interaction with a covariate gene expo N % outcome % of covariate = % 24% % 36% % 32% % 37% If there was perfect balance of the covariate in each of the 4 risk groups (i.e. Gene by exposure groups), then we wouldn t have to worry about it being a confounder, but since it varies from 24% up to 37% and tends to be higher in the exposure group as compared to the not exposed group, it should be controlled. 70% 60% 50% 40% 30% 20% 10% 0% Risk of outcome in full sample (n=800) no gene 19% 11% gene 40% 19% expo 0 expo Logit of risk of outcome in full sample no gene gene expo 0 expo 1 Variable N Mean Std Dev Sum Minimum Maximum outcome gene expo covariate Pearson Correlation Coefficients, N = 800 outcome gene expo covariate outcome <.0001 <.0001 <.0001 gene <.0001 < expo <.0001 < covariate <
22 Risk when Covariate = 1 (31.6% of sample) Risk when Covariate= 0 (58.4% of sample) 70% 70% 60% 60% 60% 50% 50% 40% 30% 20% 10% 0% 32% 19% expo 0 expo 1 34% no gene gene 40% 30% 20% 10% 0% 8% 13% 11% expo 0 expo 1 29% no gene gene Logit risk Covariate = 1 Logit risk Covariate = no gene gene no gene gene expo 0 expo expo 0 expo Logistic regression estimates: Analysis Of Maximum Likelihood Parameter Estimates Standard Likelihood Ratio 95% Wald Parameter DF Estimate Error Confidence Limits Chi-Square Pr > ChiSq Intercept <.0001 gene expo gene*expo covariate <.0001 Scale Logit P = *GENE *EXPO *G*E *Covariate 2
23 The conditional marginal approach then calculates the predicted probabilities for the G*E back on the original scale as > gene=c(0,0,1,1) > expo=c(0,1,0,1) > covariate = > LogitP = *gene *expo *gene*expo *covariate > LogitP [1] > exp(logitp)/(1+exp(logitp)) [1] FROM SUDAAN Conditional Marginal Conditional #1 Marginal SE T:Marg=0 P-value GENE, EXPO 0, , , , IC = ( ) ( ) Contrasted Conditional Marginal CONDMARG #3 Contrast SE T-Stat P-value cond_int: difference in risk differences
24 And for the predicted marginal approach we take > gene=c(0,0,1,1,0,0,1,1) > expo=c(0,1,0,1,0,1,0,1) > covariate = c(0,0,0,0,1,1,1,1) > #covariate = > LogitP = *gene *expo *gene*expo *covariate > LogitP [1] > prob=exp(logitp)/(1+exp(logitp)) > prob [1] [8] > predmarg = ( )*prob[1:4] *prob[5:8] > predmarg [1] Predicted Marginal Predicted #1 Marginal SE T:Marg=0 P-value GENE, EXPO 0, , , , IC = ( ) =.136 Contrasted Predicted Marginal PREDMARG #3 Contrast SE T-Stat P-value pred_int: difference in risk differences
Logistic (RLOGIST) Example #3
Logistic (RLOGIST) Example #3 SUDAAN Statements and Results Illustrated PREDMARG (predicted marginal proportion) CONDMARG (conditional marginal proportion) PRED_EFF pairwise comparison COND_EFF pairwise
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,
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
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,
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
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
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
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
LOGIT AND PROBIT ANALYSIS
LOGIT AND PROBIT ANALYSIS A.K. Vasisht I.A.S.R.I., Library Avenue, New Delhi 110 012 [email protected] In dummy regression variable models, it is assumed implicitly that the dependent variable Y
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
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
Logistic (RLOGIST) Example #1
Logistic (RLOGIST) Example #1 SUDAAN Statements and Results Illustrated EFFECTS RFORMAT, RLABEL REFLEVEL EXP option on MODEL statement Hosmer-Lemeshow Test Input Data Set(s): BRFWGT.SAS7bdat Example Using
CALCULATIONS & STATISTICS
CALCULATIONS & STATISTICS CALCULATION OF SCORES Conversion of 1-5 scale to 0-100 scores When you look at your report, you will notice that the scores are reported on a 0-100 scale, even though respondents
Using An Ordered Logistic Regression Model with SAS Vartanian: SW 541
Using An Ordered Logistic Regression Model with SAS Vartanian: SW 541 libname in1 >c:\=; Data first; Set in1.extract; A=1; PROC LOGIST OUTEST=DD MAXITER=100 ORDER=DATA; OUTPUT OUT=CC XBETA=XB P=PROB; 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
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
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
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
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
Simple Linear Regression Inference
Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation
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
Chapter Seven. Multiple regression An introduction to multiple regression Performing a multiple regression on SPSS
Chapter Seven Multiple regression An introduction to multiple regression Performing a multiple regression on SPSS Section : An introduction to multiple regression WHAT IS MULTIPLE REGRESSION? Multiple
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
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) -
This can dilute the significance of a departure from the null hypothesis. We can focus the test on departures of a particular form.
One-Degree-of-Freedom Tests Test for group occasion interactions has (number of groups 1) number of occasions 1) degrees of freedom. This can dilute the significance of a departure from the null hypothesis.
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
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
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
SPSS Guide: Regression Analysis
SPSS Guide: Regression Analysis I put this together to give you a step-by-step guide for replicating what we did in the computer lab. It should help you run the tests we covered. The best way to get familiar
The Probit Link Function in Generalized Linear Models for Data Mining Applications
Journal of Modern Applied Statistical Methods Copyright 2013 JMASM, Inc. May 2013, Vol. 12, No. 1, 164-169 1538 9472/13/$95.00 The Probit Link Function in Generalized Linear Models for Data Mining Applications
Linda K. Muthén Bengt Muthén. Copyright 2008 Muthén & Muthén www.statmodel.com. Table Of Contents
Mplus Short Courses Topic 2 Regression Analysis, Eploratory Factor Analysis, Confirmatory Factor Analysis, And Structural Equation Modeling For Categorical, Censored, And Count Outcomes Linda K. Muthén
Module 5: Multiple Regression Analysis
Using Statistical Data Using to Make Statistical Decisions: Data Multiple to Make Regression Decisions Analysis Page 1 Module 5: Multiple Regression Analysis Tom Ilvento, University of Delaware, College
Independent t- Test (Comparing Two Means)
Independent t- Test (Comparing Two Means) The objectives of this lesson are to learn: the definition/purpose of independent t-test when to use the independent t-test the use of SPSS to complete an independent
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:
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
Outline. Topic 4 - Analysis of Variance Approach to Regression. Partitioning Sums of Squares. Total Sum of Squares. Partitioning sums of squares
Topic 4 - Analysis of Variance Approach to Regression Outline Partitioning sums of squares Degrees of freedom Expected mean squares General linear test - Fall 2013 R 2 and the coefficient of correlation
13: Additional ANOVA Topics. Post hoc Comparisons
13: Additional ANOVA Topics Post hoc Comparisons ANOVA Assumptions Assessing Group Variances When Distributional Assumptions are Severely Violated Kruskal-Wallis Test Post hoc Comparisons In the prior
Logistic (RLOGIST) Example #7
Logistic (RLOGIST) Example #7 SUDAAN Statements and Results Illustrated EFFECTS UNITS option EXP option SUBPOPX REFLEVEL Input Data Set(s): SAMADULTED.SAS7bdat Example Using 2006 NHIS data, determine for
Module 4 - Multiple Logistic Regression
Module 4 - Multiple Logistic Regression Objectives Understand the principles and theory underlying logistic regression Understand proportions, probabilities, odds, odds ratios, logits and exponents Be
2. Linear regression with multiple regressors
2. Linear regression with multiple regressors Aim of this section: Introduction of the multiple regression model OLS estimation in multiple regression Measures-of-fit in multiple regression Assumptions
Nominal and ordinal logistic regression
Nominal and ordinal logistic regression April 26 Nominal and ordinal logistic regression Our goal for today is to briefly go over ways to extend the logistic regression model to the case where the outcome
Model Fitting in PROC GENMOD Jean G. Orelien, Analytical Sciences, Inc.
Paper 264-26 Model Fitting in PROC GENMOD Jean G. Orelien, Analytical Sciences, Inc. Abstract: There are several procedures in the SAS System for statistical modeling. Most statisticians who use the SAS
Consider a study in which. How many subjects? The importance of sample size calculations. An insignificant effect: two possibilities.
Consider a study in which How many subjects? The importance of sample size calculations Office of Research Protections Brown Bag Series KB Boomer, Ph.D. Director, [email protected] A researcher conducts
Developing Risk Adjustment Techniques Using the SAS@ System for Assessing Health Care Quality in the lmsystem@
Developing Risk Adjustment Techniques Using the SAS@ System for Assessing Health Care Quality in the lmsystem@ Yanchun Xu, Andrius Kubilius Joint Commission on Accreditation of Healthcare Organizations,
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
ECON 142 SKETCH OF SOLUTIONS FOR APPLIED EXERCISE #2
University of California, Berkeley Prof. Ken Chay Department of Economics Fall Semester, 005 ECON 14 SKETCH OF SOLUTIONS FOR APPLIED EXERCISE # Question 1: a. Below are the scatter plots of hourly wages
Multivariate Logistic Regression
1 Multivariate Logistic Regression As in univariate logistic regression, let π(x) represent the probability of an event that depends on p covariates or independent variables. Then, using an inv.logit formulation
Pearson s Correlation
Pearson s Correlation Correlation the degree to which two variables are associated (co-vary). Covariance may be either positive or negative. Its magnitude depends on the units of measurement. Assumes the
Chapter 15. Mixed Models. 15.1 Overview. A flexible approach to correlated data.
Chapter 15 Mixed Models A flexible approach to correlated data. 15.1 Overview Correlated data arise frequently in statistical analyses. This may be due to grouping of subjects, e.g., students within classrooms,
Data Mining: An Overview of Methods and Technologies for Increasing Profits in Direct Marketing. C. Olivia Rud, VP, Fleet Bank
Data Mining: An Overview of Methods and Technologies for Increasing Profits in Direct Marketing C. Olivia Rud, VP, Fleet Bank ABSTRACT Data Mining is a new term for the common practice of searching through
Using Repeated Measures Techniques To Analyze Cluster-correlated Survey Responses
Using Repeated Measures Techniques To Analyze Cluster-correlated Survey Responses G. Gordon Brown, Celia R. Eicheldinger, and James R. Chromy RTI International, Research Triangle Park, NC 27709 Abstract
II. DISTRIBUTIONS distribution normal distribution. standard scores
Appendix D Basic Measurement And Statistics The following information was developed by Steven Rothke, PhD, Department of Psychology, Rehabilitation Institute of Chicago (RIC) and expanded by Mary F. Schmidt,
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
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
Statistics in Retail Finance. Chapter 2: Statistical models of default
Statistics in Retail Finance 1 Overview > We consider how to build statistical models of default, or delinquency, and how such models are traditionally used for credit application scoring and decision
Univariate Regression
Univariate Regression Correlation and Regression The regression line summarizes the linear relationship between 2 variables Correlation coefficient, r, measures strength of relationship: the closer r is
Online Appendix to Are Risk Preferences Stable Across Contexts? Evidence from Insurance Data
Online Appendix to Are Risk Preferences Stable Across Contexts? Evidence from Insurance Data By LEVON BARSEGHYAN, JEFFREY PRINCE, AND JOSHUA C. TEITELBAUM I. Empty Test Intervals Here we discuss the conditions
Modeling Lifetime Value in the Insurance Industry
Modeling Lifetime Value in the Insurance Industry C. Olivia Parr Rud, Executive Vice President, Data Square, LLC ABSTRACT Acquisition modeling for direct mail insurance has the unique challenge of targeting
X X X a) perfect linear correlation b) no correlation c) positive correlation (r = 1) (r = 0) (0 < r < 1)
CORRELATION AND REGRESSION / 47 CHAPTER EIGHT CORRELATION AND REGRESSION Correlation and regression are statistical methods that are commonly used in the medical literature to compare two or more variables.
Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model
Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written
" 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
Nonlinear Regression Functions. SW Ch 8 1/54/
Nonlinear Regression Functions SW Ch 8 1/54/ The TestScore STR relation looks linear (maybe) SW Ch 8 2/54/ But the TestScore Income relation looks nonlinear... SW Ch 8 3/54/ Nonlinear Regression General
ln(p/(1-p)) = α +β*age35plus, where p is the probability or odds of drinking
Dummy Coding for Dummies Kathryn Martin, Maternal, Child and Adolescent Health Program, California Department of Public Health ABSTRACT There are a number of ways to incorporate categorical variables into
Module 3: Correlation and Covariance
Using Statistical Data to Make Decisions Module 3: Correlation and Covariance Tom Ilvento Dr. Mugdim Pašiƒ University of Delaware Sarajevo Graduate School of Business O ften our interest in data analysis
Multiple Regression: What Is It?
Multiple Regression Multiple Regression: What Is It? Multiple regression is a collection of techniques in which there are multiple predictors of varying kinds and a single outcome We are interested in
COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES.
277 CHAPTER VI COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES. This chapter contains a full discussion of customer loyalty comparisons between private and public insurance companies
Multivariate Analysis of Variance. The general purpose of multivariate analysis of variance (MANOVA) is to determine
2 - Manova 4.3.05 25 Multivariate Analysis of Variance What Multivariate Analysis of Variance is The general purpose of multivariate analysis of variance (MANOVA) is to determine whether multiple levels
Premaster Statistics Tutorial 4 Full solutions
Premaster Statistics Tutorial 4 Full solutions Regression analysis Q1 (based on Doane & Seward, 4/E, 12.7) a. Interpret the slope of the fitted regression = 125,000 + 150. b. What is the prediction for
Descriptive Statistics
Descriptive Statistics Primer Descriptive statistics Central tendency Variation Relative position Relationships Calculating descriptive statistics Descriptive Statistics Purpose to describe or summarize
Some Essential Statistics The Lure of Statistics
Some Essential Statistics The Lure of Statistics Data Mining Techniques, by M.J.A. Berry and G.S Linoff, 2004 Statistics vs. Data Mining..lie, damn lie, and statistics mining data to support preconceived
MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS
MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS MSR = Mean Regression Sum of Squares MSE = Mean Squared Error RSS = Regression Sum of Squares SSE = Sum of Squared Errors/Residuals α = Level of Significance
Logistic Regression. http://faculty.chass.ncsu.edu/garson/pa765/logistic.htm#sigtests
Logistic Regression http://faculty.chass.ncsu.edu/garson/pa765/logistic.htm#sigtests Overview Binary (or binomial) logistic regression is a form of regression which is used when the dependent is a dichotomy
An Introduction to Path Analysis. nach 3
An Introduction to Path Analysis Developed by Sewall Wright, path analysis is a method employed to determine whether or not a multivariate set of nonexperimental data fits well with a particular (a priori)
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
Statistics. Measurement. Scales of Measurement 7/18/2012
Statistics Measurement Measurement is defined as a set of rules for assigning numbers to represent objects, traits, attributes, or behaviors A variableis something that varies (eye color), a constant does
Multinomial Logistic Regression
Multinomial Logistic Regression Dr. Jon Starkweather and Dr. Amanda Kay Moske Multinomial logistic regression is used to predict categorical placement in or the probability of category membership on a
Basic Statistics and Data Analysis for Health Researchers from Foreign Countries
Basic Statistics and Data Analysis for Health Researchers from Foreign Countries Volkert Siersma [email protected] The Research Unit for General Practice in Copenhagen Dias 1 Content Quantifying association
Standard errors of marginal effects in the heteroskedastic probit model
Standard errors of marginal effects in the heteroskedastic probit model Thomas Cornelißen Discussion Paper No. 320 August 2005 ISSN: 0949 9962 Abstract In non-linear regression models, such as the heteroskedastic
Research Methods & Experimental Design
Research Methods & Experimental Design 16.422 Human Supervisory Control April 2004 Research Methods Qualitative vs. quantitative Understanding the relationship between objectives (research question) and
Family economics data: total family income, expenditures, debt status for 50 families in two cohorts (A and B), annual records from 1990 1995.
Lecture 18 1. Random intercepts and slopes 2. Notation for mixed effects models 3. Comparing nested models 4. Multilevel/Hierarchical models 5. SAS versions of R models in Gelman and Hill, chapter 12 1
Binary Logistic Regression
Binary Logistic Regression Main Effects Model Logistic regression will accept quantitative, binary or categorical predictors and will code the latter two in various ways. Here s a simple model including
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
Calculating Effect-Sizes
Calculating Effect-Sizes David B. Wilson, PhD George Mason University August 2011 The Heart and Soul of Meta-analysis: The Effect Size Meta-analysis shifts focus from statistical significance to the direction
INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)
INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA) As with other parametric statistics, we begin the one-way ANOVA with a test of the underlying assumptions. Our first assumption is the assumption of
THE KRUSKAL WALLLIS TEST
THE KRUSKAL WALLLIS TEST TEODORA H. MEHOTCHEVA Wednesday, 23 rd April 08 THE KRUSKAL-WALLIS TEST: The non-parametric alternative to ANOVA: testing for difference between several independent groups 2 NON
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
Calculating the Probability of Returning a Loan with Binary Probability Models
Calculating the Probability of Returning a Loan with Binary Probability Models Associate Professor PhD Julian VASILEV (e-mail: [email protected]) Varna University of Economics, Bulgaria ABSTRACT The
IAPRI Quantitative Analysis Capacity Building Series. Multiple regression analysis & interpreting results
IAPRI Quantitative Analysis Capacity Building Series Multiple regression analysis & interpreting results How important is R-squared? R-squared Published in Agricultural Economics 0.45 Best article of the
Odds ratio, Odds ratio test for independence, chi-squared statistic.
Odds ratio, Odds ratio test for independence, chi-squared statistic. Announcements: Assignment 5 is live on webpage. Due Wed Aug 1 at 4:30pm. (9 days, 1 hour, 58.5 minutes ) Final exam is Aug 9. Review
Section 13, Part 1 ANOVA. Analysis Of Variance
Section 13, Part 1 ANOVA Analysis Of Variance Course Overview So far in this course we ve covered: Descriptive statistics Summary statistics Tables and Graphs Probability Probability Rules Probability
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
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
Introduction to Event History Analysis DUSTIN BROWN POPULATION RESEARCH CENTER
Introduction to Event History Analysis DUSTIN BROWN POPULATION RESEARCH CENTER Objectives Introduce event history analysis Describe some common survival (hazard) distributions Introduce some useful Stata
SENSITIVITY ANALYSIS AND INFERENCE. Lecture 12
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this
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,
Simple Predictive Analytics Curtis Seare
Using Excel to Solve Business Problems: Simple Predictive Analytics Curtis Seare Copyright: Vault Analytics July 2010 Contents Section I: Background Information Why use Predictive Analytics? How to use
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
Statistics and Data Analysis
NESUG 27 PRO LOGISTI: The Logistics ehind Interpreting ategorical Variable Effects Taylor Lewis, U.S. Office of Personnel Management, Washington, D STRT The goal of this paper is to demystify how SS models
Discussion Section 4 ECON 139/239 2010 Summer Term II
Discussion Section 4 ECON 139/239 2010 Summer Term II 1. Let s use the CollegeDistance.csv data again. (a) An education advocacy group argues that, on average, a person s educational attainment would increase
