Evaluate the convergence and mixing of your sampler

Assignment Help Basic Statistics
Reference no: EM131049800

Problem - A clinical trial was conducted to determine whether a hormone treatment benefits women who were treated previously for breast cancer. Each subject entered the clinical trial when she had a recurrence. She was then treated by irradiation and assigned to either a hormone therapy group or a control group. The observation of interest is the time until a second recurrence, which may be assumed to follow an exponential distribution with parameter τθ (hormone therapy group) or θ (control group). Many of the women did not have a second recurrence before the clinical trial was concluded, so that their recurrence times are censored.

TABLE - Breast cancer data.

Hormone Treated

Control

Recurrence Times

2

4

6

9

9

9

1

4

6

7

13

24

13

14

18

23

31

32

25

35

35

39

 

 

33

34

43

 

 

 

 

 

 

 

 

 

Censoring Times

 

10

14

14

16

17

18

I

1

3

4

5

8

18

19

20

20

21

21

10

11

13

14

14

15

23

24

29

29

30

30

17

19

20

22

24

24

31

31

31

33

35

37

24

25

26

26

26

28

40

41

42

42

44

46

29

29

32

35

38

39

48

49

51

53

54

54

40

41

44

45

47

47

55

56

 

 

 

 

47

50

50

51

 

 

In Table, a censoring time M means that a woman was observed for M months and did not have a recurrence during that time period, so that her recurrence time is known to exceed M months. For example, 15 women who received the hormone treatment suffered recurrences, and the total of their recurrence times is 280 months.

Let yHi = (xHi , δHi) be the data for the ith person in the hormone group, where xHi is the time and δHi equals 1 if xHi is a recurrence time and 0 if a censored time. The data for the control group can be written similarly.

The likelihood is then

L(θ, τ|y) ∝ θ(ΣδCi +ΣδHi)τ(ΣδHi) exp8 {-θ ΣxCi - τθΣxHi}.

You've been hired by the drug company to analyze their data. They want to know if the hormone treatment works, so the task is to find the marginal posterior distribution of τ using the Gibbs sampler. In a Bayesian analysis of these data, use the conjugate prior

 f(θ, τ) ∝ θaτb exp{-cθ - dθτ}.

Physicians who have worked extensively with this hormone treatment have indicated that reasonable values for the hyperparameters are (a, b, c, d) = (3, 1, 60, 120).

a. Summarize and plot the data as appropriate.

b. Derive the conditional distributions necessary to implement the Gibbs sampler.

c. Program and run your Gibbs sampler. Use a suite of convergence diagnostics to evaluate the convergence and mixing of your sampler. Interpret the diagnostics.

d. Compute summary statistics of the estimated joint posterior distribution, including marginal means, standard deviations, and 95% probability intervals for each parameter. Make a table of these results.

e. Create a graph which shows the prior and estimated posterior distribution for τ superimposed on the same scale.

f. Interpret your results for the drug company. Specifically, what does your estimate of τ mean for the clinical trial? Are the recurrence times for the hormone group significantly different from those for the control group?

g. A common criticism of Bayesian analyses is that the results are highly dependent on the priors. Investigate this issue by repeating your Gibbs sampler for values of the hyperparameters that are half and double the original hyperparameter values. Provide a table of summary statistics to compare your results. This is called a sensitivity analysis. Based on your results, what recommendations do you have for the drug company regarding the sensitivity of your results to hyperparameter values?

I will need the equations and R CODES. R codes are VERY important. I am attaching the book information and the data file.

Attachment:- Assignment.rar

Reference no: EM131049800

Questions Cloud

Share from his employer when the stock price : Jason received 100 NQOs giving him the right to purchase 5 shares of stock for $6 per share from his employer when the stock price was $5 per share. The current share price is $15. Jason will exercise all of the options using a same-day sale.
Compute the companys economic value added : Bon Temps’ financial statements show the following information: Average cost of funds 10.0 % EBIT $ 500,000 Total capital $1,250,000 EPS $2.00 Shares outstanding 150,000 Marginal tax rate 30.0% (1) Compute the company’s economic value added (EVA) (2)..
For a professor earning : For a professor earning 87500 per year who works for a total of 42 years what is the present value of the amount she will earn if the interest rate is 4%
What specific strategies would you suggest : In the increasingly competitive healthcare environment, the effective promotion of healthcare services has become a significant component of marketing strategy. As we enter the discussion, reflect on promotional strategies that you think are mor..
Evaluate the convergence and mixing of your sampler : Derive the conditional distributions necessary to implement the Gibbs sampler. Program and run your Gibbs sampler. Use a suite of convergence diagnostics to evaluate the convergence and mixing of your sampler. Interpret the diagnostics
What is the percentage shift when ? = 90° : Compare this with the shift when the source approaches the observer head-on.
Essential for organisations to understand : 1. What is pure risk and speculative risk? 2. Why is it essential for organisations to understand and be aware of the risks they face?
How far away was the earthquake : how far away was the earthquake? Use the speeds found in Example 16.8 (page 722).
What are expected dividend yield and capital gains yield : Robert Campbell and Carol Morris are senior vice-presidents of the Mutual of Chicago Insurance Company. They are co-directors of the company’s pension fund management division. Assume that Bon Temps is expected to experience supernormal growth of 30%..

Reviews

Write a Review

 

Basic Statistics Questions & Answers

  Poisson distribution with mean

The number of traffic accidents that occurs on particular stretch roas during a month follows a Poisson distribution with mean of 8.5. Find the probability of observing exactly three accidents of this stretch of road next month.

  Number of lenses the employee sorts

1. A new employee is supposed to be sorting coated lenses into one of three bins: ship, rework, or scrap. However, this employee was not well trained  and  sorts 50 lenses by randomly putting each lens in one of the three bins.

  Null hypothesis and two sided alternative hypothesis

For each of the following statistical tests, state the null hypothesis and the two sided alternative hypothesis.

  A resent report indicated an average family of four 2

a resent report indicated an average family of four 2 parents and 2 children under the age of 16 spends 500 per month

  Which is describes how a master budget is used

Which is best describes a nonfinancial performance measure contained in most Balanced Scorecards? Which is describes how a master budget is used?

  Evidence of a difference in the average life of bulbs

Using the 0.05 level of significance, is there any evidence of a difference in the average life of bulbs produced by the two types of machines?

  Expected value of guessing

In multi-choice test, each question has four options. Students wil get 10 points for each correct answer; lose four points for each incorrect answer; and receive no points for unanswered questions.

  In a study conducted to investigate browsing activity by

in a study conducted to investigate browsing activity by shoppers each shopper was initially classified as a in a study

  How much mass is compressed during each compression stroke

a piston cylinder compressor is available for evaluation. the device has an initial volume at the beginning of

  Probability that poll provide a sample distribution

Show the sampling distribution of p. (b) What is the probability that the poll will provide a sample distribution within 0.02 of the population proportion?

  What is the probablitiy of getting a exactly one head b

what is the probablitiy of getting a exactly one head b exactly one tail and c not b in 4 coin

  Explaining population parameter or sample statistic

A recent survey by alumni of a major university indicated that average salary of 8000 of  its 250,000 graduates was $120,000.  Does this signify population parameter or sample statistic?

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