Monte statistics

v1.1.0
io.github.skirberg/monte Checked 37 minutes ago Published 13 days ago

Free statistics lessons, a glossary, and 11 solvers that show every step.

B 74/100 Discovery passed License not confirmed CloudSearch

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_topics List topics

The 14 statistics topics on Monte, in order, with their page links.

get_topic Get a topic

One topic in plain English: the idea, why it matters, a worked example, the usual trap, the formulas and the five lessons, with links.

ParameterTypeDescription
topic *stringTopic id from list_topics, like normal or clt

search_terms Search the glossary

Statistics terms in plain English with an example each, matched on the term or its meaning.

ParameterTypeDescription
query *stringA word or phrase, like standard error or p-value

list_solvers List solvers

The 11 solvers and the inputs each one takes (key, label, default value, and choices where there are some). Use with solve.

solve Solve a problem

Runs one of Monte's solvers and returns every answer with its working, exactly as the solver page shows it. Inputs you leave out keep the solver's defaults. Numbers may be written as 0.7, 70% or 7/10.

ParameterTypeDescription
solver *stringSolver id from list_solvers, like tree, normal or ci
inputsobjectInput key to value, as text, for example {"mu": "500", "sd": "20"}

test_result Is this test result real?

For a positive result, the chance you really have the thing, from how common it is, how often the test catches it and how often it false-alarms (Bayes).

ParameterTypeDescription
catches *numberSensitivity: chance the test is positive when you have it, 0 to 1
false_alarms *numberChance the test is positive when you do not have it, 0 to 1
how_common *numberBase rate, 0 to 1, like 0.01 for 1 in 100

warranty Should I buy the warranty?

Expected cost of buying versus skipping a warranty or insurance plan, the break-even chance and the plan's markup.

ParameterTypeDescription
chance *numberChance the bad thing happens over the whole plan, 0 to 1
cost *numberWhat it costs you if it happens and you have no plan, in dollars
price *numberPrice of the plan, in dollars
deductiblenumberWhat you still pay with the plan, in dollars

ab_test Did my change really work?

Two-proportion z test for an A/B test: the two rates, the lift, the p-value, a 95% range for the difference, and visitors needed per version to detect this gap.

ParameterTypeDescription
conversions_a *integer
conversions_b *integer
visitors_a *integer
visitors_b *integer