Skip to content

Commit 5145d36

Browse files
committed
black
1 parent 7867238 commit 5145d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causal_testing/testing/validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from scipy.stats import t
55
from statsmodels.regression.linear_model import RegressionResultsWrapper
66

7-
class CausalValidator:
87

8+
class CausalValidator:
99
def estimate_robustness(self, model: RegressionResultsWrapper, q=1, alpha=1):
1010
"""Calculate the robustness of a linear regression model. This allow
1111
the user to identify how large an unidentified confounding variable
@@ -52,4 +52,4 @@ def estimate_e_value(
5252
upper_limit_prime = 1 / upper_limit
5353
upper_limit = upper_limit_prime + math.sqrt(upper_limit_prime * (upper_limit_prime - 1))
5454

55-
return (e, (1, upper_limit))
55+
return (e, (1, upper_limit))

0 commit comments

Comments
 (0)