Consider a binary code with 4 bits (0 or 1) in each code word. In each code word, a bit is a zero with probability 0.6, independent of any other bit.
Contingency Table
A contingency table can be defined as the visual representation of the relationship between two or more categorical variables that can be evaluated and registered. It is a categorical version of the scatterplot, which is used to investigate the linear relationship between two variables. A contingency table is indeed a type of frequency distribution table that displays two variables at the same time.
Binomial Distribution
Binomial is an algebraic expression of the sum or the difference of two terms. Before knowing about binomial distribution, we must know about the binomial theorem.
Consider a binary code with 4 bits (0 or 1) in each code word. In each code word, a
bit is a zero with
(a) What is the probability of the code word 0101?
(b) What is the probability that a code word contains exactly two ones?
Given data:
The probability of 0 bit is P(0)=0.6.
The expression for the probability of 1 bit is,
Substitute the given values in the above expression.
(a)
The expression for the probability of code-word 0101 is,
Substitute the given and above-calculated values in the expression.
Thus, the probability of code-word 0101 is 0.0576.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps