Hi Eric,
I'd like some clarification for question 1c)
Create a function which takes three integers as arguments. The first argument will indicate the maximum value of k
, the number of birds, to evaluate; the second will be the number of artificial data to generate, m
; the third will be the number of bootstrap iterations to run, n
. The function should generate m
artificial maximum angular differences, as we did for the Null Hypothesis in Assignment 5, for each value of k
up to the first function argument. Nonparametric bootstrapping should be applied to each artificial data set, using n
replicates. For each value of k
the value of the test statistic, as calculated by bootstrapping, should be returned, as well as the upper and lower 95% confidence intervals calculated using "BCa".
For the bolded section in 1c, do you mean: every integer value from 1 to k?
Thanks.