Xuhua Xia Slide 1 Correlation Simple correlation –between two variables Multiple and Partial correlations –between one variable and a set of other variables.

Slides:



Advertisements
Similar presentations
All Possible Regressions and Statistics for Comparing Models
Advertisements

A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Canonical Correlation
Xuhua Xia Fitting Several Regression Lines Many applications of statistical analysis involves a continuous variable as dependent variable (DV) but both.
Multiple Regression W&W, Chapter 13, 15(3-4). Introduction Multiple regression is an extension of bivariate regression to take into account more than.
Introduction to Predictive Modeling with Examples Nationwide Insurance Company, November 2 D. A. Dickey.
Path Analysis SAS/Calis. Read in the Data options formdlim='-' nodate pagno=min; TITLE 'Path Analysis, Ingram Data' ; data Ingram(type=corr); INPUT _TYPE_.
Xuhua Xia Slide 1 Correlation Simple correlation –between two variables Multiple and Partial correlations –between one variable and a set of other variables.
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
EPI 809/Spring Probability Distribution of Random Error.
Simple Linear Regression and Correlation
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Creating Graphs on Saturn GOPTIONS DEVICE = png HTITLE=2 HTEXT=1.5 GSFMODE = replace; PROC REG DATA=agebp; MODEL sbp = age; PLOT sbp*age; RUN; This will.
Some Terms Y =  o +  1 X Regression of Y on X Regress Y on X X called independent variable or predictor variable or covariate or factor Which factors.
Bivariate Regression CJ 526 Statistical Analysis in Criminal Justice.
Statistics for Business and Economics
CHAPTER 4 ECONOMETRICS x x x x x Multiple Regression = more than one explanatory variable Independent variables are X 2 and X 3. Y i = B 1 + B 2 X 2i +
Dr. Mario MazzocchiResearch Methods & Data Analysis1 Correlation and regression analysis Week 8 Research Methods & Data Analysis.
This Week Continue with linear regression Begin multiple regression –Le 8.2 –C & S 9:A-E Handout: Class examples and assignment 3.
Lecture 5: Simple Linear Regression
1 Chapter 17: Introduction to Regression. 2 Introduction to Linear Regression The Pearson correlation measures the degree to which a set of data points.
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Discriminant Analysis Testing latent variables as predictors of groups.
Example of Simple and Multiple Regression
Correlation and Regression
Elements of Multiple Regression Analysis: Two Independent Variables Yong Sept
Chapter 13: Inference in Regression
© 2002 Prentice-Hall, Inc.Chap 14-1 Introduction to Multiple Regression Model.
Multivariate Data Analysis Chapter 8 - Canonical Correlation Analysis.
April 11 Logistic Regression –Modeling interactions –Analysis of case-control studies –Data presentation.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Soc 3306a Multiple Regression Testing a Model and Interpreting Coefficients.
Regression For the purposes of this class: –Does Y depend on X? –Does a change in X cause a change in Y? –Can Y be predicted from X? Y= mX + b Predicted.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
© 2001 Prentice-Hall, Inc. Statistics for Business and Economics Simple Linear Regression Chapter 10.
Soc 3306a Lecture 9: Multivariate 2 More on Multiple Regression: Building a Model and Interpreting Coefficients.
Xuhua Xia Polynomial Regression A biologist is interested in the relationship between feeding time and body weight in the males of a mammalian species.
Curvilinear 2 Modeling Departures from the Straight Line (Curves and Interactions)
Multiple Regression Lab Chapter Topics Multiple Linear Regression Effects Levels of Measurement Dummy Variables 2.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 15: Correlation and Regression Part 2: Hypothesis Testing and Aspects of a Relationship.
6-1 Introduction To Empirical Models Based on the scatter diagram, it is probably reasonable to assume that the mean of the random variable Y is.
Multiple Linear Regression Partial Regression Coefficients.
Regression Chapter 16. Regression >Builds on Correlation >The difference is a question of prediction versus relation Regression predicts, correlation.
Regression in SAS Caitlin Phelps. Importing Data  Proc Import:  Read in variables in data set  May need some options incase SAS doesn’t guess the format.
Chapter 13 Multiple Regression
Xuhua Xia Stepwise Regression Y may depend on many independent variables How to find a subset of X’s that best predict Y? There are several criteria (e.g.,
Lecture 3 Topic - Descriptive Procedures Programs 3-4 LSB 4:1-4.4; 4:9:4:11; 8:1-8:5; 5:1-5.2.
The Pearson Product-Moment Correlation Coefficient.
Xuhua Xia Correlation and Regression Introduction to linear correlation and regression Numerical illustrations SAS and linear correlation/regression –CORR.
Simple Linear Regression. Data available : (X,Y) Goal : To predict the response Y. (i.e. to obtain the fitted response function f(X)) Least Squares Fitting.
SIMPLE LINEAR REGRESSION AND CORRELLATION
Chapter 8 Relationships Among Variables. Outline What correlational research investigates Understanding the nature of correlation What the coefficient.
1 Experimental Statistics - week 12 Chapter 11: Linear Regression and Correlation Chapter 12: Multiple Regression.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
1 Experimental Statistics - week 11 Chapter 11: Linear Regression and Correlation.
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 16 & 17 By Tasha Chapman, Oregon Health Authority.
1 Linear Regression Model. 2 Types of Regression Models.
INTRODUCTION TO MULTIPLE REGRESSION MULTIPLE REGRESSION MODEL 11.2 MULTIPLE COEFFICIENT OF DETERMINATION 11.3 MODEL ASSUMPTIONS 11.4 TEST OF SIGNIFICANCE.
Chapter 11: Linear Regression E370, Spring From Simple Regression to Multiple Regression.
Lecture 11: Simple Linear Regression
Lecture 10 Regression Analysis
REGRESSION (R2).
Week 14 Chapter 16 – Partial Correlation and Multiple Regression and Correlation.
Quantitative Methods Simple Regression.
Multiple Regression – Part II
6-1 Introduction To Empirical Models
Simple Linear Regression
Multiple Linear Regression
Regression and Correlation of Data
Presentation transcript:

Xuhua Xia Slide 1 Correlation Simple correlation –between two variables Multiple and Partial correlations –between one variable and a set of other variables Canonical Correlation –between two sets of variables each containing more than one variable. Simple and multiple correlations are special cases of canonical correlation. Multiple: x 1 on x 2 and x 3 Partial: between X and Y with Z being controlled for

Xuhua Xia Slide 2 Review of correlation XZY Compute Pearson correlation coefficients between X and Z, X and Y and Z and Y. Compute partial correlation coefficient between X and Y, controlling for Z (i.e., the correlation coefficient between X and Y when Z is held constant), by using the equation in the previous slide. Run SAS to verify your calculation: proc corr pearson; var X Y; partial Z; run;

Xuhua Xia Slide 3 Many Possible Correlations With multiple DV’s and IV’s, there could be many correlation patterns: –Variable A in the DV set could be correlated to variables a, b, c in the IV set –Variable B in the DV set could be correlated to variables c, d in the IV set –Variable C in the DV set could be correlated to variables a, c, e in the IV set With these plethora of possible correlated relationships, what is the best way of summarizing them?

Xuhua Xia Slide 4 Dealing with Two Sets of Variables The simple correlation approach: –For N DV’s and M IV’s, calculate the simple correlation coefficient between each of N DV’s and each of M IV’s, yielding a total of N*M correlation coefficients The multiple correlation approach: –For N DV’s and M IV’s, calculate multiple or partial correlation coefficients between each of N DV’s and the set of M IV’s, yielding a total of N correlation coefficients The canonical correlation Note: All these deal with linear correlations

Xuhua Xia Slide 5 Fitness Data /* First three variables: physical Last three variables: exercise Middle-aged men */ data fit; input weight waist pulse chins situps jumps cards; ;

Xuhua Xia Slide 6 SAS Program proc cancorr data=fit vdep wdep smc stb t probt vprefix=PHYS vname='Physical Measurements' wprefix=EXER wname='Exercises'; var weight waist pulse; with chins situps jumps; title2 'Middle-aged Men in a Health Fitness Club'; title3 'Data Courtesy of Dr. A. C. Linnerud, NC State Univ.'; run; What’s the meaning of these cryptic terms? Next slide

Xuhua Xia Slide 7 SAS Program proc cancorr data=fit short vdep wdep smc stb t probt SHORT - suppresses all default output except the tables of Canonical correlations and multivariate statistics. VDEP - requests multiple regression analyses with the VAR variable as dependent variables and the WITH variables as regressors. WDEP does the opposite SMC - prints squared multiple correlations and F tests for the regression analyses The STB option requests standardized regression coefficients. VPREFIX - specify a variable prefix for canonical variables instead of using the default V1, V2, and so on. WPREFIX does the same.

Xuhua Xia Slide 8 Multiple Correlations DV: the Physical Measurements IV: Exercises Squared Multiple Correlations and F Tests 3 numerator df 16 denominator df 95% CI for R 2 R 2 R 2.adj Lower Upper F Pr > F weight waist <.0001 pulse Weight and WAIST are significantly associated with the exercise variables.

Xuhua Xia Slide 9 Regression of Phys. on Exer. Standardized Regression Coefficients weight waist pulse chins situps jumps t Values for the Regression Coefficients weight waist pulse chins situps jumps Prob > |t| for the Regression Coefficients weight waist pulse chins situps jumps

Xuhua Xia Slide 10 Multiple Correlations DV: Exercises IV: the Physical Measurements Squared Multiple Correlations and F Tests 3 numerator df 16 denominator df 95% CI for R 2 R 2 R 2.adj Lower Upper F Pr> F chins situps jumps

Xuhua Xia Slide 11 Regression of Exer. on Phys. Standardized Regression Coefficients chins situps jumps weight waist pulse t Values for the Regression Coefficients chins situps jumps weight waist pulse Prob > |t| for the Regression Coefficients chins situps jumps weight waist pulse

Xuhua Xia Slide 12 Canonical Correlation Adjusted Approx Squared Canonical Canonical Standard Canonical Correlation Correlation Error Correlation Eigenvalue Difference Proportion Cumulative Significance test: EigenvalueLikelihood Approximate Ratio F Value Num DF Den DF Pr > F

Xuhua Xia Slide 13 Standardized Canonical Coefficients for the Physical Measurements PHYS1 PHYS2 PHYS3 weight waist pulse for the exercises EXER1 EXER2 EXER3 chins situps jumps Because the variables are not measured in the same units, the standardized coefficients rather than the raw coefficients should be interpreted.

Xuhua Xia Slide 14 Canonical Structure: correlations Between Phys. and their canonical var.: PHYS1 PHYS2 PHYS3 weight waist pulse Between Exer. and their canonical var.: EXER1 EXER2 EXER3 chins situps jumps Between Phys. and the canonical var. of Exer.: EXER1 EXER2 EXER3 weight waist pulse Between Exer. and the canonical var. of Phys.: PHYS1 PHYS2 PHYS3 chins situps jumps

Xuhua Xia Slide 15 Ecology data data candata; input Sp1 Sp2 Sp3 Sp4 Chem1 Chem2 Chem3 Chem4; cards; ;

Xuhua Xia Slide 16 SAS Program (cont.) proc cancorr vdep wdep smc stb t probt vprefix=BIO vname='Species' wprefix=ENV wname='Environment'; var Sp1 Sp2 Sp3 Sp4; with Chem1 Chem2 Chem3 Chem4; run; Run and explain