Design a simulation exercise in r to approximate the value

Assignment Help Basic Statistics
Reference no: EM13953270

1. Simulation of an expectation. Design a simulation exercise in R to approximate the value of E ( X^X) when X has a U [0,1] distribution. Plot the value of the approximation as the sample size goes from 1 to 10,000. Use the Notebook feature in RStudio to create an HTML file for your answer.

2. Simulation of a Polya Urn. Put a = 10 white balls and b = 20 blue balls in an urn. Then, randomly draw a ball from the urn, and replace it along with another ball of the same color, repeat.

a) Write an R program to simulate Rn, the proportion of white balls in the urn after n draws from the urn, for any integer n.

b) Plot the histogram of Rn for n = 1,000.

c) Simulate Rn 10,000 times.

d) Overlay the histogram with a line graph of the appropriate limiting distribution. Use the Notebook feature in RStudio to create an HTML file for your answer.

Reference no: EM13953270

Questions Cloud

Write a research report on the sensitivity of stock return : You need to write a research report on the sensitivity of the stock return to the market return. The following model can be used to estimate the sensitivity of the stock return to the market return.
Goals for sales and return on assets : The president of Blue Skies Corp. and his vice presidents are reviewing the operating results of the year just completed. Sales increased by 15% from the previous year to $60,000,000. Average total assets for the year were $40,000,000. Net income,..
Fair dealing implied in the agreement : With the credit-card contracts, credit-card companies can unilaterally change the interest rate. Discuss whether there should be any requirements of reasonableness or fair dealing implied in the agreement.
Glanyar on the island of bali in indonesia : Ida Sidha Karya Company is a family-owned company located in the village of Glanyar on the island of Bali in Indonesia
Design a simulation exercise in r to approximate the value : Write an R program to simulate Rn, the proportion of white balls in the urn after n draws from the urn, for any integer n.
Determining the bond approaches maturity : State whether each component will increase (I), decrease (D), or remain constant (C) as the bond approaches maturity given the following situations:
Calculate the 95% confidence interval for the proportion : Of the 180 left-handed students, 93 reported at least one injury, and 619 of the 1716 right-handed students reported at least one injury in the same period. Calculate the 95% confidence interval for the proportion of stu- dents with at least one i..
Problem regarding the deferred tax : On January 1, 2014, Deng Company purchased an asset for $100,000. For financial accounting purposes, the asset will be depreciated on a straight-line basis over five years with no residual value at the end of that time. For tax purposes, the asset..
Debt-to-equity ratio : Will Able Corporation's balance sheet showed the following amounts: Current Liabilities, $10,000; Bonds Payable, $3,000; Lease Obligations, $4,000; and Notes Payable, $600. Total stockholders' equity was $12,000. The debt-to-equity ratio is:

Reviews

Write a Review

Basic Statistics Questions & Answers

  The middle 68 of the data falls between what two values

in the united states the average weight of an adult male is 172 pounds with a standard deviation of 29 pounds. assuming

  Find the probability that at least one part is defective

Identical parts of which 10 are defective and 90 are non-defective. Three parts are selected without replacement. What is the probability that at least one part is defective?

  Sample needed to find the population mean

How large a sample is needed to find the population mean within $250 at 99 percent confidence?

  Construct a 96 confidence interval for the true mean

construct a 96 confidence interval for the true mean breaking strength of a certain type of 10 ft. long cables. assume

  What percent of the time would you expect predictions

In using the data from study A to make predictions, what percent of the time would you expect predictions to be exactly correct?

  What are the average and standard deviation of the time in

for a certain musician his favorite brand of guitar picks is far more likely to chip accidentally and become useless

  Absolute value of difference between face values

A pair of dice is tossed once. Let X denote the sum of the face values, and let Y denote the absolute value of the difference between the face values.

  A regression of birth weight on the mothers estriol level

a regression of birth weight on the mothers estriol level is shown belowbirth weight g 2149 0.61estriol level. which

  An experiment consists of selecting a student body

an experiment consists of selecting a student body president vice president and a treasurer. all undergraduate

  Find shape of actual distribution of dollar losses

This sample is 500 so the distribution of the sample means will be normal, no matter what the shape of the actual distribution of dollar losses.

  A correlation coefficient has an associated probability

a correlation coefficient has an associated probability value of .02 then1. the results are important2. the hypothesis

  What is the mean tax penalty for improperly filled

small business owners often look to payroll service companies to handle their employee payroll. reasons are that small

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd