Markov Chain Calculator
Finite-state probability workbench
An editable transition table that calculates n-step probabilities, lists paths, and classifies states. It shows the working alongside the answer.
- Status
- Local study tool
- Kind
- Data & geometry
- Stack
- Python · Linear algebra · Probability · Terminal UI
BUILD NOTES / Local study toolMarkov Chain Calculator
Project overview · not an interface capture
Finite-state probability workbench
Python / Linear algebra / ProbabilityProject overview · not an interface capture
The problem
Checking a Markov chain by hand means keeping the state labels, transition matrix, path weights, and times consistent. I wanted to change one assumption and see what it did to the result.
What was built
- Editable transition matrices with named states, fractions, percentages, row validation, and saved models.
- Matrix powers, distribution evolution, joint and conditional events, stationary distributions, and hitting calculations.
- A terminal interface that explains intermediate results and tests boundary cases such as impossible conditioning events and reducible chains.
What I learned
An answer is only useful when the tool spells out its assumptions, including whether a starting state or distribution was supplied.