Hi: To amplify on David's point, the help page of nlsBoot (package nlstools) states that the function returns the following:
nlsBoot returns a list of three objects: coefboot contains the bootstrap parameter estimates bootCI contains the bootstrap medians and the bootstrap 95% confidence intervals rse is the vector of bootstrap residual errors On Thu, Sep 30, 2010 at 2:00 PM, David Winsemius <dwinsem...@comcast.net>wrote: > > > Michael Larkin wrote: > > > > Thanks to the help of people from this forum I was able to bootstrap my > > data > > and then apply a model to it. Thanks for all your help. > > > > Everything worked out well, but I am having a difficult time getting the > > new > > parameter values. I bootstrapped the data 300 times and I want to get > the > > 300 sets of parameter estimates and plot them in Excel. > Based the above snippet of nlsBoot's help page, see component coefboot of your object boo below - i.e., boo$coefboot or boo[[1]]. I'll let the comment about plotting these in Excel pass... HTH, Dennis > > > 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 getting the 300 parameter estimates. Any advice would be greatly > > appreciated. > > > > It's probably as simple as looking at: > > vb$t # but this is untested in the absence of a reproducible example. > > -- > David. > > -- > View this message in context: > http://r.789695.n4.nabble.com/getting-the-output-after-bootstraping-tp2721024p2758846.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.