Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image

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 for every possible value k. Check that P(X = k) P(X = P(X = k) = 1. 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mathematical Statistics With Applications In R

Authors: Chris P. Tsokos, K.M. Ramachandran

2nd Edition

124171133, 978-0124171138

More Books

Students also viewed these Mathematics questions

Question

What are the four major steps in the accounting process? LO1.

Answered: 1 week ago

Question

What made you decide on this subfield of psychology?

Answered: 1 week ago