2015年7月15日 星期三

7.15 Coursera Statistical Inference Self Study

I have to start the work today but remind me to do these:
  • Update Homework 2 Question 9's answer
Consider a normal distribution. If we were to sample 100 draws from a uniform distribution (which has mean 0.5, and variance 1/12) and take their mean, X^bar. What is the approximate probability of getting as large as 0.51 or larger expressed to 3 decimal places?
answer: 0.365
R code: pnorm(0.51, mean = 0.5, sd = sqrt(1/(12*100)), lower.tail = FALSE)
  • Update Homework 2 Question 11's answer
If you roll ten standard dice, take their average, then repeat this process over and over and construct a histogram, what would be its variance expressed to 3 decimal places?
answer: 0.292
original answer: 2.917, I did not realize that there are ten standard dice.
  • Do swirl assignments for 9, 10, and 11
  • Learn ggplot2 for the courser project (2nd part)

沒有留言:

張貼留言