Panel regression simultaneously solving for ARIMA/GARCH and random/fixed effects.
Project description
Paneltime is a statistical tool for estimating regressions on datasets that:
- Are panels (have both a time and a group dimension)
- Are non-stationary in means (ARIMA)
- Are non-stationary in variance (GARCH)
Unlike any other statistical tool currently available, Paneltime simultaneously handles common timeseries problems (ARIMA/GARCH) and panel data sets consisting of several groups/individuals (random/fixed effects).
The package can also be used on pure panel data sets without ARIMA/GARCH or single time series data with ARIMA/GARCH problems.
Author: Espen Sirnes
Current version: 1.2.68
Installation
"pip install paneltime" for installation
Usage
Datasets are estimated with
paneltime.execute(model_string, dataframe, T,
ID=None, HF=None,
instruments=None)
It takes the following arguments:
model_string: A string on the form 'Y ~ X1 + X2 + X3', where Y is the dependent and X1-X3 are the independents, as named in the dataframe (required)dataframe: a dataframe consisting of variables with the names used inmodel_string(required)T: the time identifier (required)ID: The group identifier (optional)HF: list with names of heteroskedasticity factors (optional)instruments: list with names of instruments (optional)
The model string
The model string can contain operations supported by the numpy package, using np as alias for numpy. For example np.abs(x) will result in a
variable that is the absolute value of x.
Example using world bank data
{{< include example.py >}}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paneltime-1.2.69.tar.gz.
File metadata
- Download URL: paneltime-1.2.69.tar.gz
- Upload date:
- Size: 8.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f00157da647fd2836d9811aaea9d76920c3dbcbbdd1e161608a27183ad4aaa
|
|
| MD5 |
e60fa5d4fe1819920747f0cf4a1be14c
|
|
| BLAKE2b-256 |
ddec19b81835c32b204e3da47b1416cf55ca3b96b86e8c40878b086636121904
|
File details
Details for the file paneltime-1.2.69-py3-none-any.whl.
File metadata
- Download URL: paneltime-1.2.69-py3-none-any.whl
- Upload date:
- Size: 8.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c79aca65efe858cf7ac480ff6b2759d0a615c241440c6be216459d534837737
|
|
| MD5 |
07a5396630a395e72886afec991a6766
|
|
| BLAKE2b-256 |
193ad99a3c16ca0a6464906d7e1382006def9b28e825e3cde4cd1c816069b1e2
|