pyemmeans
pyemmeans is a Python rewrite of core emmeans workflows for estimated marginal means (EMMs), contrasts, trends, and post-hoc inference.
Install
pip install pyemmeans
Quick Start
from pyemmeans import emmeans, pairs, ref_grid
# `fit` can be a supported statsmodels model result
rg = ref_grid(fit)
emm = emmeans(rg, "treatment")
print(emm.summary())
print(pairs(emm).summary(infer=(False, True)))
Highlights
- Core EMM APIs:
ref_grid,emmeans,contrast,pairs,summary,confint,test - Trend and joint testing support:
emtrends,joint_tests - Multiple weight modes in
emmeans(..., weights=...) - Parity-oriented tests against R fixtures
Project Notes
This package is a parity-oriented Python implementation inspired by the R emmeans ecosystem.
Authorship and Attribution
- Python rewrite author: Tuo Zhao (
tourzhao@gatech.edu) - Original R
emmeanspackage: developed by its R authors and contributors - Full attribution details are included in
AUTHORS.mdin the source distribution.
Metadata
Release files for pyemmeans 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyemmeans-0.1.0.tar.gz | 56.2 kB | Without provenance | Details for pyemmeans-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyemmeans-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyemmeans-0.1.0-py3-none-any.whl |
Total release size: 115.5 kB
Release files / pyemmeans-0.1.0.tar.gz
| Download URL | pyemmeans-0.1.0.tar.gz |
|---|---|
| Size | 56.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55da1ee021322f739ccbdb77fcbed258dbf5aa707ba59914355670ae50de9f91
|
|
BLAKE2b-256 checksum How to use checksums |
2ec2a5130a8a1a938e62d760360a6585973966cdb813518dfadd3ba5c0281546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / pyemmeans-0.1.0-py3-none-any.whl
| Download URL | pyemmeans-0.1.0-py3-none-any.whl |
|---|---|
| Size | 59.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97848a75f3093e3bc33409c781166dc78fa146282b03a00a50beac8ff6d6f97c
|
|
BLAKE2b-256 checksum How to use checksums |
ad5e977ad99ec5ed3d14b46438dc782d2e6ccd741dbcfc1fb2c8d3f75a7fdcb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for pyemmeans 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.