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.3.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

mcglm-0.2.3-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcglm-0.2.3.tar.gz
  • Upload date:
  • Size: 22.1 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.3.tar.gz
Algorithm Hash digest
SHA256 59da986fb497c3e7bbe0f5ff1006f060f379115f5c19a3a3f16e2d1af8176e0f
MD5 dd8ebf6c337c4d8669e2c1673b4e8438
BLAKE2b-256 663799ad4bbb6ddf4a00dcebc0fd3e62c253b27ac2fbce8db9957775f8d7e42d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mcglm-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 23.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6d13631c524a1cab1dd0dca0bb1367929797270d019db8296796b06668026478
MD5 abaf1ebad5227bf5ca7197602ec2f7bb
BLAKE2b-256 383f9c060dc9f9ca3d4ee7eea9826ba2736aa6f1d4d088cb71706192aff67ef4

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