pysnowdrop


Namepysnowdrop JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryPython Platform for DSGE Modeling
upload_time2025-02-07 04:15:08
maintainerAlexei Goumilevski
docs_urlNone
authorAlexei Goumilevski
requires_python<4.0,>=3.10
licenseLGPL-3.0-or-later
keywords dsge macroeconomic modeling
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Framework for DSGE models
 
## authors: Alexei Goumilevski and James Otterson
 
## What it is:
This Framework aims to help economists to ease development and run 
of DSGE models in Python environment.
 
 ## How to run:
 - Create or modify existing YAML model file in examples/models folder.
 - Open src/tests/test.py file and set *fname* to the name of this model file.
 - Run simulations by double-clicking on run batch file located under Framework folder.

## Content:
 - Sample model file (see `<examples/models/Toy/JLMP98.yaml>`)
 - Documentation (see `<docs/UserGuide.pdf>`)

## Highlights:
- Framework is written in Python language and uses only Python libraries that are available by installing Anaconda distribution in Software Center
- Framework is versatile to parse model  files written in a human readable YAML format, Sirius XML format and to parse simple IRIS and DYNARE model files.
- Prototype model files are created for non-linear and linear perfect-foresight models.
- It can be run as a batch process, in a Jupyter notebook, or in a Spyder interactive development environment (Scientific Python Development environment).
- Framework parses the model file, checks its syntax for errors, and generates Python functions source code.  It computes the Jacobian up to the third order in a symbolic form.
- Non-linear equations are solved by iterations by Newton's method.  Two algorithms are implemented: ABLR stacked matrices method and LBJ forward-backward substitution method.
- Linear models are solved with Binder and Pesaran's method, Anderson and More's method and two generalized Schur's method that reproduce calculations employed in Dynare and Iris.
- Non-linear models can be run with time dependents parameters.
- Framework can be used to calibrate models to find model's parameters. Calibration can be run for both linear and nonlinear models.  Framework applies Bayesian approach to maximize likelihood function that incorporates prior beliefs about parameters and goodness of fit of model to the data.
- Framework can sample model parameters by using Markov Chain Monte Carlo affine invariant ensemble sampler algorithm of Jonathan Goodman.
- Framework uses Scientific Python Sparse package for large matrices algebra.
- Following filters were implemented: Kalman (linear and non-linear models), Unscented Kalman, LRX, HP, Bandpass, Particle.  Several versions of Kalman filter and smoother algorithms were developed including diffuse and non-diffuse, multivariate and univariate filters and smoothers.
- As a result of runs Framework generates 1 and 2 dimensional plots and saves data in excel file and in Python sqlite database.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pysnowdrop",
    "maintainer": "Alexei Goumilevski",
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": "Agoumilevski@hotmail.com",
    "keywords": "DSGE, Macroeconomic Modeling",
    "author": "Alexei Goumilevski",
    "author_email": "agoumilevski@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/75/39/eca8fc973ec55c0382a8389bc58d710e574ab3f8dcdf681edee7eb655d87/pysnowdrop-1.0.0.tar.gz",
    "platform": null,
    "description": "# Python Framework for DSGE models\n \n## authors: Alexei Goumilevski and James Otterson\n \n## What it is:\nThis Framework aims to help economists to ease development and run \nof DSGE models in Python environment.\n \n ## How to run:\n - Create or modify existing YAML model file in examples/models folder.\n - Open src/tests/test.py file and set *fname* to the name of this model file.\n - Run simulations by double-clicking on run batch file located under Framework folder.\n\n## Content:\n - Sample model file (see `<examples/models/Toy/JLMP98.yaml>`)\n - Documentation (see `<docs/UserGuide.pdf>`)\n\n## Highlights:\n- Framework is written in Python language and uses only Python libraries that are available by installing Anaconda distribution in Software Center\n- Framework is versatile to parse model  files written in a human readable YAML format, Sirius XML format and to parse simple IRIS and DYNARE model files.\n- Prototype model files are created for non-linear and linear perfect-foresight models.\n- It can be run as a batch process, in a Jupyter notebook, or in a Spyder interactive development environment (Scientific Python Development environment).\n- Framework parses the model file, checks its syntax for errors, and generates Python functions source code.  It computes the Jacobian up to the third order in a symbolic form.\n- Non-linear equations are solved by iterations by Newton's method.  Two algorithms are implemented: ABLR stacked matrices method and LBJ forward-backward substitution method.\n- Linear models are solved with Binder and Pesaran's method, Anderson and More's method and two generalized Schur's method that reproduce calculations employed in Dynare and Iris.\n- Non-linear models can be run with time dependents parameters.\n- Framework can be used to calibrate models to find model's parameters. Calibration can be run for both linear and nonlinear models.  Framework applies Bayesian approach to maximize likelihood function that incorporates prior beliefs about parameters and goodness of fit of model to the data.\n- Framework can sample model parameters by using Markov Chain Monte Carlo affine invariant ensemble sampler algorithm of Jonathan Goodman.\n- Framework uses Scientific Python Sparse package for large matrices algebra.\n- Following filters were implemented: Kalman (linear and non-linear models), Unscented Kalman, LRX, HP, Bandpass, Particle.  Several versions of Kalman filter and smoother algorithms were developed including diffuse and non-diffuse, multivariate and univariate filters and smoothers.\n- As a result of runs Framework generates 1 and 2 dimensional plots and saves data in excel file and in Python sqlite database.\n",
    "bugtrack_url": null,
    "license": "LGPL-3.0-or-later",
    "summary": "Python Platform for DSGE Modeling",
    "version": "1.0.0",
    "project_urls": {
        "Repository": "https://github.com/gumilevskij/Framework.git"
    },
    "split_keywords": [
        "dsge",
        " macroeconomic modeling"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a6416380c9f356e695439253fc7643702bb2b61a920463757c9a2a11d5b9801",
                "md5": "b9a5226fb37c4af5c236c6f4831dbec4",
                "sha256": "a2445bc7f51bf094d7aaf1e5d2587edad81519c8abce05b961b118c5d2c0cfdf"
            },
            "downloads": -1,
            "filename": "pysnowdrop-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b9a5226fb37c4af5c236c6f4831dbec4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 15988819,
            "upload_time": "2025-02-07T04:14:54",
            "upload_time_iso_8601": "2025-02-07T04:14:54.500395Z",
            "url": "https://files.pythonhosted.org/packages/0a/64/16380c9f356e695439253fc7643702bb2b61a920463757c9a2a11d5b9801/pysnowdrop-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7539eca8fc973ec55c0382a8389bc58d710e574ab3f8dcdf681edee7eb655d87",
                "md5": "75302cbd2e23233c6058c98b2ee706b8",
                "sha256": "b5fdf08a0b49e9f4e4185afb88393bfc5355c41e7a89053e42a99543ed5f8307"
            },
            "downloads": -1,
            "filename": "pysnowdrop-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "75302cbd2e23233c6058c98b2ee706b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 15865182,
            "upload_time": "2025-02-07T04:15:08",
            "upload_time_iso_8601": "2025-02-07T04:15:08.146388Z",
            "url": "https://files.pythonhosted.org/packages/75/39/eca8fc973ec55c0382a8389bc58d710e574ab3f8dcdf681edee7eb655d87/pysnowdrop-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-07 04:15:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gumilevskij",
    "github_project": "Framework",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pysnowdrop"
}
        
Elapsed time: 1.06750s