Grocery | R Documentation |
The consumer expenditure survey, created by the U.S. Department of Labor,
was administered to 30 households in Watauga County, North Carolina, to see
how the cost of living in Watauga county with respect to total dollars spent
on groceries compares with other counties. The amount of money each
household spent per week on groceries is stored in the variable
groceries
. Data are used in Example 8.3.
A data frame with 30 observations on the following variable:
total dollars spent on groceries
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.
with(data = Grocery, z.test(x = groceries, sigma.x = 30, conf.level = 0.97)$conf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.