JeffreyRacine / R-Package-np

R package np (Nonparametric Kernel Smoothing Methods for Mixed Data Types)
https://socialsciences.mcmaster.ca/people/racinej
47 stars 18 forks source link

multicollinearity #42

Closed waynelapierre closed 1 year ago

waynelapierre commented 1 year ago

Does npreg(y ~ x1 + x2) make sense when x1 and x2 are strongly correlated?

JeffreyRacine commented 1 year ago

Hi,

Short answer, yes.

Disentangling the effects is an interesting issue, and npsigtest() proposes a significance test that can be applied to x1 and x2... we ran extensive simulations pushing the correlation to 0.95 and the test was able to distinguish a relevant (say, x1) from an irrelevant predictor (say x2) with power increasing as the sample size grew.

Hope this helps!