Government Equations¶
Government
open_cge.government¶
-
open_cge.government.eqSg(mu, Td, Tz, Tm, XXg, Trf, pq)[source]¶ Total government savings.
\[Sg = Td + \sum_{i}Tz_{i} + \sum_{i}Tm_{i} - (Trf + \sum_{i}Xg_{i})\]- Parameters
mu (1D numpy array) – Government expenditure share parameters for each good i
Td (float) – Total direct tax revenue
Tz (1D numpy array) – Production tax revenue for each good i
Tm (1D numpy array) – Tariff revenue for each good i
XXg (float) – Total government spending on goods/services
Trf (float) – Total transfers to households
pq (1D numpy array) – price of the Armington good (domestic + imports) for each good i
- Returns
Total government savings
- Return type
Sg (float)
-
open_cge.government.eqTd(taud, pf, Ff)[source]¶ Direct tax revenue.
\[Td = au d \sum_{h}pf_{h}FF_{h}\]- Parameters
taud (float) – Direct tax rate
pf (1D numpy array) – The price of factor h
Ff (1D numpy array) – Endowment of factor h
- Returns
Total direct tax revenue.
- Return type
Td (float)
-
open_cge.government.eqTm(taum, pm, M)[source]¶ Tariff revenue from each good i.
\[Tm_{i} = au^{m}_{i} pm_{i}M_{i}\]- Parameters
taum (1D numpy array) – Tariff rate on good i
pm (1D numpy array) – price of import good i
M (1D numpy array) – Imports of good i
- Returns
Tariff revenue for each good i
- Return type
Tm (1D numpy array)
-
open_cge.government.eqTrf(tautr, pf, Ff)[source]¶ Total transfers to households.
\[Trf = au^{tr} \sum_{h}pf_{h}FF_{h}\]- Parameters
tautr (float) – Tranfer rate (??)
pf (1D numpy array) – The price of factor h
Ff (1D numpy array) – Endowment of factor h
- Returns
Total transfers to households
- Return type
Trf (float)
-
open_cge.government.eqTz(tauz, pz, Z)[source]¶ Production tax revenue from each good.
\[Tz_{i} = au^{z}_{i} pz_{i}Z_{i}\]- Parameters
tauz (1D numpy array) – Ad valorem tax rate on good i
pz (1D numpy array) – Price of output good i
Z (1D numpy array) – Total output of good i
- Returns
Production tax revenue for each good i
- Return type
Tz (1D numpy array)
-
open_cge.government.eqXg(mu, XXg)[source]¶ Government expenditures on good i
\[X^{g}_{i} = \mu_{i}XX_{g}\]- Parameters
mu (1D numpy array) – Government expenditure share parameters for each good i
XXg (float) – Total government spending on goods/services
- Returns
Government expenditures on good i
- Return type
Xg (1D numpy array)