PriceIndexCalc


NamePriceIndexCalc JSON
Version 0.7 PyPI version JSON
download
home_pagehttps://github.com/drrobotk/PriceIndexCalc
SummaryPrice Index Calculator using bilateral and multilateral methods
upload_time2023-10-07 23:29:55
maintainer
docs_urlNone
authorDr. Usman Kayani
requires_python>=3.7.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PriceIndexCalc

Calculate bilateral and multilateral price indices in Python using vectorized methods Pandas or PySpark. These index methods are being used or currently being implemented by many statistical agencies around the world to calculate price indices e.g the Consumer Price Index (CPI). Multilateral methods can use a specified number of time periods to calculate the resulting price index; the number of time-periods used by multilateral methods is commonly defined as a “window length”. 

<img src="https://user-images.githubusercontent.com/51001263/164988385-855ceecf-a5e0-4073-8239-cb1f2304d244.png" width="30%" />

Bilateral methods supported: Carli, Jevons, Dutot, Laspeyres, Paasche, Lowe, geometric Laspeyres, geometric Paasche, Drobish, Marshall-Edgeworth, Palgrave, Fisher, Tornqvist, Walsh, Sato-Vartia, Geary-Khamis, TPD and Rothwell.

Multilateral methods supported: GEKS paired with a bilateral method (e.g GEKS-T aka CCDI), Time Product Dummy (TPD), Time Dummy Hedonic (TDH), Geary-Khamis (GK) method. 

Multilateral methods simultaneously make use of all data over a given time period. The use of multilateral methods for calculating temporal price indices is relatively new internationally, but these methods have been shown to have some desirable properties relative to their bilateral method counterparts, in that they account for new and disappearing products (to remain representative of the market) while also reducing the scale of chain-drift. 

### Directory layout:
    .
    ├── pandas_modules                    # Pandas modules
    │   ├── index_methods.py         
    │   ├── chaining.py
    │   ├── extension_methods.py    # New timeseries extension methods (experimental)                 
    │   ├── helpers.py             
    │   ├── bilateral.py            
    │   ├── multilateral.py
    |   └── weighted_least_squares.py                 
    ├── pyspark_modules                    # PySpark modules (experimental)
    │   ├── index_methods.py              
    │   ├── chaining.py             
    │   ├── helpers.py             
    │   ├── multilateral.py
    |   └── weighted_least_squares.py
    └── README.md

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/drrobotk/PriceIndexCalc",
    "name": "PriceIndexCalc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.1",
    "maintainer_email": "",
    "keywords": "",
    "author": "Dr. Usman Kayani",
    "author_email": "usman.kayaniphd@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d8/ee/fd6b0ba186c90050f65e3fa60ae642b62fd122a649a59154ac058c13aa35/PriceIndexCalc-0.7.tar.gz",
    "platform": null,
    "description": "# PriceIndexCalc\r\n\r\nCalculate bilateral and multilateral price indices in Python using vectorized methods Pandas or PySpark. These index methods are being used or currently being implemented by many statistical agencies around the world to calculate price indices e.g the Consumer Price Index (CPI). Multilateral methods can use a specified number of time periods to calculate the resulting price index; the number of time-periods used by multilateral methods is commonly defined as a \u201cwindow length\u201d. \r\n\r\n<img src=\"https://user-images.githubusercontent.com/51001263/164988385-855ceecf-a5e0-4073-8239-cb1f2304d244.png\" width=\"30%\" />\r\n\r\nBilateral methods supported: Carli, Jevons, Dutot, Laspeyres, Paasche, Lowe, geometric Laspeyres, geometric Paasche, Drobish, Marshall-Edgeworth, Palgrave, Fisher, Tornqvist, Walsh, Sato-Vartia, Geary-Khamis, TPD and Rothwell.\r\n\r\nMultilateral methods supported: GEKS paired with a bilateral method (e.g GEKS-T aka CCDI), Time Product Dummy (TPD), Time Dummy Hedonic (TDH), Geary-Khamis (GK) method. \r\n\r\nMultilateral methods simultaneously make use of all data over a given time period. The use of multilateral methods for calculating temporal price indices is relatively new internationally, but these methods have been shown to have some desirable properties relative to their bilateral method counterparts, in that they account for new and disappearing products (to remain representative of the market) while also reducing the scale of chain-drift. \r\n\r\n### Directory layout:\r\n    .\r\n    \u251c\u2500\u2500 pandas_modules                    # Pandas modules\r\n    \u2502   \u251c\u2500\u2500 index_methods.py         \r\n    \u2502   \u251c\u2500\u2500 chaining.py\r\n    \u2502   \u251c\u2500\u2500 extension_methods.py    # New timeseries extension methods (experimental)                 \r\n    \u2502   \u251c\u2500\u2500 helpers.py             \r\n    \u2502   \u251c\u2500\u2500 bilateral.py            \r\n    \u2502   \u251c\u2500\u2500 multilateral.py\r\n    |   \u2514\u2500\u2500 weighted_least_squares.py                 \r\n    \u251c\u2500\u2500 pyspark_modules                    # PySpark modules (experimental)\r\n    \u2502   \u251c\u2500\u2500 index_methods.py              \r\n    \u2502   \u251c\u2500\u2500 chaining.py             \r\n    \u2502   \u251c\u2500\u2500 helpers.py             \r\n    \u2502   \u251c\u2500\u2500 multilateral.py\r\n    |   \u2514\u2500\u2500 weighted_least_squares.py\r\n    \u2514\u2500\u2500 README.md\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Price Index Calculator using bilateral and multilateral methods",
    "version": "0.7",
    "project_urls": {
        "Homepage": "https://github.com/drrobotk/PriceIndexCalc"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be4253bb938a34e9abbca27ece6ad6597cb3f171be301aa3e924a80b590450c9",
                "md5": "9d3a96678bd05c6236ebee220f392e72",
                "sha256": "1f9c8cd7006c3c89a0c9f6d4561c046b9d935d0868726151f29d45c2d0f4194e"
            },
            "downloads": -1,
            "filename": "PriceIndexCalc-0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9d3a96678bd05c6236ebee220f392e72",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.1",
            "size": 27565,
            "upload_time": "2023-10-07T23:29:52",
            "upload_time_iso_8601": "2023-10-07T23:29:52.608886Z",
            "url": "https://files.pythonhosted.org/packages/be/42/53bb938a34e9abbca27ece6ad6597cb3f171be301aa3e924a80b590450c9/PriceIndexCalc-0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8eefd6b0ba186c90050f65e3fa60ae642b62fd122a649a59154ac058c13aa35",
                "md5": "d1854c8553d1565687e4fc5b99ccecd5",
                "sha256": "2d4034d94ce5493bc8e917eb024ae35124732ca421d0efd1b30ade58c450ec09"
            },
            "downloads": -1,
            "filename": "PriceIndexCalc-0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "d1854c8553d1565687e4fc5b99ccecd5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.1",
            "size": 22973,
            "upload_time": "2023-10-07T23:29:55",
            "upload_time_iso_8601": "2023-10-07T23:29:55.852668Z",
            "url": "https://files.pythonhosted.org/packages/d8/ee/fd6b0ba186c90050f65e3fa60ae642b62fd122a649a59154ac058c13aa35/PriceIndexCalc-0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-07 23:29:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "drrobotk",
    "github_project": "PriceIndexCalc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "priceindexcalc"
}
        
Elapsed time: 0.12632s