3.3. SIMPLE LINEAR REGRESSION: DUMMY VARIABLES 1 Design and Data Analysis in Psychology II Salvador Chacón Moscoso Susana Sanduvete Chaves.

Slides:



Advertisements
Similar presentations
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Advertisements

Correlation and Regression
Correlation Correlation is the relationship between two quantitative variables. Correlation coefficient (r) measures the strength of the linear relationship.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
SIMPLE LINEAR REGRESSION
ASSESSING THE STRENGTH OF THE REGRESSION MODEL. Assessing the Model’s Strength Although the best straight line through a set of points may have been found.
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Correlation and Regression Analysis
Simple Linear Regression and Correlation
Simple Linear Regression Analysis
Relationships Among Variables
Pearson Correlation Example A researcher wants to determine if there is a relationship between the annual number of lost workdays for each plant and the.
Point Biserial Correlation Example
Lecture 16 Correlation and Coefficient of Correlation
Active Learning Lecture Slides
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
Chapter 12 Correlation and Regression Part III: Additional Hypothesis Tests Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social.
February  Study & Abstract StudyAbstract  Graphic presentation of data. Graphic presentation of data.  Statistical Analyses Statistical Analyses.
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Chapter 13: Inference in Regression
Chapter 11 Simple Regression
Means Tests Hypothesis Testing Assumptions Testing (Normality)
Correlation and Regression
INTRODUCTORY LINEAR REGRESSION SIMPLE LINEAR REGRESSION - Curve fitting - Inferences about estimated parameter - Adequacy of the models - Linear.
Design and Data Analysis in Psychology I Salvador Chacón Moscoso Susana Sanduvete Chaves School of Psychology Dpt. Experimental Psychology 1.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Elementary Statistics Correlation and Regression.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Section 9-1: Inference for Slope and Correlation Section 9-3: Confidence and Prediction Intervals Visit the Maths Study Centre.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter 16 Data Analysis: Testing for Associations.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Environmental Modeling Basic Testing Methods - Statistics III.
–The shortest distance is the one that crosses at 90° the vector u Statistical Inference on correlation and regression.
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
Introduction to Statistics Introduction to Statistics Correlation Chapter 15 April 23-28, 2009 Classes #27-28.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Chapter 7 Calculation of Pearson Coefficient of Correlation, r and testing its significance.
Chapter 5: Introductory Linear Regression
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Multiple Regression Chapter 14.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
LESSON 4.1. MULTIPLE LINEAR REGRESSION 1 Design and Data Analysis in Psychology II Salvador Chacón Moscoso Susana Sanduvete Chaves.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
Design and Data Analysis in Psychology II
Design and Data Analysis in Psychology I Salvador Chacón Moscoso Susana Sanduvete Chaves School of Psychology Dpt. Experimental Psychology 1.
Chapter 11: Linear Regression E370, Spring From Simple Regression to Multiple Regression.
Design and Data Analysis in Psychology I Salvador Chacón Moscoso Susana Sanduvete Chaves School of Psychology Dpt. Experimental Psychology 1.
Inference about the slope parameter and correlation
Design and Data Analysis in Psychology II
Hypothesis Testing.
Design and Data Analysis in Psychology I
Correlation and Simple Linear Regression
Correlation and Regression
SIMPLE LINEAR REGRESSION MODEL
Correlation and Simple Linear Regression
Design and Data Analysis in Psychology I
Design and Data Analysis in Psychology I
Correlation and Simple Linear Regression
Statistical Inference about Regression
Simple Linear Regression and Correlation
Design and Data Analysis in Psychology I
Chapter 8: DUMMY VARIABLE (D.V.) REGRESSION MODELS
3.2. SIMPLE LINEAR REGRESSION
Financial Econometrics Fin. 505
Presentation transcript:

3.3. SIMPLE LINEAR REGRESSION: DUMMY VARIABLES 1 Design and Data Analysis in Psychology II Salvador Chacón Moscoso Susana Sanduvete Chaves

1. Introduction -Qualitative independent variable. -Quantitative dependent variable. -Two independent groups: simple linear regression. -More than two independent groups: multiple linear regression. -Codification dummy – Fictious variable: -0 = absence; 1 = presence -Example: 1 = woman; 0 = man (absence of being woman). 2

3 1. Introduction Linearity assumption is always accepted. The other assumptions must be tested.

4 2. Parameters estimation Regression equation: Formulas to calculate a and b previously used are still useful. In addition:

5 Example. Those are the results obtained by women (X=0) and men (X=1) in a linguistic ability test. XY Parameters estimation

6 1.Calculate the regression equation in raw scores using the new formulas. 2. Interpret the parameters. 3. Calculate the regression equation in raw scores using the classic formulas. 4. Calculate the regression equation supposing that women were codified with 1 and men with Parameters estimation

7 1. Calculate the regression equation in raw scores using the new formulas. 2. Parameters estimation

8 2. Interpret the parameters. -a is the mean value of Y when X = is the mean result obtained in the linguistic ability test in women group. -b is the change in the mean value of Y in the group X = 1 compared to the group X = 0. The mean result is 3.4 lower in men than in women (concretely, the mean result in men is 4). 2. Parameters estimation

9 3. Calculate the regression equation in raw scores using the classic formulas. XYxyx*yx2x2 y2y ,51,3-0,650,251, ,50,3-0,150,250, ,51,3-0,650,251, ,52,3-1,150,255, ,53,3-1,650,2510, ,5-2,7-1,350,257, ,5-0,7-0,350,250, ,5-1,7-0,850,252, ,5-0,7-0,350,250, ,5-2,7-1,350,257,29 557Σ-8,52,538,1 2. Parameters estimation

10 3. Calculate the regression equation in raw scores using the classic formulas. 2. Parameters estimation

11 4. Calculate the regression equation supposing that women were codified with 1 and men with 0. XY Parameters estimation

12 4. Calculate the regression equation supposing that women were codified with 1 and men with Parameters estimation

13 3. Goodness of fit p = ratio of n 1 related to the whole sample. q = ratio of n 0 n 1 related to the whole sample. p + q = 1

14 3. Goodness of fit Example. Using the same data, calculate the goodness of fit using the two formulas proposed, and interpret the results obtained.

15 3. Goodness of fit Ratio of total variability of Y explained by X. 75.8% of variability of linguistic ability is explained by sex.

16 4. Model validation -  Null hypothesis is rejected. The variables are related. The model is valid. –  Null hypothesis is accepted. The variables are not related. The model is not valid. (k = number of independent variables)

17 4. Model validation Example. Using the same data, conclude about the model validation.

18 4. Model validation

19 4. Model validation 19  Conclusión: Null hypothesis is rejected. The variables are related. The model is valid. There is a statistically significant relationship between sex and linguistic ability.

4. Model validation Which is the final conclusion? Significant effect Non-significant effect High effect size ( ≥ 0.67) The effect probably exists The non- significance can be due to low statistical power Low effect size ( ≤ 0.18) The statistical significance can be due to an excessive high statistical power The effect probably does not exist 20

4. Model validation Which is the final conclusion? Significant effect Non-significant effect High effect size R 2 = ( ≥ 0.67) The effect probably exists The non- significance can be due to low statistical power Low effect size ( ≤ 0.18) The statistical significance can be due to an excessive high statistical power The effect probably does not exist 21

22 5. Significance Of Pearson correlation coefficient:

23 5. Significance Of the slope:

24 5. Significance Of samples contrast:

25 5. Significance –  Null hypothesis is rejected. The model is valid. The slope is statistically different from 0. There is, therefore, relationship between variables. –  Null hypothesis is accepted. The model is not valid. The slope is statistically equal to 0. There is not, therefore, relationship between variables. 25

26 5. Significance Example. Calculate t using the different formulas of t and conclude about the significance.

27 5. Significance

28 5. Significance XYxyx*yx2x2 y2y2 Y2Y2 X2X ,51,3-0,650,251, ,50,3-0,150,250, ,51,3-0,650,251, ,52,3-1,150,255, ,53,3-1,650,2510, ,5-2,7-1,350,257, ,5-0,7-0,350,250, ,5-1,7-0,850,252, ,5-0,7-0,350,250, ,5-2,7-1,350,257, ∑-8,52,538,13635

29 5. Significance

30 5. Significance 30 Conclussion: Null hypothesis is rejected. The model is valid. There is statistically significant relationship between sex and linguistic ability.