# Tag Archives: Probability

## Probability and Statistics | Simpson’s Paradox (UC Berkeley’s Lawsuit)

Simpson’s Paradox in layman’s term is the reversal of relationship within data with respect to the subgroups of data after combining those subgroups data. For… Read More »

## Find probability of selecting element from kth column after N iterations

Given a matrix M of order N*M where Mij represent the occurrence of j in row i. The task is to find the probability of… Read More »

## Find probability that a player wins when probabilities of hitting the target are given

Given four integers p, q, r and s. Two players are playing a game where both the players are hitting a target and the first… Read More »

## Expected number of coin flips to get two heads in a row?

Problem : Find the expected number of times a coin must be flipped to get two heads consecutively? Solution : The key is to observe… Read More »

## Shannon-Fano Algorithm for Data Compression

DATA COMPRESSION AND ITS TYPES Data Compression, also known as source coding, is the process of encoding or converting data in such a way that… Read More »

## Probability of getting more value in third dice throw

Given that the three players playing a game of rolling a dice. Player1 rolled a dice got A and player2 rolled a dice got B.… Read More »

## Probability of getting two consecutive heads after choosing a random coin among two different types of coins

Given two coins which have probability of getting heads p% and q% respectively, the task is to determine the probability of getting two consecutive heads… Read More »

## Finding the probability of a state at a given time in a Markov chain | Set 2

Given a Markov chain G, we have the find the probability of reaching the state F at time t = T if we start from… Read More »

## Probability of getting a sum on throwing 2 Dices N times

Given the sum. The task is to find out the probability of occurring that sum on the thrown of the two dice N times. Probability… Read More »

## Puzzle | Find The Probability of Distance in a Square

Given 6 point inside a square of side 10cm, what is the probability that their exist at least two points whose distance is less than… Read More »

## Nonhomogeneous Poisson Processes

Non-homogeneous Poisson process model (NHPP) represents the number of failures experienced up to time t is a non-homogeneous Poisson process {N(t), t ≥ 0}. The… Read More »

## Probability that two persons will meet

Problem Statement: Two persons are supposed to meet a spot in a time interval of one hour. The person who comes first will wait for… Read More »

## Maximum number of dots after throwing a dice N times

Given a dice with m-faces. The first face of the dice contains a dot, the second one contains two dots, and so on, the m-th… Read More »

## Probability of cutting a rope into three pieces such that the sides form a triangle

Given a rope. We have to find the probability of cutting a rope into 3 pieces such that they form a triangle. Answer: 0.25 Explanation:… Read More »