February 18, 2023
Journal Article

ambrosia: An R package for calculating and analyzing food demand that is responsive to changing incomes and prices

Abstract

The ambrosia R package was developed to calculate food demand for staples and non-staple commodities that is responsive to changing levels of incomes and prices. ambrosia implements the framework to quantify food demand as established by Edmonds et al. (Edmonds et al. 2017) and allows the user to explore and estimate different variables related to the food demand system. Currently ambrosia provides 3 main functions: (1) calculation of food demand for any given set of parameters including income levels and prices (2) estimation of parameters within a given a dataset. Note: ambrosia is used to calculate parameters for the food demand model implemented in the Global Change Analysis Model(GCAM) (3) exploration and preparation of raw data before starting a parameter estimation

Published: February 18, 2023

Citation

Narayan K., C.R. Vernon, S.T. Waldhoff, J.A. Edmonds, and R. Cui. 2021. ambrosia: An R package for calculating and analyzing food demand that is responsive to changing incomes and prices. Journal of Open Source Software 6, no. 59:2890. PNNL-SA-157944. doi:10.21105/joss.02890