本次澳洲代写主要为数学回归分析的assignment
Math1312: Regression Analysis Assignment 3
1. (Data: “asphalt “)
The data (n = 31) deals with pavement durability which contains measurements on
the following variables:
y
x1
=
=
change in rut depth
viscosity of rut depth
x2 = % of asphalt in the surface course
x3 = % of asphalt in the base course
x4 = % of fines in the surface course
x5 = % of voids in the surface course
x6 = run indicator
x6
is a run indicator which separates the data into two different experimental runs.
(a) Fit the full regression model with six predictors to the data set and use the
ANOVA table to assess its overall fit.
(b) Exhibit the fitted equation for y when the run indicator is 1 and when it is -1. (c)
Use All Possible Subsets regression to select the best model based on their R2
values.
Perform all diagnostic tests and check the adequacy of this model.
2. (Data: “byssinosis”)
The data were collected from a group of workers in the cotton industry to assess the
prevalence of the lung disease byssinosis among these workers. This disease is caused
by long term exposure to particles of cotton, hemp, flax and jute working in this type of
environment. It can result in asthma-like symptom which can lead to death among
sufferers. The response variable y is binary and refer to number of workers suffering
(response = yes) and not suffering (response = no) and the predictors are:
xl = dustiness of the workplace (1 = high, 2 = medium, 3 = low)
x2 = race ( 1 = European, 2 = other)
x3 = sex ( 1 = male, 2 = female)
x4 = smoking history (1 = smoker, 2 = nonsmoker)
x5 = length of employment in the cotton industry
(1 = less than 10 years, 2 = between 10 and 20 years,
3 = more than 20 years)
Notice that all five predictors are qualitative variables and the responses are entered in
the event/trial format.
(a) Fit a logistic regression model to the data set and discuss which of the predictors
have a significant effect on the presence of byssinosis.
(b) Discuss the adequacy of the logistic regression model.
(c) (Needs to be done manually or by hand) From the final model you have selected in part (a), determine the probability that a person will suffer from byssinosis if given