Session Ready
Exercise

Exercise 16 - Calculate the P-value

The confidence interval tells us there is relatively strong pollster effect resulting in a difference of about 5%. Random variability does not seem to explain it.

Compute a p-value to relay the fact that chance does not explain the observed pollster effect.

Instructions
100 XP
  • Use the pnorm function to calculate the probability that a random value is larger than the observed ratio of the estimate to the standard error.
  • Multiply the probability by 2, because this is the two-tailed test.