What is the variance of the distribution of the average an IID draw of n observations from a population with mean ?? and variance ??2.
- answer: The variance of the distribution = the variance of sample mean ??2/n
Suppose that diastolic blood pressures (DBPs) for men aged 35-44 are normally distributed with a mean of 80 (mm Hg) and a standard deviation of 10. About what is the probability that a random 35-44 year old has a DBP less than 70?
- Answer: Using Standard normal distribution
round(pnorm(70, mean = 80, sd = 10), digits = 2)
## [1] 0.16
round (qnorm(.95, mean = 1100, sd = 75))
## [1] 1223
# OR Since 95th percentile = 1.645 we can use
round (1100 + 75*1.645)
## [1] 1223
Refer to the previous question. Brain volume for adult women is about 1,100 cc for women with a standard deviation of 75 cc. Consider the sample mean of 100 random adult women from this population. What is the 95th percentile of the distribution of that sample mean?
round(qnorm(.95, mean = 1100, sd = 75/sqrt(100)))
## [1] 1112
You flip a fair coin 5 times, about what’s the probability of getting 4 or 5 heads?
_ Answer: Use binomial trials for a fair coin (p=0.5) we have
result = (5 chose 4) x 0.5^4 x (1-0.5) + (5 chose 5) x 0.5^5
round((factorial(5)/factorial(4))*0.5^4*(1-0.5) + 0.5^5, digit=2)
## [1] 0.19
# or
round (choose(5,4)*0.5^5 + choose(8,8)*0.5^5, digit=2)
## [1] 0.19
# or
round(pbinom(3, size = 5, prob = .5, lower.tail = F), digit =2)
## [1] 0.19
The respiratory disturbance index (RDI), a measure of sleep disturbance, for a specific population has a mean of 15 (sleep events per hour) and a standard deviation of 10. They are not normally distributed. Give your best estimate of the probability that a sample mean RDI of 100 people is between 14 and 16 events per hour?
- Answer:
left <- 14
right <- 16
percent_left <- pnorm(left, mean = 15, sd = 10/sqrt(100))
percent_right <- pnorm(right, mean = 15, sd = 10/sqrt(100))
result <- percent_right - percent_left
round (result, digits = 2)
## [1] 0.68
Consider a standard uniform density. The mean for this density is .5 and the variance is 1 / 12. You sample 1,000 observations from this distribution and take the sample mean, what value would you expect it to be near?
- Answer: n =1000 is a large number. Therefore the result should be 0.5
but check:
qnorm(0.5, 0.5, sd=1/12/sqrt(1000))
## [1] 0.5
The number of people showing up at a bus stop is assumed to be Poisson with a mean of 5 people per hour. You watch the bus stop for 3 hours. About what’s the probability of viewing 10 or fewer people?
round (ppois(10, lambda = 5*3), digits = 2)
## [1] 0.12