Assignment 7 - Question 1C

Assignment 7 - Question 1C

by Michelle Cheung -
Number of replies: 1

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.

In reply to Michelle Cheung

Re: Assignment 7 - Question 1C

by Erik Spence -
No, of course not. I've reworded the assignment to say "for each appropriate integer value of k up to the first function argument".