Skip to content

About

A Go-based data exploration engine analyzing the spurious correlation between Martian surface temperatures and global oil prices.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔴 Mars-Oil-Timeseries-GO: Spurious Correlation Engine

Finding the "Scientific" link between Martian temperatures and Earth's oil prices.

This project is a playful data-exploration tool built in Go. It compares the daily fluctuations of the Martian climate with the global crude oil market to determine if there is a hidden mathematical relationship between the Red Planet and our black gold.


🛰️ The Mission

This Go application serves as a data pipeline that:

  1. Ingests JSON datasets from Martian rovers and global energy markets.
  2. Synchronizes time-series data to find overlapping date points.
  3. Calculates correlation coefficients to reveal "hidden truths" in the data.

🛠️ Technical Stack

  • Language: Go (Golang)
  • Data Handling: Native encoding/json and io packages.
  • Pattern: High-performance time-series data alignment.

🚀 Installation & Setup

Ensure you have Go installed on your machine, then run the following commands to set up the dependencies:

# Clean up and sync dependencies
go mod tidy 
go mod vendor 
go mod download 

Run the Analysis

go run main.go 

📊 Data Sources

The engine uses sample datasets located in the /sample directory:

  • Martian Weather: sample/mtdata.json (Curiosity/Perseverance daily reports)
  • Oil Prices: sample/opdata.json (Historical crude oil market values)

About

A Go-based data exploration engine analyzing the spurious correlation between Martian surface temperatures and global oil prices.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages