Re: [R] Nonlinear regression

2017-12-20 Thread Timothy Axberg
Thank you! I didn't realize I wasn't linearizing it correctly. This was very helpful. -Timothy On Tue, Dec 19, 2017 at 10:29 PM, Berwin A Turlach wrote: > G'day Timothy, > > On Tue, 19 Dec 2017 18:28:00 -0600 > Timothy Axberg wrote: > > > Should I repost the question with reply-all? > > Nope,

Re: [R] Nonlinear regression

2017-12-19 Thread Berwin A Turlach
G'day Timothy, On Tue, 19 Dec 2017 18:28:00 -0600 Timothy Axberg wrote: > Should I repost the question with reply-all? Nope, we got all from Jeff's post. :) > On Tue, Dec 19, 2017 at 6:13 PM, Jeff Newmiller > wrote: > > > You also need to reply-all so the mailing list stays in the loop. > >

Re: [R] Nonlinear regression

2017-12-19 Thread Timothy Axberg
Should I repost the question with reply-all? On Tue, Dec 19, 2017 at 6:13 PM, Jeff Newmiller wrote: > You also need to reply-all so the mailing list stays in the loop. > -- > Sent from my phone. Please excuse my brevity. > > On December 19, 2017 4:00:29 PM PST, Timothy Axberg < > axbergtimo...@g

Re: [R] Nonlinear regression

2017-12-19 Thread Jeff Newmiller
You also need to reply-all so the mailing list stays in the loop. -- Sent from my phone. Please excuse my brevity. On December 19, 2017 4:00:29 PM PST, Timothy Axberg wrote: >Sorry about that. Here is the code typed directly on the email. > >qe = (Qmax * Kl * ce) / (1 + Kl * ce) > >##The data

Re: [R] Nonlinear regression

2017-12-19 Thread Jeff Newmiller
Your text has unreadable characters in it. Use plain text. Also, your attachments are not coming through. Read the Posting Guide about attachments... best results are usually obtained by inserting the R code in the body of your email and not attaching anything. -- Sent from my phone. Please e

Re: [R] Nonlinear regression aborting due to error

2011-10-12 Thread Jean V Adams
Dennis Fisher wrote on 10/12/2011 08:06:12 AM: > > jean > > initial values: > INITEMAX <- -25 > INITEFFECT <- 25 > INITC50 <- 14 > GAMMA <- INITGAMMA <- 500 > > see below for other issues. > > dennis > > Dennis Fisher MD > P < (The "P Less

Re: [R] Nonlinear regression aborting due to error

2011-10-12 Thread Jean V Adams
Dennis Fisher wrote on 10/11/2011 07:20:35 PM: > > Colleagues, > > I am fitting an Emax model using nls. The code is: >START <- list(EMAX=INITEMAX, EFFECT=INITEFFECT, C50=INITC50) >CONTROL <- list(maxiter=1000, warnOnly=T) >#FORMULA <- as.formula(YVAR ~ EMAX - EFFEC

Re: [R] Nonlinear regression question

2011-09-15 Thread Greg Snow
What null hypothesis are you trying to test? There is a standard null for linear models that makes sense in a large number of cases, but what the null is for non-linear regression is not obvious (and the coefficient = 0 may not even be possibly, let alone interesting). If you can state what yo

Re: [R] Nonlinear Regression

2011-09-15 Thread John C Nash
optim() optimx package minpackLM package and several others JN On 09/15/2011 06:00 AM, r-help-requ...@r-project.org wrote: > Message: 77 > Date: Wed, 14 Sep 2011 20:44:16 +0100 > From: Liam Brown > To: r-help@r-project.org > Subject: [R] Nonlinear Regression > Message-ID: > > Content-Typ

Re: [R] Nonlinear Regression Parameter Shared Across Multiple DataSets

2010-10-15 Thread Keith Jewell
Hi, I've had to do something like that before. It seems to be a "feature" of nls (in R, but not as I recall in Splus) that it accepts a list with vector components as 'start' values, but flattens the result values to a single vector. I can't spend much time explaining, but here's a fragment of

Re: [R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-15 Thread Jared Blashka
Looking at the source for nlrob, it looks like it saves the coefficients from the results of running an nls and then passes those coefficients back into the next nls request. The issue that it's running into is that nls returns the coefficients as upper, LOGEC501, LOGEC502, and LOGEC503, rather tha

Re: [R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-13 Thread Jared Blashka
As an addendum to my question, I'm attempting to apply the solution to the robust non-linear regression function nlrob from the robustbase package, and it doesn't work in that situation. I'm getting allRobustFit <- nlrob(Y ~ (upper)/(1+10^(X-LOGEC50[dset])), data=all ,start=list(upper=max(all$Y),L

Re: [R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-12 Thread Keith Jewell
"Jared Blashka" wrote in message news:aanlktinffmudugqnkudvr=fmf0wrrtsbjxjexuki_...@mail.gmail.com... > I'm working with 3 different data sets and applying this non-linear > regression formula to each of them. > > nls(Y ~ (upper)/(1+10^(X-LOGEC50)), data=std_no_outliers, > start=list(upper=max(s

Re: [R] Nonlinear regression help

2009-04-24 Thread Uwe Ligges
Taylor Hermes wrote: I seek help with nonlinear regression for my data. I've run intro trouble fitting a model to my data as follows: rate_parameter stable_population 75 1996.1277 100 1623.2979 125 1362.3475 150 1164.6738 175 1014.8227 200 892.0851 225 794.1844 250 710.1489 275 639.6738 3

Re: [R] Nonlinear regression question&[EMAIL PROTECTED]

2008-09-14 Thread Gabor Grothendieck
Try this version: http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf On Sun, Sep 14, 2008 at 6:53 PM, Esther Meenken <[EMAIL PROTECTED]> wrote: > I was unable to open this file Bill Venables' excellent "Exegeses on > Linear Models" posted at > http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.ps.gz I'd

Re: [R] Nonlinear regression question&[EMAIL PROTECTED]

2008-09-14 Thread David Winsemius
On Sep 14, 2008, at 6:53 PM, Esther Meenken wrote: I was unable to open this file Bill Venables' excellent "Exegeses on Linear Models" posted at http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.ps.gz I'd be very interested in reading it? It's a gzipped file that expands into a ps file. On my Mac

Re: [R] Nonlinear regression

2008-05-21 Thread Mike Prager
[EMAIL PROTECTED] wrote: > Could someone help me on the following: > SAS has DUD (Does not Use Derivatives) for nonlinear regression. > > Does "R" has a similar capability? > nls() -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of

Re: [R] Nonlinear regression

2008-05-20 Thread Bill.Venables
sadly. W. -Original Message- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Wednesday, 21 May 2008 10:03 AM To: Venables, Bill (CMIS, Cleveland) Cc: [EMAIL PROTECTED]; r-help@r-project.org Subject: Re: [R] Nonlinear regression Let's not be so hard on SAS. I thought it was m

Re: [R] Nonlinear regression

2008-05-20 Thread Spencer Graves
Let's not be so hard on SAS. I thought it was marvelous when I first used it over 30 years ago. Spencer Graves [EMAIL PROTECTED] wrote: ?nls (I always knew SAS *is* a DUD, but never that it has a DUD too...) Bill Venables CSIRO Laboratories PO Box 120, Cleveland, 4163 AUSTRALI

Re: [R] Nonlinear regression

2008-05-20 Thread Bill.Venables
?nls (I always knew SAS *is* a DUD, but never that it has a DUD too...) Bill Venables CSIRO Laboratories PO Box 120, Cleveland, 4163 AUSTRALIA Office Phone (email preferred): +61 7 3826 7251 Fax (if absolutely necessary): +61 7 3826 7304 Mobile: +61 4 8819 4402 Home Pho