search for: nlsboot

Displaying 3 results from an estimated 3 matches for "nlsboot".

2012 Aug 14
1
bootstrapped CI for nonlinear models using nlsBoot from nlstools
...ts: Formula: y ~ SSgompertz(x, a, b, c) Parameters: Estimate Std. Error t value Pr(>|t|) a 21.2426 0.9689 21.924 4.03e-09 *** b 5.3330 1.4722 3.622 0.00555 ** c 0.8045 0.0274 29.364 3.01e-10 *** Then, trying to get confidence intervals for the parameters using the nlsBoot function in the nlstools package I got this error: > modelboot<-nlsBoot(model) Error en data2[, var1] <- fitted1 + sample(scale(resid1, scale = FALSE), : objeto de tipo 'environment' no es subconjunto I?ve tried with another response variable and other self starting function...
2010 Sep 30
1
getting the output after bootstraping
...of parameter estimates and plot them in Excel. Here is my code: par<-list(Linf=700, K=0.3, to=-0.1) #starting values for parameter estimates vb<-nls(length~Linf*(1-exp(-K*(age-to))), start=par, data=small) #von Bertalanffy growth mode boo<- nlsBoot(vb, niter=300) #This bootstraps my data 300 times and applies the growth model I can get R to plot the 300 parameter estimates if I do the following function: plot(boo) However, I have tried different print function options but have not had any luck get...
2010 Sep 29
2
fitting model to resampled data
I apologize if this comes across as confusing. I will try to explain my situation as best I can. I have R bootstrapping my growth data for fish. It's resampling my database of age and length data and then produces several new datasets for me. In this case, it's resampling my data to create three new datasets of age and length data. Here is my code with my original data called