[R] Bootstrapped Regression

Rui Barradas ruipbarradas at sapo.pt
Sat Oct 14 21:29:17 CEST 2017


Give us a dataset example. If your dataset is named x post the output of

dput(head(x, 20))

And post the code you are running for the regression.
What have you tried? The help page for function boot has an example of 
generelized linear regression (nuke.boot) that you might adapt to your 

Hope this helps,

Rui Barradas

Em 14-10-2017 15:58, Janh Anni escreveu:
> Greetings!
> We are trying to obtain confidence and prediction intervals for a predicted
> Y value from bootstrapped linear regression using the boot function. Does
> anyone know how to code it?  Greatly appreciated.
> Janh
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

More information about the R-help mailing list