Bernoulli Trial
Each performance of an experiment with two possible outcomes is called a Bernoulli trial.Setiap pelaksanaan percobaan dengan dua kemungkinan hasil disebut percobaan Bernoulli.In general, a possible outcome of a Bernoulli trial is called a
success or a failure.
Secara umum, hasil yang mungkin dari uji coba Bernoulli disebutIf p is the probability of a success and q is the probability of a failure, it follows thatsuksesataugagal.
p + q = 1.
Jika p adalah probabilitas sukses dan q adalah probabilitas kegagalan, maka p + q = 1.
Theorem
The probability of exactly k successes in n independent
Bernoulli trials, with probability of success p and
probability of failure , is
Example 1
A coin is biased so that the probability of heads is 2/3. What is the
probability that exactly four heads come up when the coin is flipped seven
times, assuming that the flips are independent?
Solution:
- There are possible outcomes when a coin is flipped seven times.
- The number of ways four of the seven flips can be heads is .
- Because the seven flips are independent, the probability of each of these outcomes (four heads and three tails) is .
- Consequently, the probability that exactly four heads appear is
- .
Binomial Distribution
We denote by the probability of k successes in n independent Bernoulli trials with probability of success p and probability of failureq = 1 - p.
Kami menyatakan dengan probabilitas keberhasilan k dalam n percobaan Bernoulli independen dengan probabilitas keberhasilan p dan probabilitas kegagalan q = 1 - p.
Considered as a function of k, we call this function the binomial distribution
Dianggap sebagai fungsi k, kita menyebut fungsi ini sebagai distribusi binomial
Example 2
Suppose that the probability that a 0 bit is generated is 0.9, that
the probability that a 1 bit is generated is 0.1, and that bits are
generated independently. What is the probability that exactly
eight 0 bits are generated when 10 bits are generated?
Solution:
- By Theorem 2, the probability that exactly eight 0 bits are generated is
- .
Random Variables
A random variable is a function from the sample space of an experiment to the set of real numbers.Variabel acak adalah fungsi dari ruang sampel percobaan ke himpunan bilangan real.A random variable assigns a real number to each possible outcome.
Variabel acak memberikan bilangan real untuk setiap kemungkinan hasil.The distribution of a random variable X on a sample space S is the set of pairs for all , where is the probability that X takes the value r.
Distribusi variabel acak X pada ruang sampel S adalah himpunan pasangan untuk semua , di mana adalah probabilitas bahwa X mengambil nilai r.
Example 3
- Suppose that a coin is flipped three times.
- Let be the random variable that equals the number of heads that appear when t is the outcome.
- Then takes on the following values:
Example 4
Let be the sum of the numbers that appear when a pair of dice is rolled.
What are the values of this random variable for the 36 possible outcomes
, where and are the numbers that appear on the first die and the
second die, respectively, when these two dice are rolled?Solution:
Distribution of Random Variable
The distribution of a random variable on a sample space is the set of pairs for all , where is the probability that takes the value The set of pairs in this distribution is determined by the probabilities forExample 5
Suppose that a coin is flipped three times. Let be the random
variable that equals the number of heads that appear when t is the
outcome. Determine the distribution of .Solution:
Each of the eight possible outcomes when a fair coin is flipped three times has probability 1/8
, and
Consequently, the distribution of is the set of pairs , , , and .
, and
Consequently, the distribution of is the set of pairs , , , and .