# Hidden Correlation in Regression

Hidden Correlation in Regression

This Demonstration simulates the linear regression =++, , where ==0, , and the are random independent variables from a continuous uniform distribution on ; is generated from a multivariate normal distribution with mean vector 0 and covariance matrix , where =- and , . The thumbnail shows the Poincaré plot (or scatterplot) of the lagged reordered residuals (i+1) versus (i) from the linear model fit. The Kendall rank correlation and its two-sided -value shown in the plot provide a diagnostic test for the presence of hidden correlation. From this residual plot, we clearly see that the errors violate the usual regression assumption of independence. This model misspecification is less obvious using the traditional residual dependency plot.

y

i

β

0

β

1

x

i

e

i

i=1,…,n

β

0

β

1

e=(,…,)

e

1

e

n

x

i

(0,n)

e

Ω=ω

h

i,j

h

i,j

x

i

x

j

w(h)=exp(-h/r)

r≠0

e

x

e

x

P