Population table withcolumn serial number np arange 1

This preview shows page 12 - 15 out of 24 pages.

12
new_left_end=percentile(2.5, new_bootstrap_estimates)new_right_end=percentile(97.5,new_bootstrap_estimates)# Don't change code below this line!print("New mean-based estimate:{:f}".format(new_mean_based_estimate))print("Middle 95% of bootstrap estimates: [{:f},{:f}]".format(new_left_end,,new_right_end))plt.plot(make_array(new_left_end, new_right_end), make_array(0,0),,color='yellow', lw=3, zorder=1)plt.scatter(150,0, color='red', s=30, zorder=2);New mean-based estimate: 152.705882Middle 95% of bootstrap estimates: [112.352941, 193.058824][34]:ok.grade("q3_2");~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Running tests---------------------------------------------------------------------Test summaryPassed: 2Failed: 013
[ooooooooook] 100.0% passedQuestion 3.3Does the interval covering the middle 95% of the new bootstrap estimates includeN? If you ran that cell 100 times and generated 100 intervals, how many of those intervals wouldyou expect to includeN?
Question 3.4In the cell below, explain why this histogram and confidence interval look differentfrom the ones you generated previously in Question 3.2 where the number of resamples was 10,000.
1.44. The CLT and Book ReviewsYour friend has recommended you a book, so you look for it on an online marketplace. You decideto look at reviews for the book just to be sure that it’s worth buying. Let’s say that on Amazon,the book only has 80% positive reviews. On GoodReads, it has 95% positive reviews. You decideto investigate a bit further by looking at the percentage of positive reviews for the book on 5different websites that you know of, and you collect these positive review percentages in a tablecalledreviews.csv.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture