A-function-for-two-sample-bootstrap A function for two sample bootstrap It's a simple function for two-sample bootstrap The first task is to write a function for obtaining the R-squared value. Then you can use this function to perform two-sample bootsrap.