A synthetic dataset for teaching the linear model

consumption

Format

A data frame with 50 rows and 4 columns:

food_consumption

amount spent in dollars on food

income

annual income in dollars

family_size

number of family members in household

live_on_farm

y/n regarding whether or not family lives on a farm