Additive-Mean-Variance Utility Function and Additive-Mean-Standard-Deviation Utility Function | AMSD AMV |
Additive-Mean-Standard-Deviation Portfolio Utility Function | AMSDP |
Applying a Function to All Combinations of the Supplied Vectors | apply_expand.grid |
Constant Absolute Risk Aversion (CARA) Utility Function | CARA |
CES Function | CES |
Demand coefficients of the CESAK Production Function | CESAK_dc |
Constant Relative Risk Aversion (CRRA) Utility Function | CRRA |
Displaced CES Utility Function and Displaced CES Demand Function | DCES DCES_compensated_demand DCES_demand DCES_indirect |
Compute Demand Coefficients of an Agent with a Demand Structural Tree | demand_coefficient |
A Disequilibrium Model with Credit | demCreditPolicy |
A Disequilibrium Model Illustrating Insufficient Effective Demand (Supply-demand Structural Mismatch) | demInsufficientEffectiveDemand_3_3 |
Tidy a General Equilibrium | ge_tidy |
Some Simple 2-by-2 General Equilibrium Models | gem_2_2 |
Some Simple 3-by-2 General Equilibrium Models | gem_3_2 |
Some Simple 3-by-3 General Equilibrium Models | gem_3_3 |
Some Simple 3-by-4 General Equilibrium Models | gem_3_4 |
Some Simple 4-by-4 General Equilibrium Models | gem_4_4 |
An Example Illustrating the Matthew Effect of Asset Exchange | gemAssetExchange_MatthewEffect_2_2 |
Compute Asset Market Equilibria with Commodity Utility Functions for Some Simple Cases | gemAssetPricing_CUF |
Compute Asset Market Equilibria with Portfolio Utility Functions for Some Simple Cases | gemAssetPricing_PUF |
Some Examples of Asset Pricing | gemAssetPricingExample |
Some Examples of Balanced Growth Paths | gemBalancedGrowthPath |
A Canonical Dynamic Macroeconomic General Equilibrium Model (see Torres, 2016) | gemCanonicalDynamicMacroeconomic_3_2 |
A Canonical Dynamic Macroeconomic General Equilibrium Model (see Torres, 2016) | gemCanonicalDynamicMacroeconomic_4_3 |
A Canonical Dynamic Macroeconomic General Equilibrium Model in Sequential Form (see Torres, 2016) | gemCanonicalDynamicMacroeconomic_Sequential_3_2 |
A Canonical Dynamic Macroeconomic General Equilibrium Model in Sequential Form under the Wage Postpayment Assumption (see Torres, 2016) | gemCanonicalDynamicMacroeconomic_Sequential_WagePostpayment_4_3 |
A Canonical Dynamic Macroeconomic General Equilibrium Model in Time-circle Form (see Torres, 2016) | gemCanonicalDynamicMacroeconomic_TimeCircle_2_2 |
A Canonical Dynamic Macroeconomic General Equilibrium Model in Timeline Form (see Torres, 2016) | gemCanonicalDynamicMacroeconomic_Timeline_2_2 |
Some Examples of Spot Market Clearing Paths with Capital Accumulation | gemCapitalAccumulation |
Some Timeline Equilibrium Models with CESAK Production Function | gemCESAK_Timeline_2_2 |
Coffee Problem: Some Examples of Equilibrium and Disequilibrium Pure Exchange Economies | gemCoffeeProblem_3_3 |
Constant Growth Paths with Technology Progress | gemConstantGrowthPath_TechnologyProgress_3_3 |
A Model with a Displaced CES Utility Function | gemDCES_5_3 |
General Equilibrium Models and Linear Programming Problems (see Winston, 2003) | gemDualLinearProgramming |
A General Equilibrium Model with Equity Shares | gemEquityShare_3_3 |
A General Equilibrium Model with Equity Shares and Bond | gemEquityShare_Bond_4_4 |
Some Examples with Exogenous Price (Price Control) | gemExogenousPrice |
An Example of Price Regulation and Endogenous Labor Supply (Example 9.5 of Li, 2019) | gemExogenousPrice_EndogenousLaborSupply_3_3 |
Some Examples with Exogenous Utility Level and Endogenous Labor Supply | gemExogenousUtilityLevel_EndogenousLaborSupply_3_3 |
Some Examples Illustrating Negative Externality | gemExternality_Negative |
Some Examples Illustrating Positive Externality | gemExternality_Positive |
Some Examples of Treating Firms as Consumer-Type Agents | gemFirmAsConsumer |
Instantaneous equilibrium paths with Heterogeneous Firms | gemHeterogeneousFirms_2_3 |
An Example Illustrating Product Quality Information | gemInformation_ProductQuality |
A General Equilibrium Model based on a 2×2 (Unbalanced) Input-Output Table | gemInputOutputTable_2_2 |
A Two-Country General Equilibrium Model | gemInputOutputTable_2_7_2 |
A Two-Country General Equilibrium Model | gemInputOutputTable_2_7_4 |
A Two-Country General Equilibrium Model with Money | gemInputOutputTable_2_8_4 |
A General Equilibrium Model based on a 5×4 Input-Output Table (see Zhang Xin, 2017, Table 8.6.1) | gemInputOutputTable_5_4 |
General Equilibrium Models based on a 5×5 Input-Output Table (see Zhang Xin, 2017, Table 3.2.1) | gemInputOutputTable_5_5 |
A General Equilibrium Model based on a 7×4 (Standard) Input-Output Table | gemInputOutputTable_7_4 |
A General Equilibrium Model based on an 8×8 Input-Output Table | gemInputOutputTable_8_8 |
An Easy General Equilibrium Model based on a 5×4 Input-Output Table (see Zhang Xin, 2017, Table 8.6.1) | gemInputOutputTable_easy_5_4 |
A Leontief-type General Equilibrium Model based on a 3×3 Input-Output Table | gemInputOutputTable_Leontief_3_3 |
A SCES-type General Equilibrium Model based on an Input-Output Table. | gemInputOutputTable_SCES_3_3 |
Some Examples of Instantaneous Equilibrium Paths with Sticky Decisions | gemInstantaneousEquilibriumPath_StickyDecisions |
An Example of a 1-by-2 Intertemporal Equilibrium Model | gemIntertemporal_1_2 |
Some Examples of a 2-by-2 Intertemporal Equilibrium Model | gemIntertemporal_2_2 |
Some Examples of Intertemporal Models with One Consumer and Two Types of Firms | gemIntertemporal_3_3 |
An Intertemporal Model with Two Consumers and Two Types of Firms | gemIntertemporal_3_4 |
An Intertemporal Model with Land, Two Consumers and Two Types of Firms | gemIntertemporal_4_4 |
Some Intertemporal (Timeline and Time-circle) Models with Land, Two Consumers, and Three Types of Firms | gemIntertemporal_5_5 |
Some Intertemporal Models with Ad Valorem Claim | gemIntertemporal_AdValoremClaim |
Some Examples of an Intertemporal Model with a Consumer and a Type of Bank | gemIntertemporal_Bank_1_2 |
Some Examples of an Intertemporal Model with Two Consumers and a Type of Bank | gemIntertemporal_Bank_1_3 |
The Identical Steady-state Equilibrium: Four Models Illustrating Dividend | gemIntertemporal_Dividend |
The Identical Steady-state Equilibrium: Four Models Illustrating Dividend and Technological Progress | gemIntertemporal_Dividend_TechnologicalProgress |
An Example Illustrating Endogenous Equilibrium Interest Rates in a (Timeline) Transitional Equilibrium Path | gemIntertemporal_EndogenousEquilibriumInterestRate |
An Example Illustrating Endogenous Equilibrium Interest Rates and Foreign Exchange Rates in a Two-country (Timeline) Transitional Equilibrium Path | gemIntertemporal_EndogenousEquilibriumInterestRate_ForeignExchangeRate |
An Example Illustrating Endogenous Equilibrium Interest Rates and the Velocity of Money in a (Timeline) Transitional Equilibrium Path | gemIntertemporal_EndogenousEquilibriumInterestRate_MoneyVelocity |
The Identical Steady-state Equilibrium: Three Models with Money and Dividend | gemIntertemporal_Money_Dividend_Example7.5.1 |
Some Examples of Intertemporal (Timeline) Models with Production and Public Firms | gemIntertemporal_PublicFirm |
Some Examples of a 2-by-2 Time Circle Equilibrium Model | gemIntertemporal_TimeCircle_2_2 |
A Time Circle Model with One Consumer and Two Types of Firms | gemIntertemporal_TimeCircle_3_3 |
A Time Circle Model with Two Consumers and Two Types of Firms | gemIntertemporal_TimeCircle_3_4 |
Some Examples of a Time Circle Model with a Consumer and a Type of Bank | gemIntertemporal_TimeCircle_Bank_1_2 |
Some 2-by-2 Time Circle Models with Uncertainty | gemIntertemporal_TimeCircle_Stochastic_2_2 |
An Intertemporal Stochastic Model with a Consumer and Some Banks | gemIntertemporalStochastic_Bank_ThreePeriods |
An Intertemporal Stochastic Model with a Consumer and a Bank | gemIntertemporalStochastic_Bank_TwoPeriods |
A Three-Period Intertemporal Stochastic Equilibrium Model with a Consumer and a Type of Firm | gemIntertemporalStochastic_ThreePeriods_2_2 |
Some Examples of a Two-Period Intertemporal Stochastic Equilibrium Model | gemIntertemporalStochastic_TwoPeriods |
Some Examples of Spot Market Clearing Paths Involving Land and Labor | gemLand_Labor |
Some Examples of Spot Market Clearing Paths Involving Land, Labor and Capital | gemLand_Labor_Capital_4_3 |
Some Examples of Spot Market Clearing Paths | gemMarketClearingPath_2_2 |
A General Equilibrium Model with Money | gemMoney_3_2 |
Some 3-by-3 General Equilibrium Models with Money and Exogenous Interest Rate | gemMoney_3_3 |
Some Examples Illustrating Non-excludability | gemNonexcludability |
Some Examples Illustrating Congestible Non-rival Goods | gemNonrivalry_Congestiblity |
Some Examples Illustrating Uncongestible Non-rival Goods | gemNonrivalry_Uncongestiblity |
Some Examples of Basic (Timeline) OLG Models with Production | gemOLG_Basic |
An Overlapping Generations Model with Land | gemOLG_Land_4_3 |
Overlapping Generations Models with Private Firm | gemOLG_PrivateFirm |
Some Examples of (Timeline) OLG Models with Production and Public Firms | gemOLG_PublicFirm |
The Basic Overlapping Generations Pure Exchange Model (see Samuelson, 1958) | gemOLG_PureExchange |
Overlapping Generations Pure Exchange Models with Bank | gemOLG_PureExchange_Bank |
A 3-by-3 OLG Stochastic Sequential General Equilibrium Model | gemOLG_StochasticSequential_3_3 |
Time-Circle Models (Closed Loop Overlapping Generations Models) | gemOLG_TimeCircle |
Overlapping Generations Financial Sequential Models with One Firm | gemOLGF_OneFirm |
Overlapping Generations Financial Sequential Models for Pure Exchange Economies | gemOLGF_PureExchange |
Overlapping Generations Financial Sequential Models with Two Firms | gemOLGF_TwoFirms |
A 4-by-4 Open Economy with Bond | gemOpenEconomy_4_4 |
A 6-by-6 Open Economy with Bond | gemOpenEconomy_6_6 |
Some Examples of Spot Market Clearing Paths with Persistent Technological Progress | gemPersistentTechnologicalProgress |
Some Simple Pure Exchange Equilibrium Models | gemPureExchange |
A Pure Exchange Economy with a Quasilinear Utility Function | gemQuasilinearPureExchange_2_2 |
Some Examples of Spot Market Clearing Paths Illustrating Research and Development Intensity | gemResearchDevelopmentIntensity |
A Robinson Crusoe Economy | gemRobinson_3_2 |
Some Examples Illustrating Short-Term Investment | gemShortTermInvestment_2_3 |
Some General Equilibrium Models with Skill (i.e. Human Capital) | gemSkill |
A General Equilibrium Model with Endogenous Labor Supply | gemstEndogenousLaborSupply_2_2 |
A General Equilibrium Model with Endogenous Production Function | gemstEndogenousProductionFunction_2_2 |
Some General Equilibrium Models with Endogenous Utility Function | gemstEndogenousUtilityFunction |
An Example Illustrating the Sticky-Decision Path and Business Cycles | gemStickyDecisionPath_2_2 |
Some Examples Illustrating the Sticky-Price Path and Business Cycles | gemStickyPricePath_2_2 |
Structural Multiple Equilibria and Structural Transition Policy | gemstStructuralMultipleEquilibria_2_2 |
Some General Equilibrium Models with Tax | gemTax_3_3 |
Some General Equilibrium Models with Endogenous Tax Rates | gemTax_4_4 |
A General Equilibrium Model with Tax (see Cardenete et al., 2012). | gemTax_5_4 |
A General Equilibrium Model with Tax | gemTax_5_5 |
A General Equilibrium Model with Tax and Quasilinear Utility Functions. | gemTax_QuasilinearPreference_4_4 |
A General Equilibrium Model with Value-added Tax and Income Tax | gemTax_VAT_IncomeTax_5_4 |
Some General Equilibrium Models with Technology Progress and Population Growth | gemTechnologyProgress_PopulationGrowth |
Some Examples of Temporary Equilibrium Paths | gemTemporaryEquilibriumPath |
An Example of Two-Country Economy with Bond | gemTwoCountry_Bond_7_4 |
Calculating Real Exchange Rate Index | gemTwoCountry_RealExchangeRateIndex_7_4 |
An Example of Two-Country Economy with Tariff | gemTwoCountry_Tariff_9_5 |
Example 7.6 (Foreign Exchange Rate) in Li (2019) | gemTwoCountryForeignExchangeRate_6_6 |
Some Examples of Two-Country Pure Exchange Economy | gemTwoCountryPureExchange |
Some Examples of Two-Country Pure Exchange Economy with Bond | gemTwoCountryPureExchange_Bond |
A 4-by-3 Economy with Two Industries | gemTwoIndustries_4_3 |
Compute the Growth Rate | growth_rate |
Iteration Function | iterate |
Make a Countercyclical Product Tax Policy Function | makeCountercyclicalProductTax |
Make a Policy of Head Adjustment for a Timeline Model | makePolicyHeadAdjustment |
Make a Policy of Head and/or Tail Adjustment for a Timeline Model | makePolicyHeadTailAdjustment |
Make a Policy of Income Tax | makePolicyIncomeTax |
Make a Mean Value Policy Function | makePolicyMeanValue |
Make a Policy of Sticky Price | makePolicyStickyPrice |
Make a Policy of Supply | makePolicySupply |
Make a Policy of Tail Adjustment for a Timeline Model | makePolicyTailAdjustment |
Make a Policy of Technology Change | makePolicyTechnologyChange |
Marginal Utility | marginal_utility |
Add Matrices by Names of Columns and Rows | matrix_add_by_name |
Aggregate Some Rows and Columns of a Matrix | matrix_aggregate |
Convert a Matrix into a Demand Structural Tree List | matrix_to_dstl |
Modified Displaced CES Demand Function | MDCES_demand |
Insert Nodes into a Tree | node_insert |
Create a Tree | node_new |
Plot a Tree and Show the Type Attribute | node_plot |
Print a Tree and Its Fields | node_print |
Prune Nodes off a Tree by Names | node_prune |
Replace a Node of a Tree | node_replace |
Create a Tree or Set Attributes for a Node | node_set |
Compute the Utility of a Consumer or the Output of a Firm by the Demand Structural Tree | output |
Market-Clearing-Price Policy Function | policyMarketClearingPrice |
Mean Value Policy Function | policyMeanValue |
Quasilinear Demand Functions | QL_demand |
Conversion between a Rate Vector and a Beta Vector | beta_to_rate rate_to_beta |
Ratio Adjustment | ratio_adjust |
Standard CES Function | SCES |
Standard CES Demand Coefficient Matrix | SCES_A |
Structural Dynamic Model (alias Structural Growth Model) with a Demand Structure Tree List | sdm_dstl |
Structural Dynamic Model (alias Structural Growth Model) Version 2 | sdm2 |
Compute the Return Rate in the Steady State Equilibrium | sserr |
Structural Function | structural_function |
Population Variance and Population Standard Deviation | sd.p var.p |