Asteroid Mining Analysis

November 2023 - January 2024
PYTORCH, PANDAS, PLOTLY, SCIPY, STATS-MODEL
  • Check out the repository at

In this project, I analyzed asteroid data, from NASA's Jet Propulsion Laboratory, to assess their suitability for mining. By comparing factors such as size, material composition, and orbital paths, I identified promising asteroid groups. Leveraging deep learning models, I imputed missing values for geometric albedo and diameter parameters. Valuable insights were gained through statistical analysis.

Task

Analyze asteroid data and determine feasibility of mining operations

Feasibility Analysis
  • Asteroid size vs Distance from earth: Larger asteroids have more resource, but do we have to go far to mine from large asteroids?
  • Material composition vs Distance from earth: Metallic asteroids have more valuable materials, how does near earth asteroids compare to ones further away?
  • Orbital period vs Distance from earth: Are valuable asteroids more frequently orbiting earth or passing by earth?
Data

Asteroid data was collected from NASA's Jet Propulsion Laboratory

  • The dataset contained more than 1 million unique asteroid data.
  • Each row had 30 attributes describing its size, orbital properties, material composition, reflectance, and more.
Challenge: Missing Values

Nearly 99.99% of light reflectance data is missing. And about 80% of geometric albedo and diameter values were missing.

Image

Action

Data Preparation

Impute by Group

Columns with relatively few missing values (< 5%) was imputed with their

  • Mode for categorical columns (condition code, class, is_neo, etc.)
  • Median for numerical columns (orbital period, MOID, etc.)

Categorical columns were imputed first. Then they were used to group rows together for imputing by median.

Impute using Neural Networks

Two attributes, albedo and diameter were extremely important for this project.

  • Albedo is needed for identifying material composition data.
  • Diameter is used to infer size of the asteroids.

Two Multilayer Perceptrons trained on the cleaned data was used predict and impute missing values.

Feature Engineering

Used existing attributes to construct explainable and important features. For example:

  • From Eccentricity to Orbital Shapes (Circular or Parabolic?)
  • From Albedo to Material composition (Metallic or Carbonaceous?)
  • From periphellon and aphellon distance to NEO asteroid type
Outlier Removal

Statistical tests are sensitive to outliers. Thus before proceeding with statistical analysis, I've removed outliers from the dataset. Outliers were identified using five number summary method.

Statistical Analysis

Size Analysis
  1. On average which near earth asteroid type has larger asteroids?
    • ANOVA test to identify if all groups have same mean size. (Because groups have similar distributions)
    • Pairwise t-test to identify ordering amongst types.
  2. On average which asteroid belt has larger asteroids?
    • Kruskal-Wallis test to identify if all groups have same median. (Because groups have different distributions)
    • Two-sample t-tests to identify ordering amongst belts.
Composition Analysis
  1. Are asteroids near earth more metallic (and thus more valuable)?

    Two-sample proportion test between metallic and non-metallic asteroids.

  2. Which NEO type has higher metallic asteroids?
    • Goodness-of-fit test to if all types have similar proportions.
    • Pairwise two sample proportion tests to identify ordering amongst types.
  3. Which belt has higher proportion of metallic asteroids? Pairwise two sample proportion tests to identify ordering amongst belts.
Orbital Period Analysis
  1. Which NEO type has the shorter orbital period (and thus is observed more frequently)?
    • ANOVA test to see if all types have the same average orbital period.
    • Pairwise t-tests to identify ordering amongst types.
  2. Does orbital period vary greatly for different composition types?
  3. Factor plot and 2-way ANOVA test to see if orbital periods vary significantly for different compositions.

  4. Does metallic asteroids have shorter periods?

    Welch t-test to identify if metallic asteroids have a lower orbital periods.

Result

Size Analysis
  1. Looking at asteroid size (measured by diameter), Apollo asteroids are generally bigger than other NEO types. Bigger asteroids have more materials to mine, and Apollo asteroids come closer to Earth than others. So, it's logical to begin with Apollo for mining operations.
  2. In the future, when we have the right technology for space exploration, our focus should be on the main asteroid belt (MBA) instead of the outer asteroid belt (OAB) This is because asteroids in the MBA are larger than those in the OAB
Composition Analysis
  1. NEOs generally have a smaller percentage of metallic asteroids compared to those farther away. However, within NEOs, the Apollo asteroids stand out with the highest proportion of metallic asteroids. This makes them an excellent starting point for mining efforts.
  2. In the future, our focus for mining should be on the main belt asteroids They have the highest percentage of metallic asteroids compared to asteroids in other belts.
Confusion Matrix
  1. Amor asteroids usually have the shortest orbit periods, but they are actually the farthest from Earth. In contrast, Apollo asteroids have longer orbit periods but are the closest to us.
  2. Looking at the material composition, metallic NEO asteroids, on average, have shorter orbit periods than carbonaceous asteroids. This implies that we can mine metals from asteroids more often due to their more frequent orbits.

Lessons Learnt

Outliers detection and removal = More reliable statistical tests

Outliers heavily affect the result of hypothesis tests like the Welch t-test.

Framing questions as hypothesis tests

Questions often needed to be reframed so that it aligns well with hypothesis tests.

Parametric VS Non-parametric tests

Depending on the knowledge of data distribution, appropriate type of tests needs to be selected.