Powermean
Powermean is a Python package for fitting power-mean regressions and estimating proportional effects. It implements the framework of Benatia et al. (2026), Dealing with Logs and Zeros in Regression Models, including exponential conditional-mean models and log-linear regressions. With pm.fit, choose the conditional mean and the working variance separately, model outcomes in levels with observed zeros, and report proportional effects with confidence intervals. Paper
Estimate multiple high-dimensional fixed-effect blocks jointly, or cancel a selected block while retaining the others. Powermean provides bias corrections that address the incidental-parameters problem in short panels and three-way gravity models. The same formula interface takes you from a simple conditional-mean regression to three-way gravity and nonlinear difference-in-differences.
Use estimator="gmm1" or "gmm2" to difference out two fixed-effect blocks
on complete panels or directed dyad arrays. Use fit.predict() for fitted
means, fit.predict(type="residual") for residuals, and
fit.predict(type="fixed_effects") for fixed effects. Cancelled and two-way
GMM fits recover their missing effects after estimation. Fixed-effect fits
support replacement covariates on the retained rows.
python -m pip install "powermean>=0.1.1"
Use Python 3.12 or later. The release provides native wheels for CPython 3.12–3.14 on Linux, macOS, and Windows for x86-64 and ARM64.
User guide · Function index · Gravity walkthrough · Nonlinear DiD · Two-way GMM · Prediction
Metadata
Release files for powermean 0.1.1
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 |
|---|---|---|---|---|
| powermean-0.1.1.tar.gz | 4.4 MB | With provenance | Details for powermean-0.1.1.tar.gz |
Built distributions (wheels)
Total release size: 46.3 MB
Release files / powermean-0.1.1.tar.gz
| Download URL | powermean-0.1.1.tar.gz |
|---|---|
| Size | 4.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99fa65d9601b080bc44b53eef0e8b16b439a4606f1db66096bb1c28bd3b5101a
|
|
BLAKE2b-256 checksum How to use checksums |
6fdfda9c302c0708d14a51d3a5586aa0442ea037dd019a00f0a01b81e7b2d3b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp314-cp314-win_arm64.whl
| Download URL | powermean-0.1.1-cp314-cp314-win_arm64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.14 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
22e5c2b771695a41ebaa84459b19af117c0f87603f448ae677188c52c3a5caad
|
|
BLAKE2b-256 checksum How to use checksums |
1d820c0aee1f0c17f285b84d228eb5f2f490ef0a1fd8109a6391845390fff34c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp314-cp314-win_amd64.whl
| Download URL | powermean-0.1.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
481de3820e49fbe4aefbb0c9cd42e1f44e5c78537d93a713ce17b1d223700e51
|
|
BLAKE2b-256 checksum How to use checksums |
b739d0675dde3349d33477cfb7e71cb0e91227fa6296a67f48fff7f9fe1d1ce9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | powermean-0.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
92cbc2bb65e2ac8eb666be1d4559368e0ab00166c0e2e2a48dc05f9da542d5d7
|
|
BLAKE2b-256 checksum How to use checksums |
fb37027719e0dab0c30d4bd1f2ac8d708c78971267bb5f9278ef4694b978d14c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | powermean-0.1.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
7c5a5cf6c6fa5c92ce109674cc02e831c7a011504f7a768231ba748a3a3ce455
|
|
BLAKE2b-256 checksum How to use checksums |
dc729f30ef2a9b4adb5944e3837a3d5f9b83231490c1dbb99cfc2b5fb989a815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp314-cp314-macosx_15_0_x86_64.whl
| Download URL | powermean-0.1.1-cp314-cp314-macosx_15_0_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.14 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
e45465275cf2d0906e65ab9776833fc698a11ac0f017a22b811d727e43c31030
|
|
BLAKE2b-256 checksum How to use checksums |
8f1a5ba77dbeb06af41c552ba1546a5d4315984a1ca529c58f8beada2069992f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | powermean-0.1.1-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dd2661f398f404374502279f5fba7c5d26f4e28760ef47503c98a9d5c663914a
|
|
BLAKE2b-256 checksum How to use checksums |
01e53c1527bd2a5ee5bde0b220776ec22e538b445a28754cde1edf25077f2f75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp313-cp313-win_arm64.whl
| Download URL | powermean-0.1.1-cp313-cp313-win_arm64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.13 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
85c2815dd2d4b9a0bd1022b7802c15ea2749c48c8d973283ea2853c4f6dc3373
|
|
BLAKE2b-256 checksum How to use checksums |
1955b95b226ee7208dc0c6f6daa32ea791fe1c479976abae78594ec5c4ffa75a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp313-cp313-win_amd64.whl
| Download URL | powermean-0.1.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
01b800d65aac8cd10b3f111b836efd257c47f165a4dd3dd078388481c8534f69
|
|
BLAKE2b-256 checksum How to use checksums |
230ccacb7fe52505abf4a5a46ce6a6cd5b4ffac4ecf79783a7e942efc07fcbad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | powermean-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
46257a3c63d56bb683a647a94829fdb46d3ba7c1c485d163b29ac934f6bd9b9d
|
|
BLAKE2b-256 checksum How to use checksums |
5869805b7a610a33ee693bb01672f493886b741df502cc7d655fd30eb7e82e68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | powermean-0.1.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
662e648f4e3f7d88875f5a81fe0ff5107a48a15a9102dc73f98c3d4f8cb03459
|
|
BLAKE2b-256 checksum How to use checksums |
7b22c362f4a23790ace40f4ebfc2a2c89d65786651a6e92ad40197e9b1eb541a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp313-cp313-macosx_15_0_x86_64.whl
| Download URL | powermean-0.1.1-cp313-cp313-macosx_15_0_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.13 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
8e496de2a94c3634e7172bc7f263cdbb63ef7e0ae0232b838f40679fea45a745
|
|
BLAKE2b-256 checksum How to use checksums |
a2b3d928a4af3da83a462e4a77b30d7f582c91b81323029053fab0317ea2d5fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | powermean-0.1.1-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e1aa26e35912fd4d6d72a9c29251cf0439bf71335e691396b333c8c2c9ccc497
|
|
BLAKE2b-256 checksum How to use checksums |
a416c9c1003c5f631c00cf740dbf01835b193b953852b946243dbe9449dbd693
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp312-cp312-win_arm64.whl
| Download URL | powermean-0.1.1-cp312-cp312-win_arm64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.12 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
22b16fa0e5af4e7e171712450ec8f34a4b10e0ce88d5e157fcf98698b289b3bb
|
|
BLAKE2b-256 checksum How to use checksums |
b9d4205bebbe7e827f81f3137c7349655e9a921ff73588061c9e25a48420b5fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp312-cp312-win_amd64.whl
| Download URL | powermean-0.1.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
aa7e93828a48a26233d835cfbb98991885bbe25987097aea7237c34ddc9f522d
|
|
BLAKE2b-256 checksum How to use checksums |
924f818f4d46ebac109cfa0223ee26e25c36ea2c51ee352d93164a8a1b3cbe08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | powermean-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2b3fc739adca2dce9308670bc557eed9d934f41a52557b07b670858d3e97e276
|
|
BLAKE2b-256 checksum How to use checksums |
d81f33c5bd38e3fa3867f2007fa7ab9bc9039d7b4856f539eebf2f8877c20bca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | powermean-0.1.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
496e8d1c0eb47e46ed2b5bd617aacad939d4db77125fb76f11b528c0889d98f6
|
|
BLAKE2b-256 checksum How to use checksums |
597b2027fdf71eb70d8a18ff2ac9dc8f692fe32e1fb771b5837fc23249da2b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp312-cp312-macosx_15_0_x86_64.whl
| Download URL | powermean-0.1.1-cp312-cp312-macosx_15_0_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
11ec571230c70cd09ae588eec3352454cb6d49d17a5d8e59df8ba446a38cf942
|
|
BLAKE2b-256 checksum How to use checksums |
ff1177b904448cd2fec47ecc791d3f7457e513a6bd5265d1b5c75d94aeef6fed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / powermean-0.1.1-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | powermean-0.1.1-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b05c6a2bc0bad7f681d66d94b9c06d07f2432223fb9e96a4b631d2258252f588
|
|
BLAKE2b-256 checksum How to use checksums |
b9e7bd9606a76e8514d36ea0ad6d60c5910ecf16d78999a89ee3beb88a9ca30d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for powermean 0.1.1
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.
Full provenance
All 19 files in this release have been uploaded with provenance metadata.
Attestation for powermean-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA 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.