Skip to content

voiage.methods.adaptive.sophisticated_adaptive_trial_simulator

sophisticated_adaptive_trial_simulator([positional or keyword] psa_samples: PSASample = None, [positional or keyword] base_design: TrialDesign = None, [positional or keyword] adaptive_rules: dict[str, object] = None) -> NetBenefitArray

Simulate an adaptive trial and return net-benefit samples.

psa_samples : ParameterSet PSA samples representing parameter uncertainty. base_design : TrialDesign Trial design before adaptive modifications. adaptive_rules : dict[str, object] Rules describing interim analyses and early stopping behavior.

ValueArray Net-benefit samples for the decision alternatives generated by the simulated adaptive trial.

This helper is intentionally simplified and deterministic enough for testing and examples, not for production trial simulation.

Parameters:

  • psa_samples PSASample
  • base_design TrialDesign
  • adaptive_rules dict[str, object]

Returns: NetBenefitArray