Skip to content

Commit e3c184f

Browse files
committed
Revert "Revert "Revert "temporary change to utils for this analysis only"""
This reverts commit 4fc56d3.
1 parent 3b2b659 commit e3c184f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tlo/analysis/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def compute_summary_statistics(
363363
results: pd.DataFrame,
364364
central_measure: Union[Literal["mean", "median"], None] = None,
365365
width_of_range: float = 0.95,
366-
use_standard_error: bool = True,
366+
use_standard_error: bool = False,
367367
only_central: bool = False,
368368
collapse_columns: bool = False,
369369
) -> pd.DataFrame:
@@ -414,7 +414,6 @@ def compute_summary_statistics(
414414
stats["lower"] = stats['central'] - z_value * std_error
415415
stats["upper"] = stats['central'] + z_value * std_error
416416

417-
# summary = pd.concat(stats, axis=1).stack(level=1) # move cause from column to index
418417
summary = pd.concat(stats, axis=1)
419418
summary.columns = summary.columns.swaplevel(1, 0)
420419
summary.columns.names = ['draw', 'stat']

0 commit comments

Comments
 (0)