Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Analytics-for-Rural-Transformation-ART/Tanzania-Agricultural-Price-Predictions

Domaine:

agriculturesocioeconomic

Type de record:

dataset
Créateur:
Ana
Hôte:
Predicting agricultural food prices for Tanzania. # Tanzania Agricultural Price Predictions ## 📌 Overview This repository contains the analytical pipeline for modeling and predicting rural wholesale prices for 8 Crop commodities (maize, rice, bean, wheat, potato, bulrush millet, finger millet, and sorghum) across **43 markets in Tanzania**. **🔗 Rmarkdown Report:** View the full analysis and 2025 predictions here --- ## 📂 Repository Structure ### 📁 Codes/ * **`Tanzania_price_predictions-notebook.Rmd`**: This is the primary workflow. Documents model fitting, evaluation, and comparison of predicted prices against regional aggregates. * **`Data_Extraction_from_PDF_To_Excel_and_cleaning.R`**: Automates data extraction from Tanzania Ministry of Industry and Trade PDF reports. Includes cleaning of month-by-month data. * **`LNMO-Spatial-CV.R`**: Contains the **Leave-N-Markets-Out (LNMO)** cross-validation strategy, which evaluates the sensitivity of predictive accuracy as increasingly more markets are held out from training. ### 📁 Data/ * **`Tanzania_Price_Data_AllCrops_with_Coordinates_5.csv`**: This is the master dataset. It contains cleaned, compiled, and geocoded prices for all crops from **May 2021 to January 2026**. ### 📁 Outputs/ * **Spatio-temporal Maps**: These are final model outputs for all 8 crop commodities, generated through Random Forest modeling to show real price variation across space and time. --- ## 🛠️ Methodology & Scope * **Model:** Random Forest Regression and Autoregressive Random Forest. * **Validation:** Temporal split, Random split, and LNMO Cross-Validation. * **Impact:** Our framework combines periodic market reports with open spatial data (travel times, climate, population density) to provide low-cost, forward-looking price estimates across space and time. These outputs can guide targeted support measures and feed simple mobile alert systems that require price information. ---

Visit

github.com

Similaires

EiA2030-ex-ante/Tanzania-Price-PredictionsRURAL–URBAN DYNAMICS AND AGRICULTURAL TRANSFORMATIONAgricultural Mechanization Potentials for Transformation of Rural Ethiopia: A ReviewRural Policies, Price Change and Poverty in Tanzania: An Agricultural Household Model-Based AssessmentRural Structural Transformation and Agricultural Productivity in NigeriaUsing domestic weather disturbances and price transmission for maize price predictions in Southern Africa

EiA2030-ex-ante/Tanzania-Price-Predictions

This repository contains data and codes related to modelling and predicting food commodity prices fo

RURAL–URBAN DYNAMICS AND AGRICULTURAL TRANSFORMATION

This book brings together interdisciplinary studies that address critical challenges and opportuniti

Agricultural Mechanization Potentials for Transformation of Rural Ethiopia: A Review

Rural Policies, Price Change and Poverty in Tanzania: An Agricultural Household Model-Based Assessment

Rural Structural Transformation and Agricultural Productivity in Nigeria

Rural structural transformation is best defined as structural changes in the rural areas occasioned

Using domestic weather disturbances and price transmission for maize price predictions in Southern Africa

In this paper we combine traditional econometric time series techniques and machine learning algorit