panelmed 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ build/
4
+ dist/
5
+ *.egg-info/
6
+ .pytest_cache/
7
+ .venv/
8
+ .ipynb_checkpoints/
9
+ .coverage
10
+ _SOURCES_NEEDED.md
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ ## [0.1.0] - 2026-11-09
4
+
5
+ ### Added
6
+ - DML-GMM estimator of the panel mediation model with two-way fixed effects
7
+ (Wu and Xiao, 2026, Algorithm 1): cross-fitting with an auxiliary fold,
8
+ penalised IV first stages, lagged residual instruments, stacked GMM.
9
+ - Level effects (CDE, NDE, NIE, TE) and derivative effects (CDD, NDD, NID, TD)
10
+ with influence-function standard errors and joint Wald tests.
11
+ - Cross-sectional bootstrap of the whole procedure.
12
+ - Naive-GMM benchmark, two-step GMM with the Hansen J test, mediated share with
13
+ delta-method standard errors, paired comparison of specifications.
14
+ - Text, LaTeX, Markdown and HTML tables; coefficient, decomposition, profile,
15
+ dose-response, surface and moment-diagnostic figures.
16
+ - Monte Carlo data generator of the paper.
@@ -0,0 +1,22 @@
1
+ cff-version: 1.2.0
2
+ title: "panelmed: causal mediation analysis for panel data with double/debiased machine learning"
3
+ message: "If you use this software, please cite it and the original paper."
4
+ authors:
5
+ - family-names: Roudane
6
+ given-names: Merwan
7
+ email: merwanroudane920@gmail.com
8
+ version: 0.1.0
9
+ date-released: "2026-11-09"
10
+ url: "https://github.com/merwanroudane/panelmed"
11
+ license: MIT
12
+ references:
13
+ - type: article
14
+ authors:
15
+ - family-names: Wu
16
+ given-names: Peikai
17
+ - family-names: Xiao
18
+ given-names: Zhiguo
19
+ title: "Causal Mediation Analysis for Panel Data with Double/Debiased Machine Learning"
20
+ journal: "arXiv preprint arXiv:2610.21339"
21
+ year: 2026
22
+ doi: "10.48550/arXiv.2610.21339"
panelmed-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Merwan Roudane
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.