SlideShare une entreprise Scribd logo
1  sur  12
Suppressorand distort variables WANG Chengjun City University of HONG KONG 20110304
Suppressor and Suppression A suppressor is one which weakens a relationship, which conceals its true strength. Context:  ,[object Object]
This is the relationship between two variables, while ignoring the influence of other variablesThe general idea: ,[object Object]
By including X2 we suppress this noise, and leave X1 as an improved predictor of Y.,[object Object]
Normal situation Because the variables share variance and influence . each semi-partial correlation, and the corresponding beta, will be less than the simple correlation between Xi and Y.  Y X1
Classical suppression:  rY2 = 0 The presence of X2 will increase the multiple correlation, even though it is not correlated with Y.  X2 suppresses some of error variance in X1.
Suicide rate and religion Durkheim argues that if we control the variable of education, the suicide rate of Jews people will be even smaller. Jews are assumed to be  a more integrated group.
Distort variables Y Y - Distort variable converts a positive relationship into a negative relationship. +                X2 X1 X1 -
Distort variable
Distort variables Zero order correlation between marriage and suicide rates indicates that marriage make people tend to suicide. Marriage make people more integrated, so the married people should have less suicide rate.
Keep model complete For regression: y=b1*x1+b2*x2,  if |ry1|<|b1| For regression: y=b1*x1+b2*x2,  if ry1*b1<0 Suppressor and distort variables remind us to keep the model complete.
 Appendix 1 A simulation of suppression ################Jonathan'sexample############################ # see http://zjz06.spaces.live.com/blog/cns!3F49BBFB6C5A1D86!341.entry y<-c(1,2,3,4,5) x1<-c(2,3,4,5,1) x2<-c(3,2,1,4,5) cor(y,x1);cor(y,x2);cor(x1,x2) ################## partialcorrelations###################### library(ggm)  data<-cbind(y,x1,x2) # partial correlation between y and x1controlling for x2 pcor(c('y','x1','x2'),var(data)) pcor(c('y','x2','x1'),var(data)) # regression partials the effect ofsupression fit12<-lm(y~x1+x2) summary(fit1);summary(fit2);summary(fit12) library(QuantPsyc) lm.beta(fit12) #########visualize the data in correlationmatrices########### library(corrgram)#install.packages('corrgram') corrgram(data, order=TRUE,lower.panel=panel.shade,   upper.panel=panel.pie,text.panel=panel.txt,   main="Suppression in zero ordercorrelation")

Contenu connexe

Plus de Chengjun Wang

计算传播学导论
计算传播学导论计算传播学导论
计算传播学导论Chengjun Wang
 
数据可视化 概念案例方法 王成军 20140104
数据可视化 概念案例方法 王成军 20140104数据可视化 概念案例方法 王成军 20140104
数据可视化 概念案例方法 王成军 20140104Chengjun Wang
 
Randomly sampling YouTube users
Randomly sampling YouTube usersRandomly sampling YouTube users
Randomly sampling YouTube usersChengjun Wang
 
An introduction to computational communication
An introduction to computational communication An introduction to computational communication
An introduction to computational communication Chengjun Wang
 
Pajek chapter2 Attributes and Relations
Pajek chapter2 Attributes and RelationsPajek chapter2 Attributes and Relations
Pajek chapter2 Attributes and RelationsChengjun Wang
 
Calculate Thresholds of Diffusion with Pajek
Calculate Thresholds of Diffusion with PajekCalculate Thresholds of Diffusion with Pajek
Calculate Thresholds of Diffusion with PajekChengjun Wang
 
Chapter 2. Multivariate Analysis of Stationary Time Series
 Chapter 2. Multivariate Analysis of Stationary Time Series Chapter 2. Multivariate Analysis of Stationary Time Series
Chapter 2. Multivariate Analysis of Stationary Time SeriesChengjun Wang
 
人类行为与最大熵原理
人类行为与最大熵原理人类行为与最大熵原理
人类行为与最大熵原理Chengjun Wang
 
Impact of human value, consumer perceived value
Impact of human value, consumer perceived valueImpact of human value, consumer perceived value
Impact of human value, consumer perceived valueChengjun Wang
 
Introduction to News diffusion On News Sharing Website
Introduction to News diffusion On News Sharing WebsiteIntroduction to News diffusion On News Sharing Website
Introduction to News diffusion On News Sharing WebsiteChengjun Wang
 
The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...
The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...
The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...Chengjun Wang
 
Stata Learning From Treiman
Stata Learning From TreimanStata Learning From Treiman
Stata Learning From TreimanChengjun Wang
 
A M O S L E A R N I N G
A M O S  L E A R N I N GA M O S  L E A R N I N G
A M O S L E A R N I N GChengjun Wang
 

Plus de Chengjun Wang (15)

计算传播学导论
计算传播学导论计算传播学导论
计算传播学导论
 
数据可视化 概念案例方法 王成军 20140104
数据可视化 概念案例方法 王成军 20140104数据可视化 概念案例方法 王成军 20140104
数据可视化 概念案例方法 王成军 20140104
 
Randomly sampling YouTube users
Randomly sampling YouTube usersRandomly sampling YouTube users
Randomly sampling YouTube users
 
An introduction to computational communication
An introduction to computational communication An introduction to computational communication
An introduction to computational communication
 
Pajek chapter2 Attributes and Relations
Pajek chapter2 Attributes and RelationsPajek chapter2 Attributes and Relations
Pajek chapter2 Attributes and Relations
 
Calculate Thresholds of Diffusion with Pajek
Calculate Thresholds of Diffusion with PajekCalculate Thresholds of Diffusion with Pajek
Calculate Thresholds of Diffusion with Pajek
 
Chapter 2. Multivariate Analysis of Stationary Time Series
 Chapter 2. Multivariate Analysis of Stationary Time Series Chapter 2. Multivariate Analysis of Stationary Time Series
Chapter 2. Multivariate Analysis of Stationary Time Series
 
人类行为与最大熵原理
人类行为与最大熵原理人类行为与最大熵原理
人类行为与最大熵原理
 
Impact of human value, consumer perceived value
Impact of human value, consumer perceived valueImpact of human value, consumer perceived value
Impact of human value, consumer perceived value
 
Introduction to News diffusion On News Sharing Website
Introduction to News diffusion On News Sharing WebsiteIntroduction to News diffusion On News Sharing Website
Introduction to News diffusion On News Sharing Website
 
The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...
The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...
The Emergence of Spiral of Silence from Individual behaviors: Agent-based Mod...
 
Pajek chapter1
Pajek chapter1Pajek chapter1
Pajek chapter1
 
Stata Learning From Treiman
Stata Learning From TreimanStata Learning From Treiman
Stata Learning From Treiman
 
A M O S L E A R N I N G
A M O S  L E A R N I N GA M O S  L E A R N I N G
A M O S L E A R N I N G
 
Amos Learning
Amos LearningAmos Learning
Amos Learning
 

Suppressor and distort variables

  • 1. Suppressorand distort variables WANG Chengjun City University of HONG KONG 20110304
  • 2.
  • 3.
  • 4.
  • 5. Normal situation Because the variables share variance and influence . each semi-partial correlation, and the corresponding beta, will be less than the simple correlation between Xi and Y. Y X1
  • 6. Classical suppression:  rY2 = 0 The presence of X2 will increase the multiple correlation, even though it is not correlated with Y. X2 suppresses some of error variance in X1.
  • 7. Suicide rate and religion Durkheim argues that if we control the variable of education, the suicide rate of Jews people will be even smaller. Jews are assumed to be a more integrated group.
  • 8. Distort variables Y Y - Distort variable converts a positive relationship into a negative relationship. + X2 X1 X1 -
  • 10. Distort variables Zero order correlation between marriage and suicide rates indicates that marriage make people tend to suicide. Marriage make people more integrated, so the married people should have less suicide rate.
  • 11. Keep model complete For regression: y=b1*x1+b2*x2, if |ry1|<|b1| For regression: y=b1*x1+b2*x2, if ry1*b1<0 Suppressor and distort variables remind us to keep the model complete.
  • 12.  Appendix 1 A simulation of suppression ################Jonathan'sexample############################ # see http://zjz06.spaces.live.com/blog/cns!3F49BBFB6C5A1D86!341.entry y<-c(1,2,3,4,5) x1<-c(2,3,4,5,1) x2<-c(3,2,1,4,5) cor(y,x1);cor(y,x2);cor(x1,x2) ################## partialcorrelations###################### library(ggm)  data<-cbind(y,x1,x2) # partial correlation between y and x1controlling for x2 pcor(c('y','x1','x2'),var(data)) pcor(c('y','x2','x1'),var(data)) # regression partials the effect ofsupression fit12<-lm(y~x1+x2) summary(fit1);summary(fit2);summary(fit12) library(QuantPsyc) lm.beta(fit12) #########visualize the data in correlationmatrices########### library(corrgram)#install.packages('corrgram') corrgram(data, order=TRUE,lower.panel=panel.shade,   upper.panel=panel.pie,text.panel=panel.txt,   main="Suppression in zero ordercorrelation")
  • 13.  Appendix 11 A simulation of distortion set.seed(20110303) y<-rnorm(10000) x2<--0.1*y+0.01*rnorm(10000) x1<-0.8*x2+0.01*rnorm(10000) cor(x1,x2);cor(x1,y);cor(x2,y); plot(data.frame(cbind(y,x1,x2)), col='3') f1<-lm(y~x1) f2<-lm(y~x2) f3<-lm(y~x1+x2) f4<-lm(x1~x2) summary(f1);summary(f2);summary(f3);summary(f4)