Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ data/*.xls
data/*.xlsx
causal_testing_framework
.idea
.venv
.DS_Store
*/.DS_Store
# Byte-compiled / optimized / DLL files
Expand Down
2 changes: 1 addition & 1 deletion causal_testing/estimation/abstract_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(
control_value: float,
adjustment_set: set,
df: pd.DataFrame = None,
effect_modifiers: dict[str:Any] = None,
effect_modifiers: dict[str, Any] = None,
alpha: float = 0.05,
query: str = "",
):
Expand Down
2 changes: 1 addition & 1 deletion causal_testing/estimation/abstract_regression_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
control_value: float,
adjustment_set: set,
df: pd.DataFrame = None,
effect_modifiers: dict[Variable:Any] = None,
effect_modifiers: dict[Variable, Any] = None,
formula: str = None,
alpha: float = 0.05,
query: str = "",
Expand Down
2 changes: 1 addition & 1 deletion causal_testing/estimation/cubic_spline_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
adjustment_set: set,
basis: int,
df: pd.DataFrame = None,
effect_modifiers: dict[Variable:Any] = None,
effect_modifiers: dict[Variable, Any] = None,
formula: str = None,
alpha: float = 0.05,
expected_relationship=None,
Expand Down
4 changes: 2 additions & 2 deletions causal_testing/estimation/experimental_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def __init__(
base_test_case: BaseTestCase,
treatment_value: float,
control_value: float,
adjustment_set: dict[str:Any],
effect_modifiers: dict[str:Any] = None,
adjustment_set: dict[str, Any],
effect_modifiers: dict[str, Any] = None,
alpha: float = 0.05,
repeats: int = 200,
):
Expand Down
2 changes: 1 addition & 1 deletion causal_testing/estimation/linear_regression_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(
control_value: float,
adjustment_set: set,
df: pd.DataFrame = None,
effect_modifiers: dict[Variable:Any] = None,
effect_modifiers: dict[Variable, Any] = None,
formula: str = None,
alpha: float = 0.05,
query: str = "",
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dev = [
"myst-parser",
"sphinx-autoapi",
"sphinx_rtd_theme",
"tqdm",
]
test = [
"covasim~=3.0.7",
Expand Down