Use simulation to understand how samples can be used to estimate a population mean or proportion and how to determine a margin of error for the estimate.