voiage.cli.calculate_enbs
calculate_enbs
Section titled “calculate_enbs”calculate_enbs([positional or keyword] evsi_input: str = typer.Option(..., '--evsi', help='EVSI value or path to a file containing a numeric EVSI result'), [positional or keyword] research_cost: float = typer.Option(..., '--research-cost', help='Total cost of the proposed research'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save ENBS result')) -> NoneCalculate Expected Net Benefit of Sampling (ENBS).
Examples
Section titled “Examples”Calculate ENBS from an EVSI value and research cost:
.. code-block:: bash
voiage calculate-enbs –evsi 12.5 –research-cost 10.0
Parameters:
evsi_inputstr(default:typer.Option(..., '--evsi', help='EVSI value or path to a file containing a numeric EVSI result'))research_costfloat(default:typer.Option(..., '--research-cost', help='Total cost of the proposed research'))output_filePath | None(default:typer.Option(None, '--output', '-o', help='File to save ENBS result'))
Returns: None