Across 322 completed calendar weeks
(2020-09-21 to 2026-11-16, zero-filled for
inactive weeks and with all 14 treadmill runs / 36.41 mi removed),
cycling and outdoor running respond
very differently to Atlanta’s seasonal temperatures (NOAA station
USW00013874, Hartsfield-Jackson Atlanta Intl Airport):
54.4 mi/wk) and
−0.90 SD in ride count (1.89/wk), while
outdoor running barely moves (−0.15 SD distance,
−0.20 SD runs).Comparing each month’s average weekly distance in standard deviation units (Z-scores) puts cycling and running on the same scale, directly aligned with Atlanta’s monthly temperature range.
monthly_long <- monthly %>%
select(mo, month, bike_dist_z, run_dist_z) %>%
pivot_longer(
cols = c(bike_dist_z, run_dist_z),
names_to = "sport",
values_to = "z_score"
) %>%
mutate(sport = recode(sport,
bike_dist_z = "Cycling",
run_dist_z = "Outdoor Running"
))
p_z <- ggplot(monthly_long, aes(x = month, y = z_score, fill = sport)) +
geom_hline(yintercept = 0, color = "#374151", linewidth = 0.5) +
geom_hline(yintercept = c(-1, 1), linetype = "dashed", color = "#9ca3af", linewidth = 0.4) +
geom_col(position = position_dodge(width = 0.72), width = 0.65, alpha = 0.9) +
scale_fill_manual(values = c("Cycling" = col_bike, "Outdoor Running" = col_run)) +
scale_y_continuous(limits = c(-1.15, 1.0), breaks = seq(-1, 1, 0.5)) +
labs(
title = "Monthly Weekly-Distance Z-Scores: Cycling vs. Outdoor Running",
subtitle = "Standard deviations from each sport's 322-week mean (dashed lines = ±1 SD)",
x = NULL,
y = "Distance Z-Score (Weekly SD)",
fill = NULL
) +
theme_garmin
p_temp <- ggplot(monthly, aes(x = month, group = 1)) +
geom_ribbon(aes(ymin = avg_low_f, ymax = avg_high_f), fill = "#fde68a", alpha = 0.55) +
geom_line(aes(y = avg_temp_f), color = col_temp, linewidth = 1.2) +
geom_point(aes(y = avg_temp_f), color = col_temp, size = 2.5) +
geom_text(aes(y = avg_temp_f, label = paste0(round(avg_temp_f), "°")),
vjust = -1.0, size = 3.2, color = "#92400e", fontface = "bold") +
scale_y_continuous(limits = c(30, 100), labels = function(x) paste0(x, "°F")) +
labs(
title = "NOAA Atlanta Monthly Temperatures (USW00013874, 2020–2026)",
subtitle = "Shaded band shows average daily low to daily high; line shows daily mean",
x = NULL,
y = "Temperature (°F)"
) +
theme_garmin
p_z / p_temp + plot_layout(heights = c(1.25, 1))
Each point represents one completed week (321 weeks with full 7-day
NOAA coverage). Winter weeks (Dec–Feb) are highlighted.
weekly_noaa <- weekly %>%
filter(!is.na(avg_temp_f)) %>%
mutate(season = ifelse(mo %in% c(12, 1, 2), "Winter (Dec–Feb)", "Mar–Nov"))
p_bike_sc <- ggplot(weekly_noaa, aes(x = avg_temp_f, y = bike_distance_mi)) +
geom_hline(yintercept = bike_mean_mi, linetype = "dotted", color = "#6b7280") +
geom_hline(yintercept = bike_mean_mi - bike_sd_mi, linetype = "dashed", color = "#ef4444", alpha = 0.7) +
geom_point(aes(color = season), alpha = 0.65, size = 2) +
geom_smooth(method = "lm", se = TRUE, color = col_bike, fill = "#bfdbfe", linewidth = 1) +
scale_color_manual(values = c("Winter (Dec–Feb)" = "#2563eb", "Mar–Nov" = "#94a3b8")) +
labs(
title = sprintf("Cycling Distance vs. Temp (r = %+.3f)", r_bike_temp),
subtitle = "Red dashed line = -1 SD (49.5 mi); dotted = mean (87.6 mi)",
x = "Weekly Avg Temp (°F)",
y = "Weekly Cycling Miles",
color = NULL
) +
theme_garmin
p_run_sc <- ggplot(weekly_noaa, aes(x = avg_temp_f, y = run_distance_mi)) +
geom_hline(yintercept = run_mean_mi, linetype = "dotted", color = "#6b7280") +
geom_hline(yintercept = run_mean_mi - run_sd_mi, linetype = "dashed", color = "#ef4444", alpha = 0.7) +
geom_point(aes(color = season), alpha = 0.65, size = 2) +
geom_smooth(method = "lm", se = TRUE, color = col_run, fill = "#fed7aa", linewidth = 1) +
scale_color_manual(values = c("Winter (Dec–Feb)" = "#ea580c", "Mar–Nov" = "#94a3b8")) +
labs(
title = sprintf("Outdoor Running vs. Temp (r = %+.3f)", r_run_temp),
subtitle = "Red dashed line = -1 SD (12.6 mi); dotted = mean (21.6 mi)",
x = "Weekly Avg Temp (°F)",
y = "Weekly Outdoor Run Miles",
color = NULL
) +
theme_garmin
p_bike_sc + p_run_sc
Indexing each sport’s weekly distance to its own overall mean
(100% = overall weekly average) highlights the divergence
between cycling and running on cold vs. hot weeks.
tb_indexed <- tempband %>%
mutate(
Cycling = 100 * bike_avg_mi / bike_mean_mi,
`Outdoor Running` = 100 * run_avg_mi / run_mean_mi,
band_label = paste0(gsub("^[0-9]+\\. ", "", temp_band), "\n(n=", weeks, " wks)")
) %>%
mutate(band_label = factor(band_label, levels = band_label)) %>%
select(band_label, Cycling, `Outdoor Running`) %>%
pivot_longer(-band_label, names_to = "sport", values_to = "pct_of_mean")
ggplot(tb_indexed, aes(x = band_label, y = pct_of_mean, fill = sport)) +
geom_hline(yintercept = 100, linetype = "dashed", color = "#4b5563") +
geom_col(position = position_dodge(width = 0.7), width = 0.62, alpha = 0.9) +
geom_text(
aes(label = paste0(round(pct_of_mean), "%")),
position = position_dodge(width = 0.7),
vjust = -0.45,
size = 3.5,
fontface = "bold"
) +
scale_fill_manual(values = c("Cycling" = col_bike, "Outdoor Running" = col_run)) +
scale_y_continuous(limits = c(0, 138), labels = function(x) paste0(x, "%")) +
labs(
title = "Weekly Distance by Atlanta Temperature Band (% of Own Overall Mean)",
subtitle = "Cycling more than doubles from <45°F to 75°F+, while outdoor running stays steady",
x = NULL,
y = "% of Overall Weekly Mean",
fill = NULL
) +
theme_garmin
Checking all six full years (2021–2026) confirms that
the Jan–Feb cycling drop is consistent every winter, not driven by a
single outlier year.
yearly <- weekly %>%
filter(yr >= 2021) %>%
mutate(period = ifelse(mo %in% c(1, 2), "Jan–Feb", "Mar–Dec")) %>%
group_by(yr, period) %>%
summarise(avg_bike_mi = mean(bike_distance_mi), .groups = "drop")
ggplot(yearly, aes(x = factor(yr), y = avg_bike_mi, fill = period)) +
geom_col(position = position_dodge(width = 0.7), width = 0.62, alpha = 0.9) +
geom_text(
aes(label = sprintf("%.0f", avg_bike_mi)),
position = position_dodge(width = 0.7),
vjust = -0.4,
size = 3.5,
fontface = "bold"
) +
scale_fill_manual(values = c("Jan–Feb" = "#60a5fa", "Mar–Dec" = "#1e3a8a")) +
scale_y_continuous(limits = c(0, 130)) +
labs(
title = "Cycling Weekly Distance by Year: Jan–Feb vs. Mar–Dec",
subtitle = "Jan–Feb trails Mar–Dec in all 6 winters (2021–2026)",
x = NULL,
y = "Average Weekly Miles",
fill = NULL
) +
theme_garmin
Compared to the Mar–Nov baseline
(3.05 rides/wk, 94.8 mi/wk,
31.1 mi/ride), the winter cycling drop averages
−0.75 rides/week and −30.1 miles/week
(~10 missed rides / ~390 miles per 13-week winter). Decomposing that gap
separates miles lost from skipped rides versus
shorter rides when riding outdoors.
deficit_long <- deficit %>%
mutate(period = factor(period, levels = period)) %>%
select(period, `Fewer Rides` = mi_from_fewer_rides, `Shorter Rides` = mi_from_shorter_rides) %>%
pivot_longer(-period, names_to = "driver", values_to = "mi_lost") %>%
mutate(mi_lost_abs = abs(mi_lost))
deficit_totals <- deficit %>%
mutate(
period = factor(period, levels = period),
total_abs = abs(mi_diff_wk),
label = sprintf("%.1f mi/wk\n(%.2f rides)", mi_diff_wk, rides_diff_wk)
)
ggplot(deficit_long, aes(x = period, y = mi_lost_abs, fill = driver)) +
geom_col(width = 0.58, alpha = 0.92) +
geom_text(
data = deficit_totals,
aes(x = period, y = total_abs, label = label),
inherit.aes = FALSE,
vjust = -0.35,
size = 3.5,
fontface = "bold",
color = "#1f2937"
) +
scale_fill_manual(values = c("Fewer Rides" = "#1d4ed8", "Shorter Rides" = "#93c5fd")) +
scale_y_continuous(limits = c(0, 50), labels = function(x) paste0("-", x, " mi")) +
labs(
title = "Winter Cycling Mileage Deficit vs. Mar–Nov Baseline (94.8 mi/wk)",
subtitle = "78% of the Dec–Feb deficit comes from fewer rides; February is split evenly with shorter rides",
x = NULL,
y = "Weekly Miles Lost vs. Mar–Nov",
fill = "Deficit Driver"
) +
theme_garmin
deficit %>%
select(
Period = period,
Weeks = weeks,
`Rides/Wk` = avg_rides_wk,
`Rides Diff` = rides_diff_wk,
`Mi/Wk` = avg_mi_wk,
`Mi Diff` = mi_diff_wk,
`From Fewer Rides` = mi_from_fewer_rides,
`From Shorter Rides` = mi_from_shorter_rides,
`% Fewer Rides` = pct_from_fewer_rides
) %>%
gt() %>%
fmt_number(columns = c(`Rides/Wk`, `Rides Diff`), decimals = 2) %>%
fmt_number(columns = c(`Rides Diff`, `Mi Diff`, `From Fewer Rides`, `From Shorter Rides`), decimals = 1, force_sign = TRUE) %>%
fmt_number(columns = c(`Rides Diff`), decimals = 2, force_sign = TRUE) %>%
fmt_number(columns = c(`Mi/Wk`, `% Fewer Rides`), decimals = 1) %>%
tab_header(
title = "Winter Cycling Deficit Decomposition vs. Mar–Nov Baseline",
subtitle = "Baseline: 3.05 rides/wk, 94.8 mi/wk, 31.1 mi/ride"
)
| Winter Cycling Deficit Decomposition vs. Mar–Nov Baseline | ||||||||
| Baseline: 3.05 rides/wk, 94.8 mi/wk, 31.1 mi/ride | ||||||||
| Period | Weeks | Rides/Wk | Rides Diff | Mi/Wk | Mi Diff | From Fewer Rides | From Shorter Rides | % Fewer Rides |
|---|---|---|---|---|---|---|---|---|
| December | 26 | 2.27 | −0.78 | 63.6 | −31.2 | −24.3 | −6.9 | 78.0 |
| January | 27 | 1.89 | −1.16 | 54.4 | −40.5 | −36.2 | −4.3 | 89.4 |
| February | 24 | 2.79 | −0.26 | 77.6 | −17.2 | −8.1 | −9.1 | 47.1 |
| Winter (Dec–Feb) | 77 | 2.30 | −0.75 | 64.7 | −30.1 | −23.4 | −6.7 | 77.8 |
seasonal %>%
select(
Period = period,
Weeks = weeks,
`Avg Temp (°F)` = avg_temp_f,
`Bike Rides` = bike_avg_act,
`Bike Mi` = bike_avg_mi,
`Bike Z` = bike_dist_z,
`Bike < -1 SD (%)` = bike_pct_below_neg1_sd,
`Run Count` = run_avg_act,
`Run Mi` = run_avg_mi,
`Run Z` = run_dist_z
) %>%
gt() %>%
fmt_number(columns = c(`Bike Z`, `Run Z`), decimals = 2, force_sign = TRUE) %>%
fmt_number(columns = c(`Avg Temp (°F)`, `Bike Mi`, `Run Mi`, `Bike < -1 SD (%)`), decimals = 1) %>%
fmt_number(columns = c(`Bike Rides`, `Run Count`), decimals = 2) %>%
tab_header(
title = "Seasonal Comparison: Cycling vs. Outdoor Running",
subtitle = "Z-scores measured in each sport's overall weekly standard deviations"
)
| Seasonal Comparison: Cycling vs. Outdoor Running | |||||||||
| Z-scores measured in each sport's overall weekly standard deviations | |||||||||
| Period | Weeks | Avg Temp (°F) | Bike Rides | Bike Mi | Bike Z | Bike < -1 SD (%) | Run Count | Run Mi | Run Z |
|---|---|---|---|---|---|---|---|---|---|
| Jan only | 27 | 45.1 | 1.89 | 54.4 | −0.87 | 44.4 | 2.93 | 20.3 | −0.15 |
| Feb only | 24 | 53.8 | 2.79 | 77.6 | −0.26 | 4.2 | 3.08 | 21.3 | −0.03 |
| Jan + Feb | 51 | 49.2 | 2.31 | 65.3 | −0.59 | 25.5 | 3.00 | 20.8 | −0.09 |
| Dec only | 26 | 49.5 | 2.27 | 63.6 | −0.63 | 42.3 | 3.73 | 23.9 | +0.26 |
| Winter (Dec-Feb) | 77 | 49.3 | 2.30 | 64.7 | −0.60 | 31.2 | 3.25 | 21.8 | +0.03 |
| Mar-Dec | 271 | 68.6 | 2.98 | 91.8 | +0.11 | 11.4 | 3.20 | 21.8 | +0.02 |
| Mar-Nov | 245 | 70.6 | 3.05 | 94.8 | +0.19 | 8.2 | 3.14 | 21.5 | −0.01 |
| Peak Warm (May-Sep) | 134 | 78.0 | 3.21 | 102.9 | +0.40 | 6.0 | 3.04 | 20.8 | −0.09 |
monthly %>%
select(
Month = month,
Weeks = weeks,
`Avg °F` = avg_temp_f,
`Low °F` = avg_low_f,
`High °F` = avg_high_f,
`Bike Rides` = bike_avg_act,
`Bike Mi` = bike_avg_mi,
`Bike Z` = bike_dist_z,
`Runs` = run_avg_act,
`Run Mi` = run_avg_mi,
`Run Z` = run_dist_z
) %>%
gt() %>%
fmt_number(columns = c(`Bike Z`, `Run Z`), decimals = 2, force_sign = TRUE) %>%
fmt_number(columns = c(`Avg °F`, `Low °F`, `High °F`, `Bike Mi`, `Run Mi`), decimals = 1) %>%
fmt_number(columns = c(`Bike Rides`, `Runs`), decimals = 2) %>%
tab_header(
title = "Monthly Garmin Volume & NOAA Atlanta Temperatures",
subtitle = "Station USW00013874 (Hartsfield-Jackson Atlanta Intl Airport)"
)
| Monthly Garmin Volume & NOAA Atlanta Temperatures | ||||||||||
| Station USW00013874 (Hartsfield-Jackson Atlanta Intl Airport) | ||||||||||
| Month | Weeks | Avg °F | Low °F | High °F | Bike Rides | Bike Mi | Bike Z | Runs | Run Mi | Run Z |
|---|---|---|---|---|---|---|---|---|---|---|
| Jan | 27 | 45.1 | 35.9 | 54.3 | 1.89 | 54.4 | −0.87 | 2.93 | 20.3 | −0.15 |
| Feb | 24 | 53.8 | 43.6 | 63.9 | 2.79 | 77.6 | −0.26 | 3.08 | 21.3 | −0.03 |
| Mar | 27 | 59.8 | 49.1 | 70.5 | 3.11 | 90.4 | +0.07 | 3.11 | 22.2 | +0.07 |
| Apr | 25 | 65.7 | 55.4 | 76.0 | 2.96 | 86.2 | −0.04 | 3.48 | 25.0 | +0.37 |
| May | 27 | 72.6 | 63.7 | 81.4 | 3.19 | 101.0 | +0.35 | 3.41 | 23.5 | +0.21 |
| Jun | 26 | 79.8 | 70.8 | 88.8 | 3.12 | 96.0 | +0.22 | 2.96 | 21.0 | −0.07 |
| Jul | 26 | 82.4 | 73.6 | 91.1 | 3.15 | 107.8 | +0.53 | 2.92 | 20.0 | −0.18 |
| Aug | 27 | 80.8 | 72.0 | 89.5 | 3.56 | 112.6 | +0.66 | 2.85 | 19.9 | −0.18 |
| Sep | 28 | 74.8 | 66.1 | 83.5 | 3.04 | 97.4 | +0.26 | 3.07 | 19.6 | −0.22 |
| Oct | 30 | 65.1 | 55.3 | 75.0 | 2.80 | 87.0 | −0.02 | 3.00 | 19.3 | −0.25 |
| Nov | 29 | 56.3 | 46.6 | 66.0 | 2.62 | 77.0 | −0.28 | 3.45 | 23.6 | +0.22 |
| Dec | 26 | 49.5 | 40.4 | 58.5 | 2.27 | 63.6 | −0.63 | 3.73 | 23.9 | +0.26 |