riantr/moonbit_dowhy/estimators does not have a README file
pub struct CausalEstimator {
target_estimand : IdentifiedEstimand
kind : EstimatorKind
weighting_scheme : WeightingScheme
min_ps_score : Double
max_ps_score : Double
num_strata : NumStrata
clipping_threshold : Int
instrument_name : String
rd_variable_name : String
rd_threshold_value : Double
rd_bandwidth : Double
rd_local_data : DataFrame?
model : OlsFit
first_stage : TwoStageModel?
second_stage : TwoStageModel?
glm_model : GlmFit
glm_family : GlmFamily
encoders : Encoders
features : Array[String]
propensities : Array[Double]
propensity_beta : Array[Double]
adjustment_names : Array[String]
effect_modifier_names : Array[String]
treatment_name : String
outcome_name : String
treatment_value : Double
control_value : Double
confidence_level : Double
num_simulations : Int
sample_size_fraction : Double
compute_confidence_intervals : Bool
test_significance : Bool
num_matches_per_unit : Int
distance_metric : DistanceMetric
}fn CausalEstimator::distance_matching(estimand : IdentifiedEstimand, num_matches_per_unit? : Int, distance_metric? : DistanceMetric) -> CausalEstimatorfn CausalEstimator::doubly_robust(estimand : IdentifiedEstimand, min_ps_score : Double, max_ps_score : Double) -> CausalEstimatorfn CausalEstimator::estimate_conditional_effects(self : CausalEstimator, data : DataFrame, treatment_value : Double, control_value : Double) -> Array[(String, Double)]fn CausalEstimator::estimate_effect(self : CausalEstimator, data : DataFrame, treatment_value : Double, control_value : Double, target_units : String) -> CausalEstimatefn CausalEstimator::fit(self : CausalEstimator, data : DataFrame, effect_modifier_names : Array[String]) -> Unitfn CausalEstimator::generalized_linear_model(estimand : IdentifiedEstimand, family : GlmFamily) -> CausalEstimatorfn CausalEstimator::instrumental_variable(estimand : IdentifiedEstimand, instrument_name : String) -> CausalEstimatorfn CausalEstimator::propensity_score_stratification(estimand : IdentifiedEstimand, num_strata : NumStrata, clipping_threshold : Int) -> CausalEstimatorfn CausalEstimator::propensity_score_weighting(estimand : IdentifiedEstimand, min_ps_score : Double, max_ps_score : Double, scheme : WeightingScheme) -> CausalEstimatorfn CausalEstimator::regression_discontinuity(estimand : IdentifiedEstimand, rd_variable_name : String, rd_threshold_value : Double, rd_bandwidth : Double) -> CausalEstimatorfn CausalEstimator::set_compute_confidence_intervals(self : CausalEstimator, compute : Bool) -> Unitfn CausalEstimator::with_estimand(self : CausalEstimator, estimand : IdentifiedEstimand) -> CausalEstimatorpub enum DistanceMetric {
Minkowski(Double)
Euclidean
Manhattan
Chebyshev
}pub enum EstimatorKind {
Base
LinearRegression
PropensityScoreWeighting
PropensityScoreMatching
PropensityScoreStratification
DoublyRobust
InstrumentalVariable
TwoStageRegression
RegressionDiscontinuity
GeneralizedLinearModel
DistanceMatching
}pub enum NumStrata {
Fixed(Int)
Auto
}type TwoStageModelpub enum WeightingScheme {
IpsWeight
IpsStabilizedWeight
IpsNormalizedWeight
}let DEFAULT_NUMBER_OF_SIMULATIONS_CI : Intlet DEFAULT_NUMBER_OF_SIMULATIONS_STAT_TEST : Intlet NUM_QUANTILES_TO_DISCRETIZE_CONT_COLS : Intfn default_not_implemented_error_message() -> StringInstall
Download zipMoonBit port of DoWhy 0.14 (PyWhy): causal graph construction, effect identification, effect estimation, refutation, intervention sampling, temporal graphs, causal discovery with the PC algorithm, and the portable core of the graphical causal models. Pure MoonBit with zero external runtime dependencies.