calc1q | R Documentation |
This is a helper function for the mapply
calls in
food.dmnd
calc1q(
Ps,
Pn,
Y,
eps,
Ysterm,
Ynterm,
Acoef,
psscl,
pnscl,
staples_FE,
bias_adder_s,
bias_adder_ns
)
Ps |
Price of staple foods |
Pn |
Price of nonstaple foods |
Y |
Per-capita income |
eps |
Matrix of Marshall elasticities |
Ysterm |
Income term in the demand equation for staples |
Ynterm |
Income term in the demand equation for nonstaples |
Acoef |
Leading multiplier parameter. |
psscl |
Scale parameter for staples prices. |
pnscl |
Scale parameter for non-staple prices. |
staples_FE |
Fixed effects term for staples. set to 0 by default |
bias_adder_s |
Bias term for staples. Set to 0 by default |
bias_adder_ns |
Bias term for non-staples. Set to 0 by default |
Quantities of staples and non-staples (Qs and Qn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.