pub enum ResponseFunctional {
MeanCurve {
outcome: VariableId,
treatment: ContinuousDomain,
},
AverageDerivative {
outcome: VariableId,
treatment: VariableId,
weighting: DerivativeWeighting,
},
PointDerivative {
outcome: VariableId,
treatment: VariableId,
at: f64,
order: u8,
scale: DerivativeScale,
},
DirectionalDerivative {
outcomes: Arc<[VariableId]>,
treatments: Arc<[VariableId]>,
at: Arc<[f64]>,
direction: Arc<[f64]>,
},
Jacobian {
outcomes: Arc<[VariableId]>,
treatments: Arc<[VariableId]>,
at: Arc<[f64]>,
scale: DerivativeScale,
},
InterventionResponse {
outcome: VariableId,
interventions: Arc<[Intervention]>,
},
}Expand description
A response functional, distinct from the estimator used to learn it.
Variants§
MeanCurve
a -> E[Y | do(A=a)].
AverageDerivative
Scalar weighted average derivative effect.
Fields
§
outcome: VariableIdOutcome.
§
treatment: VariableIdTreatment.
§
weighting: DerivativeWeightingTarget weighting law.
PointDerivative
Local derivative of a response representation.
Fields
§
outcome: VariableIdOutcome.
§
treatment: VariableIdTreatment.
§
scale: DerivativeScaleReporting scale.
DirectionalDerivative
Directional derivative for a vector intervention.
Jacobian
Low-dimensional response Jacobian.
Fields
§
outcomes: Arc<[VariableId]>Outcomes.
§
treatments: Arc<[VariableId]>Treatments.
§
scale: DerivativeScaleReporting scale.
InterventionResponse
Mean response under an existing intervention or joint intervention.
Trait Implementations§
Source§impl Clone for ResponseFunctional
impl Clone for ResponseFunctional
Source§fn clone(&self) -> ResponseFunctional
fn clone(&self) -> ResponseFunctional
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseFunctional
impl Debug for ResponseFunctional
Source§impl PartialEq for ResponseFunctional
impl PartialEq for ResponseFunctional
impl StructuralPartialEq for ResponseFunctional
Auto Trait Implementations§
impl Freeze for ResponseFunctional
impl RefUnwindSafe for ResponseFunctional
impl Send for ResponseFunctional
impl Sync for ResponseFunctional
impl Unpin for ResponseFunctional
impl UnsafeUnpin for ResponseFunctional
impl UnwindSafe for ResponseFunctional
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more