Tabulate food demand by year for in input model using the observed prices and incomes for a given region. If region is NULL, do it for all regions and concatenate the result.

food.dmnd.byyear(obsdata, params, bc = NULL, region = NULL)

Arguments

obsdata

Table of observed prices and incomes.

params

Model parameter structure, as described in food.dmnd

bc

Vector of regional bias correction factors. Optional. If omitted, no bias correction will be applied.

region

Region to apply the analysis to.

Value

food demand by year as a data frame

Details

This function is intended to generate model predictions that can be compared to observed consumption.