Ask Applied Statistics Expert

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.

Applied Statistics, Statistics

  • Category:- Applied Statistics
  • Reference No.:- M92481059

Have any Question?


Related Questions in Applied Statistics

Question onea a factory manager claims that workers at

QUESTION ONE (a) A factory manager claims that workers at plant A are faster than those at plant B. To test the claim, a random sample of times (in minutes) taken to complete a given task was taken from each of the plant ...

You are expected to work in groups and write a research

You are expected to work in groups and write a research report. When you work on your report, you need to use the dataset, and other sources such as journal articles. If you use website material, please pay attention to ...

Assignment -for each of the prompts below report the

Assignment - For each of the prompts below, report the appropriate degrees of freedom, t statistic, p-value and plot using the statistical software platform of your choice (R/STATA) 1) A sample of 12 men and 14 women hav ...

Assignment - research topicpurpose the purpose of this task

Assignment - Research topic Purpose: The purpose of this task is to ensure you are progressing satisfactorily with your research project, and that you have clean, useable data to analyse for your final project report. Ta ...

Assessment task -you become interested in the non-skeletal

Assessment Task - You become interested in the non-skeletal effects of vitamin D and review the literature. On the basis of your reading you find that there is some evidence to suggest that vitamin D deficiency is linked ...

Part a -question 1 - an analyst considers to test the order

PART A - Question 1 - An analyst considers to test the order of integration of some time series data. She decides to use the DF test. She estimates a regression of the form Δy t = μ + ψy t-1 + u t and obtains the estimat ...

Medical and applied physiology experimental report

Medical and Applied Physiology Experimental Report Assignment - Title - Compare the working and spatial memory by EEG. 30 students were tested (2 memory games were played to test their memory - a card game and a number g ...

Business data analysis computer assignment -part 1

Business Data Analysis Computer Assignment - PART 1 - Economists believe that high rates of unemployment are linked to decreased life satisfaction ratings. To investigate this relationship, a researcher plans to survey a ...

Question - go to the website national quality forum nqf

Question - Go to the website, National Quality Forum (NQF), located in the Webliography, and download the article by WIRED FOR QUALITY: The Intersection of Health IT and Healthcare Quality, Number 8, MARCH 2008. You are ...

Go to the webliography source for the national cancer

Go to the Webliography source for the National Cancer Institute's Surveillance, Epidemiology, and End Results (SEER) Program. In the Fast Stats, create your own cancer statistical report, "Stratified by Data Type," and u ...

  • 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