Implementing Markov Chain in Python

Keywords: Markov Chain, Python, probability, data analysis, data science Markov Chain Markov chain is a probabilistic models that describe a sequence of observations whose occurrence are statistically dependent only on the previous ones. This article is about implementing Markov chain in Python Markov chain is described in one of the earlier posts. For better understanding … Read more

Bayes’ theorem

Key focus: Bayes’ theorem is a method for revising the prior probability for specific event, taking into account the evidence available about the event. Introduction In statistics, the process of drawing conclusions from data subject to random variations – is called “statistical inference”. Usually, in any random experiment, the observations are recorded and conclusions have … Read more

Hidden Markov Models (HMM) – Simplified !!!

Markov chains are useful in computing the probability of events that are observable. However, in many real world applications, the events that we are interested in are usually hidden, that is we don’t observe them directly. These hidden events need to be inferred. For example, given a sentence in a natural language we only observe the … Read more

Markov Chains – Simplified !!

Key focus: Markov chains are a probabilistic models that describe a sequence of observations whose occurrence are statistically dependent only on the previous ones. ● Time-series data like speech, stock price movements.● Words in a sentence.● Base pairs on the rung of a DNA ladder. States and transitions: markov chains Assume that we want to … Read more

Histogram to PDF in Matlab — normalize bins and overlay the theoretical curve

Turn a Matlab histogram into an estimated PDF: normalize by sample count and bin width, then overlay normpdf / theoretical densities for Gaussian, Rayleigh, and exponential checks.

BPSK Bit Error Rate in AWGN: Derivation and Simulation

BPSK Lab path:Derive BER (theory) → AWGN noise model → BER simulation (Python & Matlab)Tools: BER vs Eb/N0 calculator · Shannon capacity The BPSK bit error rate for an optimum receiver in AWGN follows from a simple decision-threshold argument. This post derives it step by step, then checks the result with a Monte Carlo simulation … Read more