A Python package to implement the Quantile Transformation Regression.
Project description
qtregpy
This package provides the software tools to implement Quantile Transformation Regression introduced in Spady and Stouli (2020).
With the tools in this package it is possible to obtain inference and estimation results for conditional distribution, quantile and density functions implied by flexible Gaussian representations.
For further details, please refer to the original text.
Installation
You can install gtregpy with pip directly from PyPI.
pip install qtregpy
Usage
Here's a simple example of how to use gtregpy:
import qtregpy as qtr
mel_data_path = 'filepath/melbeourne.csv'
x, y = qtr.load_mel_data(mel_data_path)
mel_answer = qtr.compute_basic(x, y)
Documentation
You can find more detailed documentation for each function in docstrings.
Testing
To run the tests, use the following command:
pytest tests/
Contributing
We welcome contributions! Please see the Contribution Guide file for details on how to contribute.
License
This package is licensed under the MIT license. See the LICENSE file for details.
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
Built Distribution
File details
Details for the file qtregpy-0.1.2.tar.gz
.
File metadata
- Download URL: qtregpy-0.1.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d43797679542f1a3331cdf3887e43388551be6bfda31cb7f2c77278f2083d5 |
|
MD5 | 7a58a93b514e17914d2fd25c3aec70a4 |
|
BLAKE2b-256 | c7de04b0818dbf894b562fda5d16827d9a2efff3468358a9d41ea22e83d2805b |
File details
Details for the file qtregpy-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: qtregpy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b59df9fdff6e0de7fa182790ea576e539d272a05b5303bf87f95970a217281 |
|
MD5 | f65f54a5eae50c4bdc321a54c806e5e4 |
|
BLAKE2b-256 | c7d2cb191b96ba1e15801979e527ea318a7142e6c477c32d7c86d81abc530d47 |