Skip to main content

Multivariate Covariance Generalized Linear Models

Project description

Multivariate Covariance Generalized Linear Models

https://pypi.org/project/mcglm/

The mcglm package brings to python language one of the most powerful extensions to GLMs(Nelder, Wedderburn; 1972), the Multivariate Covariance Generalized Linear Models(Bonat, Jørgensen; 2016).

The GLMs have consolidated as a unified statistical model for analyzing non-gaussian independent data throughout the years. Notwithstanding enhancements to Linear Regression Models(Gauss), some key assumptions, such as the independence of components in the response, each element of the target belonging to an exponential dispersion family maintains.

MCGLM aims to expand the GLMs by allowing fitting on a wide variety of inner-dependent datasets, such as spatial and longitudinal, and supplant the exponential dispersion family output by second-moment assumptions(Wedderburn; 1974)

https://jeancmaia.github.io/posts/tutorial-mcglm/tutorial_mcglm.html


The mcglm python package follows the standard pattern of the statsmodels library and aims to be another API on the package. Therefore, Python machine learning practitioners will be very familiar with this new statistical model.

To install this package, use

pip install mcglm

Tutorial MCGLM instills on the library usage by a wide-variety of examples(https://jeancmaia.github.io/posts/tutorial-mcglm/tutorial_mcglm.html). The following code snippet shows the model fitting for a Gaussian regression analysis.

modelresults = MCGLM(endog=y, exog=X).fit()

modelresults.summary()

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

mcglm-0.2.4.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

mcglm-0.2.4-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file mcglm-0.2.4.tar.gz.

File metadata

  • Download URL: mcglm-0.2.4.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/5.15.11-76051511-generic

File hashes

Hashes for mcglm-0.2.4.tar.gz
Algorithm Hash digest
SHA256 884435a06c22f4ad74518f30ac97c1bc36fe26b2a998bdd262238774dba9a749
MD5 5da0701e87176ed47d358544043980a8
BLAKE2b-256 cfa3b7af9347d288a7f6060234995e612256ab2b72f28cdfae19f804c8ba50e0

See more details on using hashes here.

Provenance

File details

Details for the file mcglm-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: mcglm-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/5.15.11-76051511-generic

File hashes

Hashes for mcglm-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b08ae3738467e0cf0ed269e4c5125e4fc4af41cd96d992547903fc7505c8f16
MD5 00088db22baa110622d26c7dcb09a09a
BLAKE2b-256 81210567ad6f6fae8b68c778d34cfb4692e77c645678950d8596adade001af90

See more details on using hashes here.

Provenance

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