Generate independent random variables with density

Assignment Help Applied Statistics
Reference no: EM131672358

Assignment -

Solve the following using R software. Submit your R codes with the appropriate graphs.

(1) Firs Part:

(a) Give R code to generate (and then test the distribution in order to check your work) 5,000 pseudo-random variates from the density on [0, 7] proportional to:

1/(1+0.1*x^2)^2 + x^3 *exp(-x) + 0.2*(abs(x-3)<2) , 0 < x < 7

(b) Show by simulation of 10000 independent data batches of size 50 that the maximum likelihood estimators (MLEs) of each of the two parameters a,b from a dlogis(x, a, b) density (based on a sample of size 50) is approximately normal, with the mean and variance predicted from the Fisher Information for this estimation problem.

Can you detect any evidence of non-normality in the distributions of these MLEs?

(c) Generate 10000 independent random variables with density proportional to (1+2*x)*x^2*(1-x)^3 on (0,1). Do this by an efficient Accept-Reject method.

(2) Consider the problem of estimating/calculating the probability

P(X_(3) + X_(7) + X_(10) > -1.5 )                                                (*)

where X_i , I = 1,...,25 are independent random variables with standard normal (N(0, 1)) density and these variables are ordered to form the order-statistic sequence X_(1) < X_(2) < ... < X_{25)

Calculate (*) above in three ways, and compare their accuracy and speed:

(A) Direct Monte Carlo simulation -- you choose an appropriate number of batches of 25 iid variates to simulate to achieve accuracy comparable to the other methods.

(B) Simulation, but making use of antithetic variables.

(C) Simulation using the method of control variates, i.e. via linear regression of I[X_(3)+X_(7)+X_(10) > 4] either on X_(3)+X_(7)+X_(10) or on X_(3), X_(7), and X_(10).

(3) IMPORTANCE SAMPLING SIMULATION PROBLEM, adapted from the Robert and Casella (1999) book on Monte-Carlo, and was originally taken from a journal paper.

PROBLEM: Estimate by a Monte Carlo experiment, with and without importance sampling, the probability

P(W_j > 0 for j = 1,...6)                                                   (**)

where the (dependent) 6-vector random variables W are defined from a vector Z of 6 iid N(0, 1) random variables, by W = c( (inverse of (diag(0:5) + 0.5) ) %*% Z )

In your importance sampling approach, sample from a distribution in R^6 (6-dimensional Euclidean vector space) supported completely in the positive orthant (i.e., in the set of vectors with all positive coordinates.

Try to come up with an importance-sampling algorithm for a sampling distribution supported completely within the positive orthant in R^6; but if that requirement is too hard to meet, you may relax it.

Reference no: EM131672358

Questions Cloud

Create a risk assessment plan for hospitals in saudi arabia : Create a risk assessment plan for Hospitals of the Ministry of National Guard in Saudi Arabia to protect healthcare workers and patients from the spread of MERS
What is the present worth of the vaccines : If the vaccines are semi- sucessful such that treatement costs and medical bills are reduced by an average of $15,000 per person per year.
How do you think that we should finish rest of our projects : "We have accomplished a number of our objectives this month, how do you think that we should finish the rest of our projects?"
Estimate percentage of completion and level of inventory : Why and how might managers manipulate their monthly estimates of percentage of completion and level of inventory?
Generate independent random variables with density : Generate 10000 independent random variables with density proportional to (1+2*x)*x^2*(1-x)^3 on (0,1). Do this by an efficient Accept-Reject method
Explain the relative merits of a variety of hr interventions : Explain the relative merits of a variety of human resources interventions such as organizational development, succession and workforce planning, strategic staf
What is the cost of goods assembled but not finished : Multiple processes or operations, costing. The Sedona Company is dedicated to making products that meet the needs of customers in a sustainable manner.
Are there any ethical concerns in your research study : What problems did you run into and what would you do differently in the future? Are there any ethical concerns in your research study?
Calculate the defectives per million opportunities : For the process you chose in 1-3, set the following values: process target (Ï ), upper specification (U), and lower specification (L).

Reviews

Write a Review

Applied Statistics Questions & Answers

  A study was conducted to estimate hospital costs for

a study was conducted to estimate hospital costs for accident victims who wore seat belts. twenty randomly selected

  What is the probability that it came from jar ii

Two jars contain coins. Jar I contains 7 pennies, 6 nickels and 8 dimes.Jar II contains 5 pennies, 3 nickels and 1 dime. A jar is selected at randomand a coin is selected from that jar. If the coin is a nickel, what is the probability that it came fr..

  How might adding confidence intervals help managers

Ask a manager in your organization if they would prefer a single point estimate or a range for important measures, and why? Please share what they say.

  How is your hypothesis measurable and testable

After reading the feedback on your proposed quantitative research question in M1 Assignment 2 (Formulating a Research Question), provide your revised quantitative research question. Next, develop a hypothesis for the research question (Include a n..

  The use of the rti model

Identify some of the limitations or concerns that may result from using diagnostic tests.Identify some of the strengths in using these tests for progress.

  Two teams arrogant and overconfident are participating

Two teams Arrogant and Overconfident are participating in a cricket tournament. The odds that team Arrogant will be champion is 5 to 3, and the odds that team Overconfident will be the champion is 1 to 4. What are the odds that either Arrogant or tea..

  Compute the arithmetic mean rate of return and the standard

The following are annual rate of return for US government T-bills and UK common stocks:

  What are strata and how should strata be selected

When is it appropriate to use stratified random sampling? What are strata, and how should strata be selected? When is cluster sampling used? Why do we describe this type of sampling by using the term cluster?

  Regular exercise reduces the risk of a heart attack.

Example Study 2: Another researcher finds 4,000 men over 40 who have not had heart attacks and are willing to participate in a study. She assigns 2,000 of them into a regular program of supervised exercise. The other 2,000 continued their usual..

  Calculate the slack time for each activity

Calculate the slack time for each activity and for each path and looking at only the critical path, find the probability that the store will take more than 23 working days to open.

  Find the correlation between anca and the clinical

find the correlation between anca and the clinical manifestations k l c gi msk n ent s. nbspwe want to find out which

  Statistic project

Identify sample, population, sampling frame (if applicable), and response rate (if applicable). Describe sampling technique (if applicable) or experimental design

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