Perform the mean shift test without bonferroni adjustment

Assignment Help Basic Statistics
Reference no: EM131219630

Q1. Consider the following simple linear regression models for data (x1, y1), (x2, y2), . . . (xn, yn):

M1: yi = β0 + β1xi + εi, i = 1, 2, . . . , n

M2: yi = α0 + α1(xi - x¯) + εi, i = 1, 2, . . . , n

where x¯ = n-1i=1nxi and the errors satisfy Gauss-Markov assumptions.

(a) By equating the right sides of the two model equations show that M1 and M2 are equivalent in the sense that you can express (β0, β1) as functions of (α0, α1) and vice versa.

(b) We can write model M2 in matrix form as

1556_Figure.png

Write down the explicit form of X for this model and use it to obtain a formula for the least squares estimate αˆ. Simplify the formulas for αˆ0 and αˆ1 as much as possible.

(c) Show that var(αˆ) is a 2 x 2 diagonal matrix (a square matrix with zeros off the diagonals).

(d) Consider the estimated mean response for a new value at x = x, given by µˆ = αˆ0 + αˆ1(x - x¯). Show that

var(µˆ) = σ2{(1/n) + ((x - x¯)2/i=1∑n(xi - x¯)2)}

Q2. For the prostate data set, fit a model with lpsa as the response, and the other variables as predictors.

(a) Suppose a new patient with the following values arrives:

lcavol = 1.45000, lweight = 3.59801, age = 63.00000, lbph = 0.30010, svi = 0.00000, lcp = -0.79851, gleason = 7.00000, pgg45 = 15.00000.

Predict the lpsa for this patient along with an appropriate 95% prediction interval.

(b) Now provide a 95% confidence interval for the mean of lpsa for a patient with the same covariate values as in part (a), and explain why the prediction interval is wider than the confidence interval.

(c) Repeat the questions in part (a) for a patient with the same covariate values except that his age is 20. Explain why this prediction interval is wider than that in part (a).

Q3. Using the happy data set, fit a model with happy as the response and all of the other four variables as predictors. Perform regression diagnostics on this model to answer the following questions. Display any plots that are relevant. Do not provide any plots about which you have nothing to say. Suggest possible improvements or corrections to the model where appropriate.

(a) Check the constant variance assumption for the errors.

(b) Check the normality assumption.

(c) Check for large leverage points.

(d) Check for outliers.

(e) Check for influential points.

4. Using the swiss data set, fit a model with Fertility as the response and all of the other variables as predictors. Answer the following.

(a) Produce a plot of the internally Studentized residuals ri versus the ordinary (least squares) residuals εˆi. (Show R code.)

(b) The points in this plot do not exactly fall on a straight line. Briefly explain why. [Hint: What is the formula for the internally Studentized residuals?]

(c) List the externally Studentized residuals ti (which are used as test statistics in the Mean Shift Test).

(d) Perform the Mean Shift Test without Bonferroni adjustment, using α = 0.05. Which provinces are identified as outliers?

(e) Perform the Mean Shift Test with Bonferroni adjustment, using α = 0.05. Which provinces are identified as outliers?

Reference no: EM131219630

Questions Cloud

Is the physiological reaction near or far from equilibrium : Compare the values of Q and K'eq. Is the physiological reaction near or far from equilibrium? Explain. What does this experiment suggest about the role of PFK-1 as a regulatory enzyme?
Compute the cost of goods sold and net sales : George Bailey Corporation experienced a fire on December 31, 2013, in which its financial records were partially destroyed. It has been able to salvage some of the records and has ascertained the following balances. Compute the following for George B..
Determination of the reduction potentials for this enzyme : You should read through the supplemental article on Isocitrate Dehydrogenase and see the lengths to which one must go in order to determine accurate physical quantities.
Proposition for the future : What specific IT Enablers will help you with your business strategy implementation and thereby realize your value proposition for the future?  Example IT Enabler opportunities may include, but are not limited to, the areas of order management, inv..
Perform the mean shift test without bonferroni adjustment : STAT 425 - Fall 2016 Homework. Using the swiss data set, fit a model with Fertility as the response and all of the other variables as predictors. Answer the following. Perform the Mean Shift Test with Bonferroni adjustment, using α = 0.05. Which pro..
Statement concerning accounting standards : Select the incorrect statement concerning accounting standards.
Total product costs for the company under variable costing : Brief Exercise 19-16 The Rock Company produces basketballs. It incurred the following costs during the year. What are the total product costs for the company under variable costing?
Contrast the general fund and special revenue fund : The General Fund and the Special Revenue Fund are subject to comparable accounting and financial reporting principles and they have similar financial transactions. Discuss answers to the following questions and justify your response: Compare and cont..
How is criminal justice system portrayed : How would you explain the reported criminal behavior using at least two theories from the psychological perspectives to each article or news story? Give a complete citation for the selected article and include a digital copy, if possible.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Can classical approach to probability be used to find p

Can the classical approach to probability be used to determine P (less than 60 seconds between green lights)? Why or why not? (d) What about the relative frequency approach? If so, how? If not, why not?

  Standard deviation of the di fference of the measurements

Diastolic blood pressure (DBP) values were measured for 150 patients using two medical devices. The mean DBP values using the two devices are 120 and 122 respectively. Also the standard deviation of the di fference of the measurements is 0.634. Te..

  For the single-sample t test the confidence interval is

for the single-sample t test the confidence interval is centered around theselect onea. population mean.b. standard

  Testing for two proportionsone hundred draws are made at

testing for two proportions.one hundred draws are made at random with replacement from box a and 250 are made at random

  Proportion of women who smoke

A simple random sample of 280 men included 71 who smoke, and a simple random sample of 340 women included 68 who smoke. Use a 0.05 significance level to test the claim that the proportion of men who smoke is greater than the proportion of women wh..

  Suppose we analyzed the effect of grade point averages on

question suppose we analyzed the effect of grade point averages on grades in a specific class and found the results to

  You were told that the amount of time lapsed between

1. the amount of tea leaves in a can from a particular production line is normally distributed with u 110 grams and o

  Success probability of o-ring

What was the success probability of each O-ring?

  Maximize the area of rectangular patio

I have 400 feet of lumber to frame a rectangular patio. I want to maximize the area of the patio. What should the dimensions of th patio be.

  Find probability that fewer patients are chain smokers

Calculate the probability that fewer than half of the patients are chain smokers. b) suppose that 20 patients with lung cancer are admitted to the hospital.

  Probability that all selected vials have hairline cracks

In a shipment of 79 vials, only 17 do not have hairline cracks. If you randomly select 3 vials from the shipment, what is the probability that all 3 of the selected vials have hairline cracks?

  Generate independent random numbers

c. Calculate the mean of the 100 estimates of b1' Does it appear that hi is an unbiased destination of ß1 despite the presence of positive autocorrelation?

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