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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcglm-0.2.2.tar.gz
  • Upload date:
  • Size: 22.0 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.2.tar.gz
Algorithm Hash digest
SHA256 e73b64909bcb76510c5b9fa521f776626530e6c02b0615890a3596bcd0c88faf
MD5 3dde596ad4681ec426d9fcfd42b3dcc6
BLAKE2b-256 a056836b1e885d40dc3860683d3ed1e3aa640f1c96e599c70dee7d1b4acbc928

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mcglm-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f84fec826fce415767d723798776cb2b84b54393b175b2948b6714b491fc706f
MD5 ea848d04397a7aab27649f291aca6a5e
BLAKE2b-256 a0823c7ddd8af608ab3221f472473f066cbd8bcb101fecc673ae360d05884af6

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