Skip to content

Commit 7d7ce45

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b2dcd75 commit 7d7ce45

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Biomedical/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ before_treatment = [145, 142, 138, 150, 155, 148, 152, 160]
9090
after_treatment = [140, 138, 135, 145, 148, 142, 147, 152]
9191

9292
w_stat, p_value, stats = wilcoxon_signed_rank_test(
93-
before_treatment,
94-
after_treatment,
93+
before_treatment,
94+
after_treatment,
9595
alternative="greater" # one-sided: treatment reduces BP
9696
)
9797

@@ -101,7 +101,7 @@ print(f"Effect size: {stats['effect_size']:.3f}")
101101

102102
# Visualize results
103103
plot_wilcoxon_results(
104-
before_treatment,
104+
before_treatment,
105105
after_treatment,
106106
("Before Treatment", "After Treatment"),
107107
"Blood Pressure Reduction Study"
@@ -112,7 +112,7 @@ treatment_group = [85, 88, 90, 92, 95, 98, 100]
112112
control_group = [78, 80, 82, 85, 87, 89, 91]
113113

114114
u_stat, p_value, stats = mann_whitney_u_test(
115-
treatment_group,
115+
treatment_group,
116116
control_group,
117117
alternative="greater" # treatment > control
118118
)
@@ -180,7 +180,7 @@ else:
180180

181181
### P-value Interpretation
182182
- **p < 0.001**: Very strong evidence against null hypothesis
183-
- **p < 0.01**: Strong evidence against null hypothesis
183+
- **p < 0.01**: Strong evidence against null hypothesis
184184
- **p < 0.05**: Moderate evidence against null hypothesis
185185
- **p ≥ 0.05**: Insufficient evidence to reject null hypothesis
186186

0 commit comments

Comments
 (0)