Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

Question: The R command S=expand.grid(X1=1:6, X2=1:6) generates the sample space of two die rolls. The additional R command attach(S); Y=(X1==6)+(X2==6) generates the number of times a six occurs for each of the 36 outcomes in the sample space. Finally, the additional R commands pr=table(Y)/36; pr generates the probability mass function for the experiment that records the number of times a six occurs in two rolls of a die.

(a) Use the PMF obtained and R commands similar to those given in (2.3.7) to simulate 10 replications of the experiment that records the number of times a six occurs in two die rolls.

(b) Use the PMF obtained and R commands similar to those given in (2.3.8), namely x= sample(0:2, size=10000, replace=T, prob=pr); table(x)/10000, to obtain the relative frequencies for each outcome in the sample space of the experiment that records the number of times a six occurs in two die rolls, based on 10,000 replications.

(c) Use the R command hist(x,seq(-0.5, 2.5, 1), freq=F); lines(0:2, pr, type="p", col="red"); lines(0:2, pr, type="h", col="red") to construct a histogram of the relative frequencies and line graph of the probability mass function. This figure provides empirical verification of which property?

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M92576764

Have any Question?


Related Questions in Statistics and Probability

Assume a firm has 45 million in operating profit the firms

Assume a firm has $45 million in operating profit. The firm's tax rate is 40%. What is the tax shield of the firm's $38 million in debt that charges a 10% interest rate?

Question the probability a beginning golfer makes a good

Question: The probability a beginning golfer makes a good shot if he selects the correct club is 1/3. The probability the shot is good with the wrong club is 1/5. In his bag are four different clubs, only one of which is ...

A survey asks 20002000 workers has the economy forced you

A survey asks 20002000 ?workers, "Has the economy forced you to reduce the amount of vacation you plan to take this? year?" FiftyFifty?-fourfour percent of those surveyed say they are reducing the amount of vacation. Twe ...

Based on college data scores on a certain test can be seen

Based on college data, scores on a certain test can be seen as normally distributed that can show the mean of 1524 and a standard deviation of 318. What percentage of scores are greater than 1842 and if needed round to t ...

What do we mean by financial intelligence how to assess a

What do we mean by financial intelligence? How to assess a company's health? Use the plain language to define operating experience, capital expenditure, accruals, depreciation, and goodwill. Describe differences between ...

Amount of emails mean30find the probability that 20 emails

Amount of emails. Mean=30 Find the probability that 20 emails are received on the first day and 50 emails are received on the second day.

Find the modified internal rate of return mirr the annual

Find the modified internal rate of return (MIRR) The annual rate is 8.24%. Initial outlay is $356,800. Year 1: $163,100 Year 2: $173,100 Year 3: $181,300 Year 4: $175,700 Year 5: $161,400

Sixty-seven percent of adults have looked at their credit

Sixty-seven percent of adults have looked at their credit score in the past six months. If you select 31 customers, what is the probability that at least 20 of them have looked at their score in the past six months?

Sally inherited some property from her family it includes

Sally inherited some property from her family, it includes two homes, one in Stone Harbor and one in Maui. (nice family). Sally is thinking of selling the properties but wants to make sure she gets a fair price. The two ...

Hardboard is graded with the following frequenciesgrade a

Hardboard is graded with the following frequencies: Grade A: 1/5 Grade B: 3/4 Cull: 1/20 If six pieces come off of a hot press, find the probability that two are Grade A, three are Grade B, and one is a Cull.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As