250 likes | 258 Views
Design and Data Analysis in Psychology I. School of Psychology Dpt. Experimental Psychology. Salvador Chacón Moscoso Susana Sanduvete Chaves. Relationship between two quantitative variables. Lesson 11. INTRODUCTION. When assumptions are accepted (parametric tests):
E N D
Design and Data Analysis in Psychology I School of PsychologyDpt. Experimental Psychology Salvador Chacón Moscoso Susana Sanduvete Chaves
INTRODUCTION • When assumptions are accepted (parametric tests): • Simple linear regression (it is going to be studied next academic year in the subject Design and Data Analysis in Psychology II). • Pearson correlation. • When assumptions are not accepted (non-parametric tests): • Spearman correlation.
PEARSON CORRELATION: DEFINITION • rXY • Coefficient useful to measure covariation between variables: in which way changes in a variable are associated to the changes in other variable. • Quantitative variables (interval or ratio scale). • Linear relationship EXCLUSIVELY. • Values: -1 ≤ rXY ≤ +1. • Interpretation: +1: perfect positive correlation (direct association). -1: perfect negative correlation (inverse association). 0: no correlation.
Perfect positive correlation: rxy = +1 (difficult to find in psychology)
Perfect negative correlation: rxy = -1 (difficult to find in psychology)
Formulas Raw scores Deviation scores Standard scores
Example X: 2 4 6 8 10 12 14 16 18 20 Y:1 6 8 10 12 10 12 13 10 22 • Calculate rxy in raw scores. • Calculate rxy in deviation scores. • Calculate rxy in standard scores.
Significance • Does the correlation coefficient show a real relationship between X and Y, or is that relationship due to hazard? • Null hypothesis H0: rxy = 0. The correlation coefficient is drawn from a population whose correlation is zero (ρXY = 0). • Alternative hypothesis H1: . The correlation coefficient is not drawn from a population whose correlation is different to zero (ρXY ).
Significance • Formula: • Interpretation: • Null hypothesis is rejected. The correlation is not drawn from a population whose score ρxy = 0. Significant relationship between variables exists. • Null hypothesis is accepted. The correlation is drawn from a population whose score ρxy = 0. Significant relationship between variables does not exist. • Exercise: conclude about the significance of the example.
Significance: example Conclusions: we reject the null hypothesis with a maximum risk to fail of 0.05. The correlation is not drawn from a population whose score ρxy = 0. Relationship between variables exists.
Other questions to be considered • Correlation does not imply causality. • Statistical significance depends on sample size (higher N, likelier to obtain significance). • Other possible interpretation is given by the coefficient of determination , or proportion of variability in Y that is ‘explained’ by X. • The proportion of Y variability that left unexplained by X is called coefficient of non-determination: • Exercise: calculate the coefficient of determination and the coefficient of non-determination and interpret the results.
Coefficient of determination: example 70.4% of variability in Y is explained by X. 29.6% of variability in Y is not explained.