I was advised someone might be able to help me with this. Very truly yours, Dwayne E. Culp, P.E., CFM Effective February 8, 2009, my contact information becomes: Dwayne E. Culp, P.E., CFM | JACOBS ENGINEERING GROUP : North American Infrastructure | Manager: Hydrology & Hydraulics Section | 5995 Rogerdale Road- B2047B | Houston, TX 77072 | 281-776-2109 | 832.351.7766 Fax | 713.898.1977 Mobile | Dwayne.Culp@Jacobs.com <mailto:Dwayne.Culp@Jacobs.com> | ________________________________ From: Culp, Dwayne Sent: Friday, February 27, 2009 3:04 PM To: Ted Cleveland; R-core@r-project.org Subject: partial residual plots Is it possible to produce partial residual plots in R? I am trying to plot the partial residual vs the adjusted explanatory variable in a multiple linear regression to determine if a transformation should be done in the explanatory variable. Very truly yours, Dwayne E. Culp, P.E., CFM | Jacobs North American Infrastructure | Senior Project Manager- Land Development | 5995 Rogerdale Road | Houston, TX 77072| 281.776.2109 | 713.898.1977 Mobile | Dwayne.Culp@Jacobs.com NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing, copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. [[alternative HTML version deleted]]
Dwayne Culp wrote:>> Is it possible to produce partial residual plots in R?See ?cr.plots in package car. This does "Component+Residual (Partial Residual) Plots." Regards, Mark. Culp, Dwayne wrote:> > I was advised someone might be able to help me with this. > > Very truly yours, > > Dwayne E. Culp, P.E., CFM > > Effective February 8, 2009, my contact information becomes: > Dwayne E. Culp, P.E., CFM | JACOBS ENGINEERING GROUP : North American > Infrastructure | Manager: Hydrology & Hydraulics Section | 5995 Rogerdale > Road- B2047B | Houston, TX 77072 | 281-776-2109 | 832.351.7766 Fax | > 713.898.1977 Mobile | Dwayne.Culp at Jacobs.com > <mailto:Dwayne.Culp at Jacobs.com> > | > > > ________________________________ > > From: Culp, Dwayne > Sent: Friday, February 27, 2009 3:04 PM > To: Ted Cleveland; R-core at r-project.org > Subject: partial residual plots > > > Is it possible to produce partial residual plots in R? > > I am trying to plot the partial residual vs the adjusted explanatory > variable > in a multiple linear regression to determine if a transformation should be > done in the explanatory variable. > > > > Very truly yours, > > Dwayne E. Culp, P.E., CFM | Jacobs North American Infrastructure | Senior > Project Manager- Land Development | 5995 Rogerdale Road | Houston, TX > 77072| > 281.776.2109 | 713.898.1977 Mobile | Dwayne.Culp at Jacobs.com > > NOTICE - This communication may contain confidential and privileged > information that is for the sole use of the intended recipient. Any > viewing, copying or distribution of, or reliance on this message by > unintended recipients is strictly prohibited. If you have received this > message in error, please notify us immediately by replying to the message > and deleting it from your computer. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >-- View this message in context: http://www.nabble.com/FW%3A-partial-residual-plots-tp22293416p22293563.html Sent from the R help mailing list archive at Nabble.com.
Dwayne, Sorry, I forgot about this: also look at ?ceres.plots, also in package car.>From Prof. Fox's documentation: "Ceres plots are a generalization ofcomponent+residual (partial residual) plots that are less prone to leakage of nonlinearity among the predictors." Regards, Mark. Culp, Dwayne wrote:> > I was advised someone might be able to help me with this. > > Very truly yours, > > Dwayne E. Culp, P.E., CFM > > Effective February 8, 2009, my contact information becomes: > Dwayne E. Culp, P.E., CFM | JACOBS ENGINEERING GROUP : North American > Infrastructure | Manager: Hydrology & Hydraulics Section | 5995 Rogerdale > Road- B2047B | Houston, TX 77072 | 281-776-2109 | 832.351.7766 Fax | > 713.898.1977 Mobile | Dwayne.Culp at Jacobs.com > <mailto:Dwayne.Culp at Jacobs.com> > | > > > ________________________________ > > From: Culp, Dwayne > Sent: Friday, February 27, 2009 3:04 PM > To: Ted Cleveland; R-core at r-project.org > Subject: partial residual plots > > > Is it possible to produce partial residual plots in R? > > I am trying to plot the partial residual vs the adjusted explanatory > variable > in a multiple linear regression to determine if a transformation should be > done in the explanatory variable. > > > > Very truly yours, > > Dwayne E. Culp, P.E., CFM | Jacobs North American Infrastructure | Senior > Project Manager- Land Development | 5995 Rogerdale Road | Houston, TX > 77072| > 281.776.2109 | 713.898.1977 Mobile | Dwayne.Culp at Jacobs.com > > NOTICE - This communication may contain confidential and privileged > information that is for the sole use of the intended recipient. Any > viewing, copying or distribution of, or reliance on this message by > unintended recipients is strictly prohibited. If you have received this > message in error, please notify us immediately by replying to the message > and deleting it from your computer. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >-- View this message in context: http://www.nabble.com/FW%3A-partial-residual-plots-tp22293416p22293662.html Sent from the R help mailing list archive at Nabble.com.
Dear Dwayne, I didn't see your post until now, because our email system was down all day yesterday. Mark Difford has already pointed your towards the cr.plots() and ceres.plots() functions in the car package. In your description of what you want to do, you mention the "adjusted explanatory variable." This sounds more like an added-variable plot than a component + residual plot (although the vertical axis of the AV is not the partial residual). In any event, AV plots are not recommended as diagnostics for nonlinearity. I hope this helps, John ------------------------------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]On> Behalf Of Culp, Dwayne > Sent: March-02-09 9:42 AM > To: R-help at r-project.org > Subject: [R] FW: partial residual plots > > I was advised someone might be able to help me with this. > > Very truly yours, > > Dwayne E. Culp, P.E., CFM > > Effective February 8, 2009, my contact information becomes: > Dwayne E. Culp, P.E., CFM | JACOBS ENGINEERING GROUP : North American > Infrastructure | Manager: Hydrology & Hydraulics Section | 5995 Rogerdale > Road- B2047B | Houston, TX 77072 | 281-776-2109 | 832.351.7766 Fax | > 713.898.1977 Mobile | Dwayne.Culp at Jacobs.com<mailto:Dwayne.Culp at Jacobs.com>> | > > > ________________________________ > > From: Culp, Dwayne > Sent: Friday, February 27, 2009 3:04 PM > To: Ted Cleveland; R-core at r-project.org > Subject: partial residual plots > > > Is it possible to produce partial residual plots in R? > > I am trying to plot the partial residual vs the adjusted explanatoryvariable> in a multiple linear regression to determine if a transformation should be > done in the explanatory variable. > > > > Very truly yours, > > Dwayne E. Culp, P.E., CFM | Jacobs North American Infrastructure | Senior > Project Manager- Land Development | 5995 Rogerdale Road | Houston, TX77072|> 281.776.2109 | 713.898.1977 Mobile | Dwayne.Culp at Jacobs.com > > NOTICE - This communication may contain confidential and privileged > information that is for the sole use of the intended recipient. Anyviewing,> copying or distribution of, or reliance on this message by unintended > recipients is strictly prohibited. If you have received this message in > error, please notify us immediately by replying to the message anddeleting> it from your computer. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.