Re: [R] Plot different regression models on one graph

2010-02-15 Thread Peter Ehlers
ing a control variable, is equivalent for this example. I have not decided how I feel about that yet, but I do have a splitting headache. Sincerely, KeithC. -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Sunday, February 14, 2010 10:04 PM To: kMan Cc: r-help@

Re: [R] Plot different regression models on one graph

2010-02-14 Thread kMan
example. I have not decided how I feel about that yet, but I do have a splitting headache. Sincerely, KeithC. -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Sunday, February 14, 2010 10:04 PM To: kMan Cc: r-help@r-project.org Subject: Re: [R] Plot differe

Re: [R] Plot different regression models on one graph

2010-02-14 Thread Peter Ehlers
;t base any important decisions on the results of the fit. Cheers, -Peter Ehlers -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Sunday, February 14, 2010 6:49 PM To: kMan Cc: 'David Winsemius'; 'Rhonda Reidy'; r-help@r-project.org Subject: Re: [R]

Re: [R] Plot different regression models on one graph

2010-02-14 Thread kMan
the way? > > KeithC. > > -Original Message- > From: Peter Ehlers [mailto:ehl...@ucalgary.ca] > Sent: Saturday, February 13, 2010 1:35 PM > To: David Winsemius > Cc: Rhonda Reidy; r-help@r-project.org > Subject: Re: [R] Plot different regression models on one gr

Re: [R] Plot different regression models on one graph

2010-02-14 Thread Peter Ehlers
rs [mailto:ehl...@ucalgary.ca] Sent: Saturday, February 13, 2010 1:35 PM To: David Winsemius Cc: Rhonda Reidy; r-help@r-project.org Subject: Re: [R] Plot different regression models on one graph Rhonda: As David points out, a cubic fit is rather speculative. I think that one needs to distinguish two

Re: [R] Plot different regression models on one graph

2010-02-14 Thread kMan
Dear Rhonda, Consider curve(). KeithC. -Original Message- From: Rhonda Reidy [mailto:rre...@gmail.com] Sent: Saturday, February 13, 2010 11:36 AM To: r-help@r-project.org Subject: [R] Plot different regression models on one graph The following variables have the following significant

Re: [R] Plot different regression models on one graph

2010-02-14 Thread kMan
5 PM To: David Winsemius Cc: Rhonda Reidy; r-help@r-project.org Subject: Re: [R] Plot different regression models on one graph Rhonda: As David points out, a cubic fit is rather speculative. I think that one needs to distinguish two situations: 1) theoretical justification for a cubic model is available

Re: [R] Plot different regression models on one graph

2010-02-13 Thread Bert Gunter
ical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Peter Ehlers Sent: Saturday, February 13, 2010 12:35 PM To: David Winsemius Cc: Rhonda Reidy; r-help@r-project.org Subject: Re: [R] Plot different regression models on one graph Rh

Re: [R] Plot different regression models on one graph

2010-02-13 Thread Peter Ehlers
Rhonda: As David points out, a cubic fit is rather speculative. I think that one needs to distinguish two situations: 1) theoretical justification for a cubic model is available, or 2) you're dredging the data for the "best" fit. Your case is the second. That puts you in the realm of EDA (explora

Re: [R] Plot different regression models on one graph

2010-02-13 Thread David Winsemius
On Feb 13, 2010, at 1:35 PM, Rhonda Reidy wrote: The following variables have the following significant relationships (x is the explanatory variable): linear, cubic, exponential, logistic. The linear relationship plots without any trouble. Cubic is the 'best' model, but it is not plotting

Re: [R] Plot different regression models on one graph

2010-02-13 Thread Sharpie
Rhonda Reidy wrote: > > The following variables have the following significant relationships (x is > the explanatory variable): linear, cubic, exponential, logistic. The > linear relationship plots without any trouble. > > Cubic is the 'best' model, but it is not plotting as a smooth curve usi

[R] Plot different regression models on one graph

2010-02-13 Thread Rhonda Reidy
The following variables have the following significant relationships (x is the explanatory variable): linear, cubic, exponential, logistic. The linear relationship plots without any trouble. Cubic is the 'best' model, but it is not plotting as a smooth curve using the following code: cubic.lm