cleverly.datasets.navigation_doses_truth#
- cleverly.datasets.navigation_doses_truth() → dict[str, float][source]#
Return the exact success share under each dose plan, and each plan’s effect.
- Returns:
dictofstrtofloatey_policy[<plan>]for each plan ofDOSE_PLANS, andate_policy[<plan> vs current practice]for each other plan. The keys are the names that aModifiedTreatmentPolicyEffectfit reports when its policies carry the plan names.
See also
cleverly.datasets.make_navigation_dosesDraws data from this law.
Notes
Given the covariates, the success probability is smooth in each dose residual except at the residual where the raised dose reaches its cap. Each residual is integrated with 32 Gauss-Legendre nodes on each side of that point, and the covariates with a 12-node Gauss-Hermite rule in each dimension. Doubling every node count moves no value by more than
1e-9.Examples
>>> from cleverly.datasets import navigation_doses_truth >>> truth = navigation_doses_truth() >>> round(truth["ate_policy[both vs current practice]"], 4) 0.0731