logo Hurry, Grab up to 30% discount on the entire course
Order Now logo
614 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Robert DLaw
(4.8/5)

847 Answers

Hire Me
expert
Faith BrownComputer science
(5/5)

975 Answers

Hire Me
expert
Arthur AskeyData mining
(5/5)

841 Answers

Hire Me
expert
Stanley BaxterComputer science
(5/5)

837 Answers

Hire Me
SAS
(5/5)

How to use GLS in the presence of heteroskedasticity

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Topics covered in this lab:

• Effect of heteroskedasticity

• How to detect heteroskedasticity

•How to use GLS in the presence of heteroskedasticity

Data Description

There are 6 variables in the data, with descriptions in order as follows: cigs, number of cigarette smoked per day, income, annual income in dollars, cigpric, state cigarette price, cents per pack, educ, years of schooling, age, in years, and restaurn, a dummy variable which equals 1 if state imposes restaurant smoking restrictions.

Tasks

1. Read in the data from the external text file, carry out the necessary data transformations and additional variable creation.

2. Use the reg procedure to carry out the following tasks.

ORegress cigs on log(income), log(cigpric), educ, age, age2, and restaurn. Save and submit a copy of the results.

• Carry out the White test. Is there evidence of heteroskedasticity?

• Test whether coefficients of log(income) and educ are significant or not using the heteroskedastic-robust standard errors. Report the results of the tests.

3. Follow the following steps to use the weighted least squares to implement the feasible GLS.

• Run the original regression and save the residuals as uhat.

• Create log(uhat2) by first squaring the OLS residuals and then taking the natural log.

• Run the regression of log(uhat2) on the same set of the regressors and save the fitted values; call these ghat. Are these regressors jointly significant?

• Take the reciprocal of the exponentiation of the fitted values to get h_hat = 1/exp(ghat).

• Estimate the original equation by WLS, using h_hat as weights. Save and submit a copy of the results.

• Conduct the White test for the WLS. Is there still evidence of heteroskedasticity?

 

(5/5)
Attachments:

Expert's Answer

614 Times Downloaded

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme