search for: ssbiexp

Displaying 11 results from an estimated 11 matches for "ssbiexp".

2001 May 23
2
help: exponential fit?
Hi there, I'm quite new to R (and statistics), and I like it (both)! But I'm a bit lost in all these packages, so could someone please give me a hint whether there exists a package for fitting exponential curves (of the type t --> \sum_i a_i \exp( - b_i t)) on a noisy signal? In fact monoexponential decay + polynomial growth is what I'd like to try. Thanks in advance,
2013 Apr 23
2
SSbiexp
Hello all! I have a problem to use a biexponential regression model: I use this code: n3<-nls(proc~SSbiexp(cls,a,b,c,d),data=bline) and this is the error message: Error in nls(y ~ cbind(exp(-exp(lrc1) * x), exp(-exp(lrc2) * x)), data = xy, : singular gradient My data is like this: structure(list(proc = c(387.177462830167, 508.090511433077, 321.836817656365, 151.226805860727, 150.885315536942, 86.2...
2007 May 11
3
A simple question regarding plot of nls objects
Hi, I was trying to run the example of Indomethacin kinetics from the book: ## From Pinheiro/Bates, Mixed-Effects-Models in S and S-Plus, ## Springer, Second Printing 2001, Section 6.2 library(nlme) plot(Indometh) fm1Indom.nls <- nls(conc~SSbiexp(time,A1,lrc1,A2,lrc2), data=Indometh) summary(fm1Indom.nls) plot(fm1Indom.nls,Subject~resid(.),abline=0) ## .... the last plot command gives me the error message: Subject not found in data What point am I missing? Thanks in advance, Hans -- Dr. Hans Mielke Federal Institute for Risk Assessment...
2007 Aug 23
0
Lost in substitute: nlsList and nlme with dynamic formula
DeaR I am trying to use a dynamically create formula with nlsList and nlme, but I cannot get the environment of the string-generated formal to work similarly to the manually entered one. Any idea? Dieter #----- library(nlme) # Pinheiro/Bates p 280 fm1Indom.lis = nlsList(conc~SSbiexp(time,A1,lrc1,A2,lrc2), data=Indometh) nlme(fm1Indom.lis,random=pdDiag(A1+lrc1+A2~1)) # works... # Simulating a dynamic formula form = as.formula("conc~SSbiexp(time,A1,lrc1,A2,lrc2)") fm2Indom.lis = nlsList(form,data=Indometh) # still correct nlme(fm2Indom.lis,random=pdDiag(A1+lrc1+A2...
2006 Oct 20
2
Generating start values for nls
Dear R-listers, I would like to know if there is a way to programmatically generate parameter start values for the model y~(a*exp(b*x)+c*exp(d*x)) in R. I've scoured the help files and archives for nls() and similar searches, and have read Fox 2002 - the best advice has been to make estimates from a priori knowledge of the data. However, in the Matlab CurveFit tool, reliable start values are
2012 Aug 14
3
self-starter functions for y = a + b * c^x
Hi there are some predefined self-start functions, like SSmicmen, SSbiexp, SSasymp, SSasympOff, SSasympOrig, SSgompertz, SSflp, SSlogis, SSweibull, Quadratic, Qubic, SSexp (nlrwr) Btw, do you know graphic examples for this functions? The SSexpDecay (exponential decay) for y = (y0 - plateau)*exp(-k*x) + plateau from http://stats.stackexchange.com/questions/17126/how-can...
2013 Feb 10
2
exponential model in R
Dear R users, I don't know how to compute an exponential model like this: proc=a*exp(b*cls), or proc=a*exp(b*cls)+c*exp(d*cls). Please help me to solve this problem! Thank you! My data is: row.names proc cls 1 0.5 452.616206 0.5 2 1 255.864021 1.0 3 1.5 150.885316 1.5 4 2 86.289600 2.0 5 2.5 56.321559 2.5 6 3 39.504444 3.0 7 3.5 25.570308 3.5 8 4 5.382726 4.0 -- --- Catalin-Constantin
2009 Apr 09
1
Biexponential Fit
Hi, I want to do a biexponential Fit, i.e. y ~ A1*exp(k1*x) + A2*exp(k2*x) Is this possible? I tried nls() but it stopped with several (different) errors. I'm using y and x as simple vectors and the formula for nls() exactly as mentioned above. Thanks a lot! Jonas
2012 Aug 23
1
NLS bi exponential Fit
Hi everyone, I'm trying to perform a bi exponential Fit with the package NLS. the plinear algorithm seems to be a good choice see: p<-3000 q<-1000 a<--0.03 b<--0.02 t<-seq(0:144);t y<-p*exp(a*t) + q*exp(b*t)+rnorm(t,sd=0.3*(p* exp(a*t) + q*exp(b*t))) fittA <- nls(y~cbind(exp(a*t), exp(b*t)), algorithm="plinear",start=list(a=-.1, b=-0.2), data=list(y=y, t=t),
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
...NLSstRtAsymptote.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSasymp.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSasympOff.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSasympOrig.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSbiexp.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSfol.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSfpl.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSlogis.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/SSmicmen.R action: create D...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...html latex example Puromycin text html latex example SSasymp text html latex example SSasympOff text html latex example SSasympOrig text html latex example SSbiexp text html latex example SSfol text html latex example SSfpl text html latex example SSgompertz text html latex example SSlogis t...