Exercise 6. Estimating the standard error
The theory we just learned tells us what this standard deviation is going to be because it is the standard error of \(\bar{X}\).
Estimate the standard error given an expected value of 0.45 and a sample size of 100.
This exercise is part of the course
HarvardX Data Science Module 4 - Inference and Modeling
Exercise instructions
- Calculate the standard error using the
sqrt
function
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Define `p` as the expected value equal to 0.45
p <- 0.45
# Define `N` as the sample size
N <- 100
# Calculate the standard error