State the Bayes theorem

Assignment Help Basic Statistics
Reference no: EM132407907

Problem 1 - Suppose that X ∼ Beta(2, 2) distribution, whose density function is f(x) = 6x(1 - x) for 0 < x < 1. Use a) a rejection sampling method and b) an importance sampling method to evaluate Var(X). Explain how you do it and write two separate pseudo-codes to implement the two methods.

Problem 2 - (a) Develop a Gibbs method sampling method to simulate from a bivariate vector (X1, X2) from a bivariate normal distribution with zero mean and unit variance for the marginals, but a non-zero correlation of rho (r) between the two components. Explain how you do it and write a pseudo-code to implement it. (b) Suppose that you have N copies of the random sample (vector) simulated from your code. Explain how to use them to evaluate E{(X1+X2)2} and also the median of the distribution of (X1+X2)2.

Problem 3 - Let (W1(t), . . . , Wn(t)) be n independent Brownian motions. Define the new process

Bn(t) = √(W12(t) + . . . + Wn2(t)).

This process, called a Bessel process, describes the distance to the origin of an n-dimensional Brownian motion. We can show that Bn satisfies the equation

dBn(t) = dZ(t) + (n-1)/(2Bn(t))dt

where Z(t) is a suitable Brownian motion. Assume that Bn(0) ≠ 0. Explain how to simulate a sample path of such a Bessel process and write a pseudo-code to implement it.

Problem 4 - (a) State the Bayes theorem.

(b) A disease has an overall base rate p(D) = .001. A test for the disease has sensitivity S (i.e, p(test positive |D) = S and specificity Q (i.e., p(test - |no D) = Q). If a patient tests positive what is the Bayesian posterior P(D|test +)?

(c) Numerical examples. Suppose S = Q = .99. What is the posterior P (D |test +)? Suppose S = .99, Q = .90. What is the posterior P(D|test +)?

Note - Need show steps for algorithm and few R code.

Reference no: EM132407907

Questions Cloud

Project - Group Movie Analysis : Project - Group Movie Analysis. What issues with identity does one of the main characters reveal in the movie? The movie is Dirty dancing 1987
Outweigh the federal government : With that said, assuming that the court's interpretation of the law was accurate, do you believe that the state's power to regulate in these matters should outw
Balance between business-government-society : How far, if at all, should an employer be able to intrude into an employee's private life?
Discuss specifically steps taken to implement process : Discuss specifically the steps taken to implement the new process along with the expected impact to the organization and their customers.
State the Bayes theorem : State the Bayes theorem. Suppose S = Q = .99. What is the posterior P (D |test +)? Suppose S = .99, Q = .90. What is the posterior P(D|test +)
The challenges based on the organizational structure : Provide suggestions to overcome the challenges based on the organizational structure, communication methods, and training.
Describe the competitive strategies : Describe the competitive strategies used by the company's main competitors. Which of these strategies are the most effective?
Leaders and Operations Management Assessment : Management and Operations Assignment Help and Solution, Leaders and Operations Management Assessment Writing Service - Higher National Diploma in Business
Develop a Gibbs sampling method to simulate : Develop a Gibbs sampling method to simulate from a bivariate vector (X1, X2) from a bivariate normal distribution with zero mean

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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