riantr/moonbit_dowhy/identifiers does not have a README file
fn AdjustmentSet::new(adjustment_type : String, adjustment_variables : Array[String]) -> AdjustmentSetfn CompleteTestCase::new(nodes : Array[String], edges : Array[String], action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String], minimal_sets : Array[Array[String]]) -> CompleteTestCasefn EfficientTestCase::new(nodes : Array[String], edges : Array[String], observed_nodes : Array[String], conditional_nodes : Array[String], costs : Array[(String, Double)], efficient : Array[String]?, efficient_minimal : Array[String]?, efficient_mincost : Array[String]?) -> EfficientTestCasepub struct IdentifiedEstimand {
treatment_variable : Array[String]
outcome_variable : Array[String]
estimand_type : String
estimands : Map[String, Array[String]]
backdoor_variables : Map[String, Array[String]]
general_adjustment_variables : Map[String, Array[String]]
instrumental_variables : Array[String]
frontdoor_variables : Array[String]
mediator_variables : Array[String]
mediation_first_stage_confounders : Map[String, Array[String]]
mediation_second_stage_confounders : Map[String, Array[String]]
default_backdoor_id : String
default_adjustment_set_id : String
identifier_method : String
no_directed_path : Bool
}fn IdentifiedEstimand::estimand_assumptions(self : IdentifiedEstimand, key : String) -> Array[String]fn IdentifiedEstimand::get_backdoor_variables(self : IdentifiedEstimand, key : String) -> Array[String]fn IdentifiedEstimand::get_general_adjustment_variables(self : IdentifiedEstimand, key : String) -> Array[String]fn IdentifiedEstimand::get_mediation_first_stage_confounders(self : IdentifiedEstimand) -> Map[String, Array[String]]fn IdentifiedEstimand::get_mediation_second_stage_confounders(self : IdentifiedEstimand) -> Map[String, Array[String]]fn IdentifiedEstimand::new(treatment_variable : Array[String], outcome_variable : Array[String]) -> IdentifiedEstimandfn IdentifiedEstimand::set_adjustment_set(self : IdentifiedEstimand, variables : Array[String], key : String) -> Unitfn IdentifiedEstimand::set_default_adjustment_set_id(self : IdentifiedEstimand, id : String) -> Unitfn IdentifiedEstimand::set_estimand(self : IdentifiedEstimand, key : String, assumptions : Array[String]) -> Unitfn IdentifiedEstimand::set_frontdoor_variables(self : IdentifiedEstimand, variables : Array[String]) -> Unitfn IdentifiedEstimand::set_general_adjustment_variables(self : IdentifiedEstimand, variables : Array[String], key : String) -> Unitfn IdentifiedEstimand::set_instrumental_variables(self : IdentifiedEstimand, variables : Array[String]) -> Unitfn IdentifiedEstimand::set_mediation_first_stage_confounders(self : IdentifiedEstimand, confounders : Map[String, Array[String]]) -> Unitfn IdentifiedEstimand::set_mediation_second_stage_confounders(self : IdentifiedEstimand, confounders : Map[String, Array[String]]) -> Unitfn IdentifiedEstimand::set_mediator_variables(self : IdentifiedEstimand, variables : Array[String]) -> Unitfn IdentifiedEstimand::with_adjustment_variables(self : IdentifiedEstimand, variables : Array[String]) -> IdentifiedEstimandfn IdentifiedEstimand::with_instrumental_variables(self : IdentifiedEstimand, variables : Array[String]) -> IdentifiedEstimandfn IdentifiedEstimand::with_no_directed_path(self : IdentifiedEstimand, flag : Bool) -> IdentifiedEstimandfn IdentifiedEstimand::with_treatment(self : IdentifiedEstimand, variables : Array[String]) -> IdentifiedEstimandpub struct IdentifierTestCase {
nodes : Array[String]
edges : Array[String]
action_nodes : Array[String]
outcome_nodes : Array[String]
observed_nodes : Array[String]
biased_sets : Array[Array[String]]
minimal_sets : Array[Array[String]]
maximal_sets : Array[Array[String]]
direct_maximal_sets : Array[Array[String]]
}fn IdentifierTestCase::new(nodes : Array[String], edges : Array[String], action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String], biased_sets : Array[Array[String]], minimal_sets : Array[Array[String]], maximal_sets : Array[Array[String]], direct_maximal_sets : Array[Array[String]]) -> IdentifierTestCaselet BACKDOOR_DEFAULT : Stringlet BACKDOOR_EFFICIENT : Stringlet BACKDOOR_EXHAUSTIVE : Stringlet BACKDOOR_MINCOST_EFFICIENT : Stringlet BACKDOOR_MIN_EFFICIENT : Stringlet EFFICIENT_BACKDOOR_MULTIVARIATE_OUTCOME : Stringlet EFFICIENT_BACKDOOR_MULTIVARIATE_TREATMENT : Stringlet EFFICIENT_BACKDOOR_NEGATIVE_COST : Stringlet EFFICIENT_BACKDOOR_NO_ADJUSTMENT_SET : Stringlet EFFICIENT_BACKDOOR_NO_OPTIMAL_SET : Stringlet EFFICIENT_BACKDOOR_UNOBSERVED_CONDITIONAL : Stringlet ID_NOT_A_DAG : Stringlet ID_NOT_IDENTIFIABLE : Stringfn backdoor_adjustment_error(backdoor_adjustment : String) -> Stringfn identify_backdoor(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String], backdoor_adjustment : String, direct_effect? : Bool, costs? : Array[(String, Double)], conditional_node_names? : Array[String], optimize_backdoor? : Bool) -> (Array[AdjustmentSet], String)fn identify_effect(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String]) -> IdentifiedEstimandfn identify_effect_auto(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String], estimand_type : String, backdoor_adjustment : String, costs? : Array[(String, Double)], conditional_node_names? : Array[String], optimize_backdoor? : Bool) -> IdentifiedEstimandfn identify_effect_id(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String]) -> (IDExpression?, String)fn identify_frontdoor(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String]) -> Array[String]fn identify_generalized_adjustment_set(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String]) -> Array[AdjustmentSet]fn identify_mediation(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String]) -> Array[String]fn identify_nie_effect(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String], observed_nodes : Array[String], backdoor_adjustment : String) -> IdentifiedEstimandfn is_backdoor_strategy(backdoor_adjustment : String) -> Boolfn is_efficient_backdoor_strategy(backdoor_adjustment : String) -> Boolfn optimized_backdoor_adjustment(graph : DirectedGraph, action_nodes : Array[String], outcome_nodes : Array[String]) -> Array[AdjustmentSet]Install
Download zipMoonBit port of DoWhy 0.14 (PyWhy). Causal graph construction and analysis, effect identification (backdoor / frontdoor / complete adjustment), estimation (linear regression, generalized linear model, propensity score weighting / matching / stratification, doubly robust, instrumental variable, two stage, regression discontinuity), refutation (bootstrap, placebo treatment, data subset, dummy outcome, unobserved common cause, the assess overlap refuter that learns the rules of the support and of the overlap with boolean rules), intervention sampling (do samplers), temporal graphs, causal discovery (the PC algorithm with the Fisher-z test) and the portable core of the graphical causal models (the p-value merging, the bootstrap confidence intervals, the Kullback-Leibler divergences, the density estimators, the Shapley values, the independence tests, the prediction models, the causal mechanisms, the fitting of a causal model, the what-if queries (the interventional samples, the counterfactual samples and the average causal effect), the validation layer (the kernel based conditional independence test, the validation of a causal structure and the validation of an invertible model) and the falsification layer (the local Markov condition, the pairwise dependencies, the parental d-separations, the causal minimality and the permutation test of a graph) and the model evaluation layer (the normalised mean squared error, the continuous ranked probability score, the performance of the causal mechanisms, the test of the invertibility assumption and the report of the evaluation) and the distribution change layer (the test of the change of a mechanism, the attribution of the change of the distribution of a target node, the multiply-robust attribution of the change of the mean or of the variance of a target node and the scores of the change of the distribution of every node). Pure MoonBit with zero external runtime dependencies.