Suppose we toss a coin 3 times. We denote head as "H" and tail as "T". We assume the probability of tail is P(T) = 0.7. Let X be the number of "H"s. 1. What are the possible values of X? Find the probability function(pf) of X, which is defined by P(X = k) for every possible value k. Check that k P(X= k) = 1. 2. Find the cumulative distribution function (cdf) of X. 3. Calculate the expectation and the variance of X.

College Algebra
7th Edition
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:James Stewart, Lothar Redlin, Saleem Watson
Chapter9: Counting And Probability
Section9.4: Expected Value
Problem 20E
icon
Related questions
Question

1 2 and 3 please thank you!

Suppose we toss a coin 3 times. We denote head as “H” and tail as "T". We assume the probability of tail
is P(T) = 0.7. Let X be the number of "H"s.
1. What are the possible values of X? Find the probability function(pf) of X, which is defined by
P(X= k)
for every possible value k. Check that
ΣP(X = k) = 1.
k
2. Find the cumulative distribution function (cdf) of X.
3. Calculate the expectation and the variance of X.
4. Do the followings with R:
a. Create a plot of the pf of X.
b. Create a plot of the cdf of X.
c. Draw a random sample of size 1000 from Binomial(n = 3, p = 0.3).
Then plot a histogram and calculate the sample mean and the
sample variance. Comment briefly on these outputs compared to the results from question 1-3.
Transcribed Image Text:Suppose we toss a coin 3 times. We denote head as “H” and tail as "T". We assume the probability of tail is P(T) = 0.7. Let X be the number of "H"s. 1. What are the possible values of X? Find the probability function(pf) of X, which is defined by P(X= k) for every possible value k. Check that ΣP(X = k) = 1. k 2. Find the cumulative distribution function (cdf) of X. 3. Calculate the expectation and the variance of X. 4. Do the followings with R: a. Create a plot of the pf of X. b. Create a plot of the cdf of X. c. Draw a random sample of size 1000 from Binomial(n = 3, p = 0.3). Then plot a histogram and calculate the sample mean and the sample variance. Comment briefly on these outputs compared to the results from question 1-3.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Algebra and Trigonometry (MindTap Course List)
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:
9781305071742
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax