Skip to main content

An realism economic analysis package.

Project description

Macroeconomy 0.1.2

A macroeconomic analysis package followed the philosophy and methods of the New Classical Macro Theory.

Model Introduction

New Classical Economy

This basic macroeconomic model is adapted from a dynamically multiple Ramsey Model, which could be extended into many occasions. It follows the philosophy and methods of the New Classical Macro Theory where macroeconomic model must have micro-foundation, and thus basic assumptions in the theory, for instance, Say's Law, Inda Conditions and CRS, are accepted here. For the perspective of production, the model adopts the traditional choice: Cobb Douglas Production Function, while Logarithmic form is chosen as the utility function. In order to simplify calculation, labor is normalized into 1, and TFP(A) is assumed as a const 1. All variables below are counted by consumer goods, reflecting the real economy. Therefore, monetary factors are neglected in this very brief model. As a result of the New Classical Macro Assumptions, this model has it structural limitation, which means it is absolutely a terrible idea to apply this model to analyze an economy with Insufficient Aggregate Demand, such as China's.

China's Economy

Aimed to describe a realer economy with Insufficient Consumption, or Excess Savings in otherwise, such as China's economy since the visionary policy Reform and Opening-up was implemented in 1978, this adapted new classical model assumes that theta precents of firms in the economy are state-owned, which means their operational target is to maximize their scales, and they are rigid savers, observing China's reality.

User Guide

Call the classes directly is quite a practical method, for instance,

from macroenonmy.base import *

state = NewClassicalEconomy(1.0, 0.0085, 0.6, 20)

state = ChinaEconomy(1.0, 0.01, 0.4, 0.6, 20)

Detailed introduction of every class is available in their own code areas, and a brief example is available in the if __name__=='__main__' part at the end of some main files.

Download

Here is my website:

This package could be downloaded through PyPi by:

pip install macroeconomy

View at the webpage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

macroeconomy-0.1.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

macroeconomy-0.1.2-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file macroeconomy-0.1.2.tar.gz.

File metadata

  • Download URL: macroeconomy-0.1.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for macroeconomy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d5a7484a68c94359c42cb7a1aefdc5fe272430c004bffb4e63c069c24db85d10
MD5 35afe8e96018b4a82ec7b0b4cf23b11b
BLAKE2b-256 21aeb7d38858a56849221661cdd9eb1edbca9f776621c21cad17fbdb0e9377b2

See more details on using hashes here.

File details

Details for the file macroeconomy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: macroeconomy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for macroeconomy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 810d074b5a1ad6771996d427a9b5d157da3c1e24423b3594a4378dca0992733c
MD5 85c2c40e9b1875d4d715d2f5371b3f1c
BLAKE2b-256 84647dcec339cfa763aecb3d9d8fa69413b7afbfb455431fd016b94d892066ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page