Learn R Programming

PASWR (version 1.3)

Grocery: Grocery Spending

Description

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.

Arguments

Format

A data frame with 30 observations on the following variable:

groceries

total dollars spent on groceries

Examples

Run this code
# NOT RUN {
with(data = Grocery, 
z.test(x = groceries, sigma.x = 30, conf.level = 0.97)$conf)

# }

Run the code above in your browser using DataLab