Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Assignment

Data on air pollution were collected from 41 U.S. cities. The type of air pollution under study was the annual mean concentration of sulfur dioxide. The values of six explanatory variables were also recorded. The variables in the data are as follows:

y : the annual mean concentration of sulfur dioxide (micrograms per cubic meter)
?x1 : average annual temperature in oF
?x2 : number of manufacturing enterprises emplying 20 or more workers
?x3 : population size (thousands)
?x4 : average annual wind speed (mph)
?x5 : average annual precipitation (inches)
?x6 : average number of days with precipitation per year

A model relating y to the six explanatory variables is of interest in order to determine which of the six explanatory variables are related to sulfur dioxide pollution and to be able to predict air pollution for given values of the explanatory variables.

1. Relationship between y and x, and collinearity.

(a) Plot y versus each of the explanatory variables. From your plots determine if higher order terms are needed in any of the explanatory variables.

(b) Using correlation coecients, determine whether there is any evidence of collinearity in the data.

(c) Obtain VIF for each of the explanatory variables from tting a regresson model with y as the response and all six explanatory variables, x1 through x6, as predictors. Does there appear to be any collinearity problems based on the VIF values?

2. Model selection.

(a) Use the best subset regression to obtain the two best models of all possible sizes of p. Obtain values for R2, R2adj , Cp, and s(i.e.,s) for each of the models.

(b) Based on the information from part (a) and using R2adj as your model selection criterion, select the model that you think is best.

(c) Using the information from part (b), which variables were most highly related to sulfur dioxide air pollution?

3. Checking model assumptions. Using your model selected from 2(b), do the following:

(a) Do the residuals appear to have a normal distribution? Justify your answer.

(b) Does the condition of constant variance appear to be satised? Justify your answer.

(c) Find an appropriate transformation of Y so that the assumptions for regression will be satised. Find the "best" model using the transformed Y and the backward variable selection method.

4. Outlying and inuential observations: based on the model you selected in problem 3(c) using transformed Y , do the following:

(a) Do any of the data points appear to have high inuence? Leverage? Justify your answer.

(b) If you identied any high leverage or high inuence points in part (a), compare the estimated models with and without these points

5. Prediction for new observations: based on the model you selected in problem 3(c) using transformed Y , do the following:

(a) Estimate the average level of sulfur dioxide content of the air in a city having the following values for the six explanatory variables: x1 = 60, x2 = 150, x3 = 600, x4 = 10, x5 = 40, and x6 = 100.

(b) Place a 95% condence interval on your estimated sulfur dioxide level and interpret this interval.

(c) Place a 95% prediction interval on your estimated sulfur dioxide level and interpret this interval.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92307193

Have any Question?


Related Questions in MATLAB

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

  • 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