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

R Markdown Suppose the score of STAT 200 midterm follows Normal distribution wit

ID: 3589406 • Letter: R

Question

R Markdown

Suppose the score of STAT 200 midterm follows Normal distribution with population mean 85 and standand deviation 5. The class size is 200.

1. Use the rnorm function to generate one set of class scores and save them into a vector named scores.

2. Compute the average score and save it as avg.score.

3. Repeat 1. and 2. 1000 times; save all 1000 avg.score into a vector ave.vec; draw a histogram of vector ave.vec with proper axes names. Here you may need to use a for loop as illustrated in lab notes.

Explanation / Answer

(a) .0228 Z = (4800 - 4200)/300 = 2.00 Area for Z = 2.00 is .4772. Therefore, the desired area is .5000 - .4772 = .0228. (b) .7011 Z(1) = (3700 - 4200)/300 = -1.67 Z(2) = (4400 - 4200)/300 = 0.67 Prob(-1.67