This function allows the user to pass in a vector of each of the 11 parameters for ambrosia. The user can set individual parameter values described below or can pass in a direct vector of 11 parameters. We also look at the number of parameters passed in. If it is 10, we assume you want a constant income elasticity for staples (etas = constant). If it's 11, we assume you want to use a dynamic income elasticity for staples (etas = eta.s(lambda, k)). If it's anything else, we throw an error. The table in the details section provides a description of the parameters, the units and the acceptable range.

vec2param(
  x = NULL,
  A_s = 1.28,
  A_n = 1.14,
  xi_ss = -0.19,
  xi_cross = 0.21,
  xi_nn = -0.33,
  nu1_n = 0.5,
  lambda_s = 0.1,
  k_s = 16,
  Pm = 5.06,
  psscl = 100,
  pnscl = 20
)

Arguments

x

Vector of 11 model parameters using the statistical formulation. If this is NULL, a vector is generated based on default parameter values for 11 parameters.

A_s

A scale term used to derive expenditure share for staple demand.

A_n

A scale term used to derive expenditure share for non-staple demand.

xi_ss

Price elasticity of staple goods. Unit change in per capita demand for staples as a result of unit increase in price (in $ per person per day).

xi_cross

Cross price elasticity between staples and non-staples which in combination with the other price elasticities is used to derive substitution elasticity.

xi_nn

Price elasticity of non-staple goods. Unit change in per capita demand for non-staples as a result of unit increase in price (in $ per person per day).

nu1_n

Income elasticity for non-staple goods. Unit change in per capita demand for non-staples for unit change in income (in thousand USD).

lambda_s

Income elasticity for staple goods. Unit change in per capita demand for staples for unit change in income (in thousand USD).

k_s

Exponent of Income level at which staple demand is anticipated to be at its highest. Log of this term (log(k_s)) is the income level in Thousand USD.k_s and lamda_s are used in conjunction to derive the income elasticity for staples.

Pm

Price of materials in $ per capita per day. This is basically the price consumers pay for goods in the economy others than food. The range based on the statistical formulation is 1.94 - 5.91.

psscl

Additional scaling term used to derive the expenditure shares for staples. This is applied to price of staples (Ps/Pm * psscl), where Ps is the price of staples and Pm is the price of materials and to the expenditure shares of staples (alpha_s).

pnscl

Additional scaling term used to derive the expenditure shares for non-staples. This is applied to price of non-staples (Pn/Pm * pnscl), where Pn is the price of non-staples and Pm is the price of materials and to the expenditure shares of non-staples (alpha_n).

Value

Parameter structure suitable for use in food.dmnd.

Details

The documentation provides an explanation of the parameters along with acceptable ranges for the parameters. The default parameters are the parameter values that yielded the maximum log likelihood values duing the statistical fitting procedure. The range of the parameters is derived by filtering the range of parameters in the MCMC for the 95th percentile confidence interval. The parameters are not independent of each other. Note that xi_cross is used for both xi_sn and xi_ns, forcing them to be equal.

If there are only 10 parameters, then the first 8 are as above, and the next to last is eta_s.

The parameters in the vector are described in the table below:

Parameter nameDescriptionUnitsValueRange of parameter values (Based on 95th percentile confidence interval)
A_sA scale term used to derive expenditure share for staple demandUnitless1.281.25 -1.40
A_nA scale term used to derive expenditure share for non-staple demand.Unitless1.140.9 - 1.16
xi_ssPrice elasticity of staple goods. Unit change in per capita demand for staples as a result of unit increase in price Ps (in $ per person per day).Elasticity-0.19-0.27 - -0.07
xi_crossCross price elasticity between staples and non-staples which in combination with the other price elasticities is used to derive substitution elasticity.Elasticity0.210.09 - 0.27
xi_nnPrice elasticity of non-staple goods. Unit change in per capita demand for non-staples as a result of unit increase in price Pn (in $ per person per day).Elasticity-0.3-0.46 - -0.10
nu1_nIncome elasticity for non-staple goods. Unit change in per capita demand for non-staples for unit change in income Y (in thousand USD).Elasticity0.50.46 - 0.61
lambda_sIncome elasticity for staple goods. Unit change in per capita demand for staples for unit change in income Y (in thousand USD)Elasticity0.10.075 - 0.16
k_sExponent of Income level at which staple demand is anticipated to be at its highestThousand USD1610 -17
PmPrice of materials (everything else in the economy other than food products)$ per day52 -6
pssclAdditional scaling term used to derive the expenditure shares for staples. This is applied to price of staples (Ps/Pm * psscl), where Ps is the price of staples and Pm is the price of materials and to the expenditure shares of staples (alpha_s).Unitless10080 - 120
pnsclAdditional scaling term used to derive the expenditure shares for non-staples. This is applied to price of non-staples (Pn/Pm * pnscl), where Pn is the price of non-staples and Pm is the price of materials and to the expenditure shares of non-staples (alpha_n).Unitless2018 - 25