Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

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?

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91975575

Have any Question?


Related Questions in Statistics and Probability

In a class there are 7 girls and 5 boys the median age of

In a class there are 7 girls and 5 boys. The median age of the 7 girls is 12 and the median age of the 5 boys is 14. Additionally, you know that there are 3 girls with age greater than 14 and 2 boys with age less than 12 ...

Runzheimer international publishes business travel costs

Runzheimer International publishes business travel costs for various cities throughout the world. In particular, they publish per diem totals that represent the average costs for the typical business traveler, including ...

Suppose that we take a random sample of 49 people from this

Suppose that we take a random sample of 49 people from this segment of the population. What is the probability that the mean number of days of disability of this sample will be greater than 6 days?

A random sample ofnbsp86nbspeighth grade students scores on

A random sample of 86 eighth grade? students' scores on a national mathematics assessment test has a mean score of 292. This test result prompts a state school administrator to declare that the mean score for the? state' ...

Assume that the coin is weighted so that a tail is 6 times

Assume that the coin is weighted so that a tail is 6 times as likely as a head. The coin is flipped 9 times. 1) What is the probability that both heads and tails occur?

What does the real world evidence say about the law of one

What does the real world evidence say about the law of one price?

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 intermediate calculations. Round your answer to 2 decimal places.)

Financial management how can a financial manager use the

Financial Management How can a financial manager use the time value of money(TVM) concept to accomplish this goal?

As an experiment the investigators decided to take two

As an experiment, the investigators decided to take two measurements on the patient. One measurement will be made using the precise machine (withσI= 5) and the other will be made using the less precise machine (withσII= ...

Seedlings come in packages of 10 and consist of the

Seedlings come in packages of 10 and consist of the following: 2 Douglas-fir, 3 spruce, and 5 pines. In any given package, how many ways can the 10 seedlings be arranged if seedlings that are the same species cannot be d ...

  • 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