Skip to content
SakibpediaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markov

Go Windows exe License: MIT

Stationary distribution of a two-state Markov chain by iteration.

Part of StatLab — twenty standalone statistical analysis tools for Windows, each shipped as a native executable with no runtime dependencies. Author: S M Nazmuz Sakib · [email protected]

Detailed use cases

  1. State forecasting — estimate long-run share of time in each state.
  2. Reliability modelling — compute steady-state up/down probabilities.
  3. Teaching stochastic processes — see convergence to equilibrium.

Download and run (Windows)

Download markov.exe from the Releases page, then:

Get-Content data.csv | .\markov.exe
# or
.\markov.exe -f data.csv

The executable is a native Windows binary — no Python, no installer, no DLLs.

Build from source

go test ./...
go build -o markov.exe .

Example output

{
  "state_0": 0.6,
  "state_1": 0.4,
  "iterations": 200
}

Input format

Flags: -p01 (probability of leaving state 0) and -p10 (probability of returning from state 1).

Visual preview

markov preview

Testing

main_test.go covers the core algorithm with deterministic cases. Run go test ./....

License and contact

MIT © S M Nazmuz Sakib (2026). Questions: [email protected].

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages