Module 4 Simple linear regression
Module overview: simple linear regression with NOAA variables; estimating slope and intercept; residual analysis, sum of squared errors, \(R^2\), and correlation; prediction in a weather context.
4.1 Data source
Use Local Climatological Data (LCD) daily or hourly files for rich paired measurements.
- Core variables: air temperature, relative humidity, dew point, wind speed, precipitation (choose one response and one predictor)
- Access: NOAA Local Climatological Data object store
4.2 Statistics topics
- Simple linear regression structure and estimation
- Slope and intercept interpretation (weather context)
- Correlation, \(R^2\), and explained variation
- Residual plots and core regression assumptions