Skip to content

voiage.cli.calculate_heterogeneity

calculate_heterogeneity([positional or keyword] input_file: Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON input with net_benefit and subgroups'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save Value of Heterogeneity result')) -> None

Calculate Value of Heterogeneity from a JSON input file.

Parameters:

  • input_file Path (default: typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON input with net_benefit and subgroups'))
  • output_file Path | None (default: typer.Option(None, '--output', '-o', help='File to save Value of Heterogeneity result'))

Returns: None