Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a. Create 500 new samples, each of size 12, by selecting 12 values with replacem

ID: 3320348 • Letter: A

Question

a. Create 500 new samples, each of size 12, by selecting 12 values with replacement from the 12 sample values given above. In STATDISK, enter 500 for the number of resamplings and click on Resample b. Find the means of the 500 bootstrap samples generated in part (a). In STATDISK, the means will be listed in the second column of the Data Window. c. Sort the 500 means (arrange them in order). In STATDISK, click on the Data Tools but- ton and sort the means in column 2. . Find the percentiles P25 and P75 for the sorted means that result from the preceding step. (P25 is the mean of the 12th and 13th scores in the sorted list of means P is the mean of the 487th and 488th scores in the sorted list of means.) Identify the resulting confidence in- terval by substituting the values for p2,5 and 1,75 in pas

Explanation / Answer


sample=seq(1,12,1) #the sample given above(assuming)
mean=numeric(500)
for(i in 1:500)
{
mean[i]=mean(sample(sample,12,replace=T))
}
s=sort(mean) #ordering
q_2.5=mean(c(s[12],s[13]))
q_97.5=mean(c(s[487],s[488]))
#confidence interval [4.625,8,25]

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote