Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. The file w logret 3automanu.txt contains the weekly log returns of three auto manufacturers, General Motors Corp., Ford Motor Corp., and Toyota Motor Corp.,

3. The file w logret 3automanu.txt contains the weekly log returns of three auto manufacturers, General Motors Corp., Ford Motor Corp., and Toyota Motor Corp., from the week of January 3, 1994 to the week of June 25, 2007. Consider the regression model GM = ?0 + ?1Toyota + ?2Ford + .

Write R code to solve the following.

(a) Estimate ?0, ?1 and ?2 by least squares and give their 95% confidence intervals.

(Note the confidence intervals can be obtained by confint(fit,level=0.95), where fit is the fitted model from lm().)

(b) Test the null hypothesis H0 : ?1 = 0 vs HA : ?1 6= 0 and give the pvalue.

(c) Perform regression diagnostics of the fitted regression model by relevant plots and statistics. Conclusions must be based on patterns observed in the plots or values of the statistics.

(d) Identify high leverage observations based on Cook's distance, if there are any.

image text in transcribed
3. The file w_logret_3automanu. txt contains the weekly log returns of three auto man- ufacturers, General Motors Corp., Ford Motor Corp., and Toyota Motor Corp., from the week of January 3, 1994 to the week of June 25, 2007. Consider the regression model GM = Bo + BiToyota + 32 Ford + E. Write R code to solve the following. (a) Estimate Bo, B1 and 32 by least squares and give their 95% confidence intervals. (Note the confidence intervals can be obtained by confint (fit, level=0.95), where fit is the fitted model from Im ().) (b) Test the null hypothesis Ho : B1 = 0 vs HA : B1 + 0 and give the pvalue. (c) Perform regression diagnostics of the fitted regression model by relevant plots and statistics. Conclusions must be based on patterns observed in the plots or values of the statistics. (d) Identify high leverage observations based on Cook's distance, if there are any

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transportation A Global Supply Chain Perspective

Authors: John J. Coyle, Robert A. Novak, Brian Gibson, Edward J. Bard

8th edition

9781305445352, 1133592961, 130544535X, 978-1133592969

More Books

Students also viewed these Mathematics questions