Project 21: Eclipse Cycles and Collective Mood
Objective
To investigate if Solar and Lunar eclipses correlate with measurable increases in collective distress or "chaos" in Seattle, WA.
Hypothesis
Physical Chaos: Seattle 911 call volumes (Fire/EMS) increase on the days of eclipses compared to normal days.
- Refinement: We analyze Solar and Lunar eclipses separately to see if they produce different effects.
Data Sources
- Seattle Real-Time Fire 911 Calls: Public dataset covering 2013-2026 (~1.6 million records).
- Swiss Ephemeris: High-precision astronomical calculation for eclipse dates.
Methodology
911 Call Analysis (Detrending)
We employ a Multi-Factor Linear Regression model to strictly isolate "abnormal" volume from known temporal drivers.
- Feature Engineering: The following features are extracted for every day in the dataset:
- Day of Week (Mon-Sun seasonality)
- Month of Year (Annual seasonality)
- Week of Month (Pay-cycle/monthly usage patterns)
- Linear Time Index (Long-term population growth/trend)
- Regression: A Linear Regression model is trained on these features to predict the "Expected Call Count" for every day. No log transformation is applied to the count data; we analyze raw deviations.
- Residual Analysis: We calculate
Actual Count - Expected Count = Residual. - Normalization: Residuals are standardized into Z-Scores.
- Statistical Test: We perform two separate Independent T-Tests:
- Solar Eclipses vs. Control Days
- Lunar Eclipses vs. Control Days
Files
-
analysis.py: Main script. Performs linear regression detrending and statistical testing. -
RESULTS.md: Detailed statistical findings. -
categorical_analysis_results.csv: Raw output table containing P-values for both Solar and Lunar tests. -
eclipse_type_comparison.png: Visualization of the deviations.
Usage
Run the analysis:
python3 analysis.py
## Data Provenance
### Eclipse Data
* **Source**: NASA Eclipse Website.
* **Link**: [https://eclipse.gsfc.nasa.gov/solar.html](https://eclipse.gsfc.nasa.gov/solar.html)
* **Catalog**: Five Millennium Canon of Solar Eclipses.