A practical MoonBit causal-inference toolkit with propensity modeling, weighting, matching, diagnostics, uncertainty, simulation, and reproducible benchmarks.
moon check --deny-warn
moon test --deny-warn
moon run cmd/mainmoon run cmd/mainmoon-causal deterministic benchmark
sample_size=200
true_ate=1.75
estimated_ate=1.695501947510638
absolute_error=0.0544980524893619
standard_error=0.15562533888456542
effective_sample_size=177.61530018366125
propensity_auc=0.6822682268226823moon fmt --check
moon info
moon check --deny-warn
moon test --deny-warn
moon build --target wasm-gc
moon build --target native///|
test "README example" {
inspect(mean([1.0, 3.0, 5.0]), content="3")
}This package contains over 1061 items.
A practical MoonBit causal-inference toolkit with propensity modeling, weighting, matching, diagnostics, uncertainty, simulation, and reproducible benchmarks.