Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
eb9ee44
very initial MVP
drbenvincent Nov 3, 2025
c530e03
Add notebook to the docs page so it will now render in the docs build
drbenvincent Nov 3, 2025
3438409
change example + add cell tags
drbenvincent Nov 3, 2025
803b076
add properly formatted reference section
drbenvincent Nov 3, 2025
659b502
Refactor transform strategy and add parameter estimation
drbenvincent Nov 3, 2025
ec98c8a
Improve TF-ITS docs and parameter estimation details
drbenvincent Nov 4, 2025
2d31504
get tests passing
drbenvincent Nov 4, 2025
bd9a1ff
fix doctest errors
drbenvincent Nov 4, 2025
fc5e6ce
Clarify HAC standard errors in docs and code
drbenvincent Nov 4, 2025
7e18225
Add section on autocorrelation and HAC standard errors
drbenvincent Nov 4, 2025
8f37426
move reference section to the bottom where it should be
drbenvincent Nov 5, 2025
aa071ab
Add ARIMAX error model support to TransferFunctionITS
drbenvincent Nov 5, 2025
4889f72
refactor into causalpy class structure (not updated notebook yet)
drbenvincent Nov 5, 2025
0b5535a
Refactor graded intervention ITS to use unfitted model pattern
drbenvincent Nov 5, 2025
61bc7fe
Add plotting utilities and improve docs for transfer function ITS
drbenvincent Nov 6, 2025
4ebd026
fix error that was making doctests fail
drbenvincent Nov 6, 2025
5b29ce7
re-brand to graded intervention time series
drbenvincent Nov 6, 2025
f74e7f5
remove implementation summary
drbenvincent Nov 6, 2025
f37eef9
minor docs updates
drbenvincent Nov 6, 2025
bfce5c6
minor restructure of notebook for clarity, readability, and flow
drbenvincent Nov 6, 2025
48193ee
more tests to address failing code coverage check
drbenvincent Nov 6, 2025
75767a7
add to complexity/realism of simulated data
drbenvincent Nov 6, 2025
9f4322d
add mention of multiple treatments + citation
drbenvincent Nov 7, 2025
e25ee24
add reference + citation to helfenstein1991use
drbenvincent Nov 7, 2025
11e5610
change notebook title
drbenvincent Nov 7, 2025
2a5f77c
update wording around transfer functions
drbenvincent Nov 7, 2025
f79ec55
update wording around error model
drbenvincent Nov 7, 2025
1130aa6
minot formatting updates
drbenvincent Nov 7, 2025
d6151ec
same basic structure for each of the modelling sections
drbenvincent Nov 7, 2025
49c6986
rerun notebook
drbenvincent Nov 7, 2025
a058d93
Support adstock-only and saturation-only transfer functions
drbenvincent Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion causalpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,48 @@

from .data import load_data
from .experiments.diff_in_diff import DifferenceInDifferences
from .experiments.graded_intervention_its import GradedInterventionTimeSeries
from .experiments.instrumental_variable import InstrumentalVariable
from .experiments.interrupted_time_series import InterruptedTimeSeries
from .experiments.inverse_propensity_weighting import InversePropensityWeighting
from .experiments.prepostnegd import PrePostNEGD
from .experiments.regression_discontinuity import RegressionDiscontinuity
from .experiments.regression_kink import RegressionKink
from .experiments.synthetic_control import SyntheticControl
from .transforms import (
AdstockTransform,
DiscreteLag,
GeometricAdstock,
HillSaturation,
LagTransform,
LogisticSaturation,
MichaelisMentenSaturation,
SaturationTransform,
Treatment,
)

__all__ = [
"__version__",
"DifferenceInDifferences",
"AdstockTransform",
"create_causalpy_compatible_class",
"DifferenceInDifferences",
"DiscreteLag",
"GeometricAdstock",
"GradedInterventionTimeSeries",
"HillSaturation",
"InstrumentalVariable",
"InterruptedTimeSeries",
"InversePropensityWeighting",
"LagTransform",
"load_data",
"LogisticSaturation",
"MichaelisMentenSaturation",
"PrePostNEGD",
"pymc_models",
"RegressionDiscontinuity",
"RegressionKink",
"SaturationTransform",
"skl_models",
"SyntheticControl",
"Treatment",
]
Loading