2026-02-11

Features

  • Interactive sliders: Adjust solar radiation in Langley units (Ly) and wind speed in miles per hour (mph)

  • Month selection: Analyze data for specific months (May-September) or all months combined

  • Dynamic model fitting: Linear regression models are recalculated based on the selected month

  • Visual feedback: Scatter plots with regression lines and prediction points

  • Temperature predictions: Real-time temperature forecasts from three different models

Functionality

The application fits three linear regression models:

  • Solar Model: Temperature ~ Solar Radiation

Shows how temperature increases with solar radiation

  • Wind Model: Temperature ~ Wind Speed

Shows how temperature decreases as wind speed increases

  • Combined Model: Temperature ~ Solar Radiation + Wind Speed

Uses both variables for more accurate predictions

Important note: in the app, all models are refitted using only the data from the selected month, providing month-specific insights.

Predicting temperature from solar radiation

## lm(formula = Temp ~ Solar.R, data = airquality)

from airquality data set after dropping out rows with solar radiation missing values

Predicting temperature from wind speed

## lm(formula = Temp ~ Wind, data = airquality)

from airquality data set after dropping out rows with solar radiation missing values