voiage.cli.calculate_evpi
calculate_evpi
Section titled “calculate_evpi”calculate_evpi([positional or keyword] net_benefit_file: Path = typer.Argument(..., metavar='NET_BENEFIT_FILE', exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to CSV containing net benefits (samples x strategies)'), [positional or keyword] population: float | None = typer.Option(None, '--population', help='Population size for population-adjusted EVPI'), [positional or keyword] discount_rate: float | None = typer.Option(None, '--discount-rate', help='Annual discount rate (e.g., 0.03)'), [positional or keyword] time_horizon: float | None = typer.Option(None, '--time-horizon', help='Time horizon in years'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save EVPI result')) -> NoneCalculate Expected Value of Perfect Information (EVPI) from input data.
Examples
Section titled “Examples”Calculate EVPI from a net-benefits CSV:
.. code-block:: bash
voiage calculate-evpi net_benefits.csv
Parameters:
net_benefit_filePath(default:typer.Argument(..., metavar='NET_BENEFIT_FILE', exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to CSV containing net benefits (samples x strategies)'))populationfloat | None(default:typer.Option(None, '--population', help='Population size for population-adjusted EVPI'))discount_ratefloat | None(default:typer.Option(None, '--discount-rate', help='Annual discount rate (e.g., 0.03)'))time_horizonfloat | None(default:typer.Option(None, '--time-horizon', help='Time horizon in years'))output_filePath | None(default:typer.Option(None, '--output', '-o', help='File to save EVPI result'))
Returns: None