search for: ssasymporig

Displaying 10 results from an estimated 10 matches for "ssasymporig".

2006 Nov 03
1
Using a deriv function in nlme
Hello, I have a deriv function that I am feeding to nlme. It works, and I can use it in nls, but when I try to use it in nlme I get Error: subscript out of bounds. I can fit the model using SSasympOrig, instead of the deriv function, but I am trying to reproduce an earlier analysis (done in Splus) and I get slightly different results with SSasympOrig. Here are my calls: This does fit the nlme model: L1.lis<-nlsList(SSasympOrig,L1.gd) L1.nlme<-nlme(L1.lis) Here...
2011 Jun 10
2
Plotting NLS profiles
...sn't seem to accept any plot.default variables. Specifically, I'd like to be able to change the x-axis title and the colors to black and white. Has anyone had any luck with this? If not, is there a way to override to plotting colors, perhaps in par()? Thanks, Sam fm1 <- nls(demand ~ SSasympOrig(Time, A, lrc), data = BOD) pr1 <- profile(fm1, alpha = 0.05) opar <- par(mfrow = c(2,2), oma = c(1.1, 0, 1.1, 0), las = 1) plot(pr1, conf = c(95, 90, 80, 50)/100) # works fine plot(pr1, conf = c(95, 90, 80, 50)/100,xlab=expression(theta),col=1) # doesn't change
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-i-make-my-r-nls-model-more-stable...
2007 May 31
1
predict.nls - gives error but only on some nls objects
...with class \"%s\" but class \"%s\" was supplied", : missing value where TRUE/FALSE needed What causes the trouble is the call to .checkMFClasses(cl, newdata) in predict.nls. Incidently, on the predict.nls page the example works: > fm <- nls(demand ~ SSasympOrig(Time, A, lrc), data = BOD) > predict(fm) [1] 7.887449 12.524977 15.251673 16.854870 17.797490 18.677580 > predict(fm,newdata=BOD) [1] 7.887449 12.524977 15.251673 16.854870 17.797490 18.677580 attr(,"gradient") A lrc [1,] 0.4120369 5.9...
2006 Nov 23
1
nonlinear regression-getting the explained variation
Hi, I'm trying to teach myself R, and by the way, re-learning statistics using Crawley's "Statistics: an introduction using R". I've reached the regression chapter, and when it deals with non-linear regresion using the nls library I face the following problem: I follow the steps--- >deer<-read.table("c:\\temp\\jaws.txt",header=T) ---data available at
2017 Oct 20
3
nls() and loop
Hello I?m need fitt growth curve with data length-age. I want to evaluate which is the function that best predicts my data, to do so I compare the Akaikes of different models. I'm now need to evaluate if changing the initial values changes the parameters and which do not allow to estimate the model. To do this I use the function nls(); and I randomize the initial values (real positive number).
2004 Aug 10
0
Check failed after compilation (PR#7159)
...rc)*Time)), data = BOD, + start = c(lrc = log(.35)), algorithm = "plinear", trace = TRUE) 32.94622 : -1.049822 22.126001 25.99248 : -0.6257161 19.1031883 25.99027 : -0.6327039 19.1419223 25.99027 : -0.6328192 19.1425644 > # using a self-starting model > fm3 <- nls(demand ~ SSasympOrig(Time, A, lrc), data = BOD) > summary( fm3 ) Formula: demand ~ SSasympOrig(Time, A, lrc) Parameters: Estimate Std. Error t value Pr(>|t|) A 19.1426 2.4959 7.670 0.00155 ** lrc -0.6328 0.3824 -1.655 0.17328 --- Signif. codes: 0 `***' 0.001 `**' 0.01 `*'...
2011 May 07
5
plotting confidence bands from predict.nls
I am trying to find a confidence band for a fitted non-linear curve. I see that the predict.nls function has an interval argument, but a previous post indicates that this argument has not been implemented. Is this still true? I have tried various ways to extract the interval information from the model object without success. My code is: Model.predict <- predict(My.nls.model,
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
...LfAsymptote.R action: create D: file: /usr/local/lib/R/library/nls/R-ex/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:...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...html latex example Orange text 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...