Re: [R] exponential day

2018-08-15 Thread J C Nash
Since I'm associated with a lot of nonlinear modeling software, including nlsr and (now deprecated) nlmrt, I'll perhaps seem an odd person to say that I calculate an R^2 quite regularly for all sorts of models. I find it useful to know if my nonlinear models do poorly compared to the model that

Re: [R] exponential day

2018-08-15 Thread Bert Gunter
Please note that R^2 for nonlinear models is nonsense. Search on "R^2 in nonlinear models" for details, e.g. http://statisticsbyjim.com/regression/r-squared-invalid-nonlinear-regression/ Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and

Re: [R] exponential day

2018-08-15 Thread Francis Boateng
Thanks Ellison, I will try it. Francis -Original Message- From: S Ellison Sent: Thursday, August 9, 2018 8:12 AM To: Francis Boateng ; r-help@r-project.org Subject: RE: exponential day > Please, how can I determine parameters from exponential equation > Example > one: y =

Re: [R] exponential day

2018-08-09 Thread S Ellison
> Please, how can I determine parameters from exponential equation Example > one: y = a*exp(-b*x); how do I determine a and b , as well as R-square > from data sets. And also fitting y = a*exp(-b*x) into the data sets Assuming > data sets A = (0,2,4,6,8,10) B = (1,0.8,0.6,0.4,0.2,0.1) For

[R] exponential day

2018-08-09 Thread Francis Boateng
Hi, Please, how can I determine parameters from exponential equation Example one: y = a*exp(-b*x); how do I determine �a� and �b�, as well as R-square from data sets. And also fitting y = a*exp(-b*x) into the data sets Assuming data sets A = (0,2,4,6,8,10) B = (1,0.8,0.6,0.4,0.2,0.1) Thanks