Thomas Piacentini
← Workshop
← All concepts

States and transitions

Concept 1 / 3

Change concept
01 · States and the Markov property

States and the Markov property

A useful state contains what you need now to predict the next step.

Your turn

60 %
A₀60 %B₀40 %80 %70 %20 %30 %A₁60 %B₁40 %
From AFrom BAfter transition

Combine arrivals60 %

Arrivals in A add .8p and .3(1−p).

Build
Final result · next probability of A60 %

Understand the calculation, step by step

A state should summarize information needed for the next step: P(Sₖ₊₁|Sₖ,…)=P(Sₖ₊₁|Sₖ). Two states allow four transitions, including self-loops. If time spent in a zone affects the future, augment the state or change the model. One sampled transition is not the full transition distribution.

Propagate a distribution

P=[[0.8,0.2],[0.3,0.7]] ; p′(A)=0.8p+0.3(1−p)

Check my understanding

For Initial P(A) = 0.8, what is the value of « next probability of A » ?

Answer as a proportion (0 to 1), or a percentage with the % sign.

Keep a thought in my notebook
Read the source and go further

The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.

02 · Stochastic matrix and propagation

Stochastic matrix and propagation

Transition probabilities distribute a population among possible states at the next step.

Your turn

60 %
A₀60 %B₀40 %80 %70 %20 %30 %A₁60 %B₁40 %
From AFrom BAfter transition

Combine arrivals60 %

Arrivals in A add .8p and .3(1−p).

Build
Final result · next probability of A60 %

Understand the calculation, step by step

With the row convention, Pᵢⱼ≥0 and ΣⱼPᵢⱼ=1; a row distribution evolves as p′=pP. N states require N² entries before constraints. In the three-zone lab, compare sample frequencies with exact probabilities: a finite simulated population also produces discrepancies.

Propagate a distribution

P=[[0.8,0.2],[0.3,0.7]] ; p′(A)=0.8p+0.3(1−p)

Check my understanding

For Initial P(A) = 0.8, what is the value of « next probability of A » ?

Answer as a proportion (0 to 1), or a percentage with the % sign.

Keep a thought in my notebook
Read the source and go further

The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.

03 · Persistence, weather and equilibrium

Persistence, weather and equilibrium

The same rainy fraction can hide alternating days or long wet spells.

Your turn

20 %
P(A)π = 60 %t=020 %t=140 %t=250 %
InputTransformationResult

Dashed: the fixed 60% equilibrium.

After two steps50 %

The bar moves toward .6 without generally becoming exactly equal.

Build
Final result · probability of A after two steps50 %

Understand the calculation, step by step

Two chains can have the same average rainy fraction but very different run lengths. Strong self-loops produce persistence. A stationary distribution satisfies πP=π; convergence to a unique equilibrium requires conditions, including irreducibility and aperiodicity for a finite chain. An alternating chain is a convergence counterexample.

Contraction and equilibrium

π(A)=0.6 ; after 2 steps: p₂(A)=0.6+0.25(p₀−0.6)

Check my understanding

For Initial P(A) = 0.9, what is the value of « probability of A after two steps » ?

Answer as a proportion (0 to 1), or a percentage with the % sign.

Keep a thought in my notebook
Read the source and go further

The extended record combines confirmed reading, interaction, correct answer and a note of at least 40 characters. You can continue at any time.

Take this further

atomsh / lab