Question: Perform the test in problem S 2 using a bootstrap analysis. ( a ) Would we want to use a one - sample or two

Perform the test in problem S2 using a bootstrap analysis. (a) Would we want to use a one-sample or two-sample bootstrap test? Explain your choice. (b) The code below runs the bootstrap procedure on the differences between the shoot and root data. However, there are some problems with the code. The code only runs the bootstrap procedure 50 times, which is not enough to make an accurate approximation of the null distribution. The code takes a resample without replacement. Fix the code so that the bootstrap procedure runs 5000 times and samples with replacement.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!