riantr/moonbit_dowhy/utils does not have a README file
pub enum GlmFamily {
Gaussian
Binomial
Poisson
}pub struct Random {
state : UInt64
}fn betainc(a : Double, b : Double, x : Double) -> Doublefn chi2_cdf(x : Double, df : Double) -> Doublefn chi2_ppf(p : Double, df : Double) -> Doublefn chi2_sf(x : Double, df : Double) -> Doublefn compare_double(a : Double, b : Double) -> Intfn digamma(x : Double) -> Doublefn erfc(x : Double) -> Doublefn f_cdf(f : Double, df1 : Double, df2 : Double) -> Doublefn f_ppf(p : Double, df1 : Double, df2 : Double) -> Doublefn f_sf(f : Double, df1 : Double, df2 : Double) -> Doublefn gammainc(a : Double, x : Double) -> Doublefn gammaincc(a : Double, x : Double) -> Doublefn ln_gamma(x : Double) -> Doublefn logistic_fit(x : Matrix, y : Array[Double], c : Double, max_iter : Int, tol : Double) -> LogisticFitfn nan() -> Doublefn normal_cdf(z : Double) -> Doublefn normal_ppf(p : Double) -> Doublefn round_half_even(x : Double) -> Doublefn t_cdf(t : Double, df : Double) -> DoubleInstall
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), 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 and the scores of the change of the distribution of every node). Pure MoonBit with zero external runtime dependencies.