ou write a code over and over, and each time there is probability p that it gets accepted, independent of previous attempts. What is the mean and variance of X, the number of tries until the code gets accepted
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.
You write a code over and over, and each time there is probability p that it gets accepted, independent of previous attempts. What is the mean and variance of X, the number of tries until the code gets accepted?
Step by step
Solved in 2 steps with 3 images