Skip to main content

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

qtregpy-0.1.2.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

qtregpy-0.1.2-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

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