+61-413 786 465

info@mywordsolution.com

## Statistics

Question 1. 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) Repeat the questions in (a) for a patient with the same values except that he is age 20. Explain why the prediction interval is wider.

(c) For the model of the previous question, remove all the predictors that are not significant at the 5% level. Using the reduced model recompute the predictions for the x values given in the previous questions (a) and (b). Are the new prediction intervals wider or narrower than in parts (a) and (b)? Which predictions would you prefer? Explain.

Question 2. 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?

Question 3. Using the eco data set, fit a model with home as the response and all of the other variables as predictors. Answer the following parts.

In parts (b) through (g), you should draw a specific conclusion and clearly refer to the diagnostic tool(s) (plots or statistics) you used to draw your conclusion.

(a) Produce the four default diagnostic plots given by R.

(b) Using an appropriate diagnostic plot, check the functional form of the relationship between the mean response and the predictors.

(c) Check the assumption of constant variance.

(d) What is the largest (most positive) least-squares residual value? What is the smallest (most negative) least-squares residual value?

(e) Which observation has the greatest leverage value?

(f) Check for outliers. (You may use diagnostic plots - a formal test is not necessary.)

(g) Check for influential points.

Question 4. Using R, produce a grid of 9 normal probability plots (qqnorm) for samples of size n = 50 simulated independently from a geometric distribution with parameter prob equal to 0.4.

(Refer to the last section of the Diagnostics in Linear Regression slides. Use the R function rgeom to simulate from the geometric distribution.)

(a) Display your plots and the R code you used to produce them.

(b) Describe two distinct ways in which these plots tend to differ in appearance from what you would expect for normally-distributed data.

Applied Statistics, Statistics

• Category:- Applied Statistics
• Reference No.:- M93109261
• Price:- \$45

Priced at Now at \$45, Verified Solution

Have any Question?

## Related Questions in Applied Statistics

### Business statistics assignment -the purpose of this

Business Statistics Assignment - The purpose of this assignment is to improve your understanding in choosing between and using methods to assess the relationship between variables and make comparisons across different se ...

### Assignment -in this assignment ms excel must be used to

Assignment - In this assignment MS Excel must be used to perform any calculations/graphical presentations as required in this assignment. Question 1 - Below you are given the examination scores of 20 students (data set a ...

### What are the uses of the chi-square test in terms of data

What are the uses of the chi-square test in terms of data analysis for quality, safety, and patient safety? Provide two specific examples of when a HIM professional would use chi-square and why.

### 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 ...

### Analysis - comparing group means background and objectives

Analysis - Comparing group means Background and objectives - The balance_FALL17.xlsx dataset represents data from a fictitious study that explores the impact of two different interventions designed to help elderly client ...

### Part a -question 1 - true or false in data collection the

Part A - Question 1 - True or False: In data collection, the most common technique to ensure proper representation of the population is to use a random sample. True False Question 2 - Most analysts focus on the cost of H ...

### A company produces labeled packaging material and the

A company produces labeled packaging material and the company intends to buy a new machine for shaping and labeling. The company has been approached by two different companies and the production manager did a test on the ...

### Assignment -a psychologist was interested in evaluating the

Assignment - A psychologist was interested in evaluating the effectiveness of a domestic violence prevention program in changing attitudes towards domestic violence in a sample of high school students. The psychologist r ...

### 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 ...

### Business statistics assignment -quiz 1 -question 1 - a

Business Statistics Assignment - Quiz 1 - Question 1 - A study is under way in the Otway National Park to determine the mature height of Mountain Ash gum trees. Specifically, the study is attempting to determine what fac ...

• 13,132 Experts

## 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.

### 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