voiage.methods.adaptive.sophisticated_adaptive_trial_simulator
sophisticated_adaptive_trial_simulator
Section titled “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) -> NetBenefitArraySimulate an adaptive trial and return net-benefit samples.
Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”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_samplesPSASamplebase_designTrialDesignadaptive_rulesdict[str, object]
Returns: NetBenefitArray