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

[R] Nonlinear regression

2017-12-19 Thread Timothy Axberg
Hello, I am working on a small data set and trying to find values of Qmax and Kl for the equation qe = (Qmax * Kl * ce) / (1 + š¾l* ce) I found my Qmax and Kl through the linear model butam now trying to find them through the "nls" function however an error comes up that I am unfamiliar with. I ha

[R] Nonlinear regression / Curve fitting with L-infinity norm

2012-03-30 Thread Jack Fruit
Hello everyone, I am looking into time series data compression at the moment. The idea is to fit a curve on a time series of n points so that the maximum deviation on any of the points is not greater than a given threshold. In other words, none of the values that the curve takes at the points

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

[R] Nonlinear regression aborting due to error

2011-10-11 Thread Dennis Fisher
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 - EFFECT * XVAR^GAMMA / (XVAR

Re: [R] Nonlinear regression question

2011-09-15 Thread Greg Snow
801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Tatiana Donnay > Sent: Thursday, September 15, 2011 6:41 AM > To: r-h...@stat.math.ethz.ch > Subject: [R] Nonlinear regression question > > Hel

[R] Nonlinear regression question

2011-09-15 Thread Tatiana Donnay
Hello, If I understand good, I can't have p-value for the nls model. I have 2 vectors. And I'am doing model <- nls(crf ~a*(1-exp(-x/b)) + c, data= d, start = list(a=1, b=3, c=0)) and I want to know If my result is significat, if I can't have p-value, how can I know it? Thank y

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:

[R] Nonlinear Regression

2011-09-14 Thread Liam Brown
I'm wondering what packages exist to implement nonlinear least squares regression in R other than 'nls'. Are there packages which implement methods to estimate the optimum values of the parameters which do not use the Gauss-Newton algorithm e.g. use Nelder Mead. In particular, I'd be interested whe

[R] nonlinear regression with an iterativ function

2010-11-10 Thread Christof KluƟ
Hi, we have a function that calculates a value for each day of the year. For example an iterative function like actvalue_0 := 0 actvalue_ {t+1} := actvalue_t + f(param_1,param_2,actvalue_t) and for some days we have measurements. Now we want to choose param_1 and param_2 so that the function va

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

[R] Nonlinear Regression Parameter Shared Across Multiple Data Sets

2010-10-11 Thread Jared Blashka
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(std_no_outliers$Y),LOGEC50=-8.5)) Previously, all of the regressions were calculated in Prism, but I'd like to be

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

[R] Nonlinear regression help

2009-04-23 Thread Taylor Hermes
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 300 578.0496 325 525.496

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
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, 21 May 2008 9:23 AM To: r-help@r-project.org Subject: [R] Nonlinear regression Could someone help me on the following: SAS has DUD (Does not Use Derivatives) for nonlinear regression. Does "R"

Re: [R] Nonlinear regression

2008-05-20 Thread Bill.Venables
Phone: +61 7 3286 7700 mailto:[EMAIL PROTECTED] http://www.cmis.csiro.au/bill.venables/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, 21 May 2008 9:23 AM To: r-help@r-project.org Subject: [R] Nonlinear

[R] Nonlinear regression

2008-05-20 Thread LXu
Could someone help me on the following: SAS has DUD (Does not Use Derivatives) for nonlinear regression. Does "R" has a similar capability? I am not good at derivatives and may get my derivative wrong before feeding it to a nonlinear regression procedure. Any help would be much appreciated. L

[R] nonlinear regression problem

2008-04-10 Thread Sungsu
Dear R users. I would like to ask you a nonlinear regression problem that I have. Thr model is y=integrate(1/[(a+b*cos(x))*sqrt{(a+b*cos(x))^2-h^2}],from 0 to x) I tried the following code in writing the function and the minimization: y=c( 3.2, 3.4, 3.2, 3, 3.4, 3.1, 3.2, 3.3, 3.5, 3.4, 3.2,

[R] nonlinear regression model to data with power exponential distributed errors

2008-04-08 Thread Yan (Daniel) Zhao
Hi, are you aware of any R packages that can fit a nonlinear regression model to a dataset with power exponential distributed random errors? Daniel __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posti

[R] nonlinear regression

2007-09-27 Thread Maura E Monville
I would appreciate some suggestions about nonlinear regression available in R ... possible methods and plenty of worked out examples I have a bunch of noisy curves representing breathing amplitude from medical physics experiments recoding patients' breathing tracks in form of Amplitude, Phase