Skip to content
Prev 65538 / 398506 Next

coefficient of partial determination...partial r square [ redux]

If I'm not mistaken, partial R-squared is the R^2 of the quantities plotted
in a partial residual plot, so you can base the computation on that.  Prof.
Fox's `car' package on CRAN has a function for creating those plots, but you
need to figure out the way to extract the quantities being plotted.

[In any case, the basic tools for doing such computations are all in R, and
it shouldn't be hard at all to cook up such a thing, starting from the
formula.  Writing a function that works on any conceivable models that can
be fitted with lm() would be a bit more challenging, but I doubt you need
that.]

HTH,
Andy