Re: [R] Help with predict.lm

2005-04-20 Thread Mike White
7310 Thanks Mike - Original Message - From: "Ted Harding" <[EMAIL PROTECTED]> To: "Mike White" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, April 20, 2005 8:58 AM Subject: RE: [R] Help with predict.lm > Sorry, I was doing this too late last night! > All st

Re: [R] Help with predict.lm

2005-04-20 Thread Ted Harding
On 20-Apr-05 Mike White wrote: > Ted > Thank you for giving me so much of your time to provide > an explanation of the likelihood ratio approach to the > calibration problem. It has certainly provided me with a > new insight into this problem. I will check out the > references you mentioned to get

RE: [R] Help with predict.lm

2005-04-20 Thread Ted Harding
Sorry, I was doing this too late last night! All stands as before except for the calculation at the end which is now corrected as follows: On 19-Apr-05 Ted Harding wrote: [code repeated for reference] > The following function implements the above expressions. > It is a very crude approach to solvi

RE: [R] Help with predict.lm

2005-04-19 Thread Ted Harding
On 19-Apr-05 Ted Harding wrote: > On 19-Apr-05 Mike White wrote: >> Hi >> I have measured the UV absorbance (abs) of 10 solutions >> of a substance at known concentrations (conc) and have >> used a linear model to plot a calibration graph with >> confidence limits. I now want to predict the concen

Re: [R] Help with predict.lm

2005-04-19 Thread Mike White
root results<-list(Predicted=xpre, Confidence=conf) ## returns results as list to avoid warning message return(results) } Thanks Mike White - Original Message - From: "Ted Harding" <[EMAIL PROTECTED]> To: "Mike White" <[EMAIL PROTECTED]> Cc: Sent: Tuesda

RE: [R] Help with predict.lm

2005-04-19 Thread Ted Harding
On 19-Apr-05 Mike White wrote: > Hi > I have measured the UV absorbance (abs) of 10 solutions > of a substance at known concentrations (conc) and have > used a linear model to plot a calibration graph with > confidence limits. I now want to predict the concentration > of solutions with UV absorban

Re: [R] Help with predict.lm

2005-04-19 Thread Mike White
w.abs) # gives slightly different results than the calib function Thanks to all who replied, Mike White - Original Message - From: "Liaw, Andy" <[EMAIL PROTECTED]> To: "'Mike White'" <[EMAIL PROTECTED]>; Sent: Tuesday, April 19, 2005 1:53 PM Subject:

Re: [R] Help with predict.lm

2005-04-19 Thread TEMPL Matthias
> Hi > I have measured the UV absorbance (abs) of 10 solutions of a > substance at known concentrations (conc) and have used a > linear model to plot a calibration graph with confidence > limits. I now want to predict the concentration of solutions > with UV absorbance results given in the ne

RE: [R] Help with predict.lm

2005-04-19 Thread Liaw, Andy
Will this help? http://finzi.psych.upenn.edu/R/Rhelp02a/archive/1202.html [Found by RSiteSearch("calibration") in R-2.1.0.] Andy > From: Mike White > > Hi > I have measured the UV absorbance (abs) of 10 solutions of a > substance at > known concentrations (conc) and have used a linear model to

[R] Help with predict.lm

2005-04-19 Thread Mike White
Hi I have measured the UV absorbance (abs) of 10 solutions of a substance at known concentrations (conc) and have used a linear model to plot a calibration graph with confidence limits. I now want to predict the concentration of solutions with UV absorbance results given in the new.abs data.frame