Skip to content
Prev 199999 / 398502 Next

Partial correlations and p-values

1) Think about what you did wrong. It doesn't make sense to do
correlation/regression with variables of different lengths. You can
have missing values in one or more variables, if that's what you mean.
Just code them NA.

2) Just add in the predictors, e.g.
residuals(lm(y ~ z1 + z2))

-Ista
On Wed, Nov 11, 2009 at 10:34 PM, dadrivr <dadrivr at gmail.com> wrote: