Fast direct h-likelihood estimation for irregular spatial data using a selected inverse algorithm, with applications to crop micronutrient mapping in Ethiopia and Malawi.
# hlikelihood-selected-inverse
Fast direct h-likelihood estimation for irregular spatial data using a selected inverse algorithm, with applications to crop micronutrient mapping in Ethiopia and Malawi. This GitHub repository accompanies the paper:
> Zou, H. and Mondal, D. (2026). *Fast Direct H-likelihood Estimation Using Selected Inverse for Irregular Spatial Data*
---
## Repository Structure
### `Data/`
This folder contains instructions for downloading datasets and organizing them into country-specific subfolders.
### `Data/Ethiopia/`
Stores Ethiopia crop grain micronutrient data, environmental covariates, soil measurements, and geographic information.
### `Data/Malawi/`
Stores Malawi crop grain micronutrient data, environmental covariates, soil measurements, and geographic information.
---
### `Script/`
This directory contains the scripts required to reproduce the analysis and figures presented in the paper.
* **`Ethiopia.R`, `Malawi.R`**
Scripts that implement the proposed methodology for analyzing the Ethiopia and Malawi datasets, respectively.
* **`Figure.R`**
Script for reproducing all figures reported in the paper.
* **`geoR.R`**
Script that analyzes the Ethiopia and Malawi datasets using the `geoR` package.
---
### `Output/`
This directory contains outputs generated from the analysis.
* **`ethiopia8_psi_hat.txt`, `ethiopia12_psi_hat.txt`, `malawi0.01_psi_hat.txt`, `malawi0.016_psi_hat.txt`**
Estimated spatial random effects under different neighborhood specifications, generated by `Script/Ethiopia.R` and `Script/Malawi.R`.
* **`ethiopia8_se_predict.txt`, `ethiopia12_se_predict.txt`, `malawi0.01_se_predict.txt`, `malawi0.016_se_predict.txt`**
Prediction standard errors under different neighborhood specifications, generated by `Script/Ethiopia.R` and `Script/Malawi.R`.
* **`teff_e.txt`, `maize_m.txt`**
Processed datasets for teff (Ethiopia) and maize (Malawi), derived from raw GeoNutrition data.
* **`location_e.txt`, `location_m.tx …