Learn R Programming

⚠️There's a newer version (0.4.8) of this package.Take me there.

GE (version 0.1.1)

General Equilibrium Modeling

Description

Some tools for developing general equilibrium models and some general equilibrium models. These models can be used for teaching economic theory and are built by the methods of new structural economics (see and LI Wu, 2019, General Equilibrium and Structural Dynamics: Perspectives of New Structural Economics. Beijing: Economic Science Press).

Copy Link

Version

Install

install.packages('GE')

Monthly Downloads

629

Version

0.1.1

License

GPL-2 | GPL-3

Maintainer

LI Wu

Last Published

May 24th, 2020

Functions in GE (0.1.1)

SCES

Standard CES Function
apply_expand.grid

Applying a Function to All Combinations of the Supplied Vectors
ge_tidy

Tidy a General Equilibrium
CRRA

Constant Relative Risk Aversion (CRRA) Utility Function
SCES_A

Standard CES Demand Coefficient Matrix
CARA

Constant Absolute Risk Aversion (CARA) Utility Function
gemInputOutputTable_2_8_4

A Two-Country General Equilibrium Model with Money
CES

CES Function
demand_coefficient

Compute Demand Coefficients of an Agent with a Demand Structural Tree
gemInputOutputTable_5_4

A General Equilibrium Model based on a 5x4 Input-Output Table (see Zhang Xin, 2017, Table 8.6.1)
gemInputOutputTable_easy_5_4

An Easy General Equilibrium Model based on a 5x4 Input-Output Table (see Zhang Xin, 2017, Table 8.6.1)
node_replace

Replace a Node of a Tree
node_plot

Plot a Tree and Show the Type Attribute
node_new

Create a Tree
sdm_dstl

Structural Dynamic Model (alias Structural Growth Model) with a Demand Structure Tree List
gemTax_5_4

A General Equilibrium Model with Tax (see Cardenete et al., 2012).
sdm2

Structural Dynamic Model (alias Structural Growth Model) Version 2
growth_rate

Compute the Growth Rate
node_set

Create a Tree or Set Attributes for a Node
gemInputOutputTable_Leontief_3_3

A Leontief-type General Equilibrium Model based on a 3x3 Input-Output Table
gemInputOutputTable_CES_3_3

A CES-type General Equilibrium Model based on an Input-Output Table.
gemRobinson_3_2

A Robinson Crusoe Economy
ratio_adjust

Ratio Adjustment
gemInputOutputTable_8_8

A General Equilibrium Model based on an 8x8 Input-Output Table
gemInputOutputTable_7_4

A General Equilibrium Model based on a 7x4 Input-Output Table
rate_to_beta

Conversion between a Rate Vector and a Beta Vector
node_insert

Insert Nodes into a Tree
node_prune

Prune Nodes off a Tree by Names
matrix_add_by_name

Add Matrices by Names of Columns and Rows
gemStandardInputOutputTable_7_4

A General Equilibrium Model based on a 7x4 Standard Input-Output Table
gemMoney_3_2

A General Equilibrium Model with Money
node_print

Print a Tree and Its Fields
intertemporal_utility

Intertemporal Utility Function
iterate

Iteration Function
structural_function

Structural Function