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

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

expert
Robert DLaw
(4.8/5)

927 Answers

Hire Me
expert
Drake WeberPhilosophy
(5/5)

652 Answers

Hire Me
expert
Eric BanaEnglish
(5/5)

561 Answers

Hire Me
expert
David BennettBusiness
(5/5)

674 Answers

Hire Me
R Programming
(5/5)

Describe the variable in a few words. briefly explain your a priori belief on the impact that V may have on slpnaps

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

General guidelines

The report should be made up of two parts. Make sure that both files contain your full name along with your student number.

1. Main body: It will contain all your analyses, numerical results (tables. figures,...), comments, and answers to the questions below. Every statistical procedure (regression, test. ...) should be reported with aU the relevant numerical values (coefficients. statistics, p-values. ...). forever, all writing should be in complete sentences. The main body should not be hand-written, and it will be a PDF file.

2. R. script: Your R script will contain all the instructions that are necessary to run the regressions, tests. ... reported in the main body. Ir should be free from errors and, as much as possible, linear(i.e. in the same order as the questions below). It should be a standard R file.

If you have any the question, or if you find typos and or mistakes in the questions, do not hesitate to send an e-mail the full report should be sent Late submissions will not be graded.

Dataset

In this study, we focus on the SleepT5 dataset which can be found in the Wooldridge package iii R.

If this is not already the case, you can install the Wooldridge package by typing install .package(”Wooldridge”)Then you can open and attach the Sleep75 dataset by executing the following block of instructions:

library (Wooldridge)

attach( sleep75)

We are interested in relating the variable snaps. corresponding to the weekly amount of time(in minutes) an individual sleep (including naps), to the following G variables: work. Educ, age.

male. Ingrid. and south. The definition of each variable can be found by executing the instruction?sleep75. The goal of this study is to understand what are the important factors that determine the

variable snaps.

Questions

1. For each V  {totwrk. Educ. age. male. Ingrid, South}

. Describe the variable in a few words. Give (and briefly explain) your a priori belief on the

impact that V may have on slpnaps (there are no wrong answers!).

. Run the simple linear regression:

slpnaps = o + ß1V1 + U1.

. Report the LSE, the related 95% confidence intervals, R2, the t-statistics, and the p-values for both coefficients.

. Report the scatter plot (V, slpnaps) along with the best-fit regression line.

. Analyse the significance and the sign of the relationship between slpnaps and each explanatory variable according to the simple regression. Compare this with your belief fromthe first bullet point.

. Explain what is the average impact (in minutes) of an increase of one unit in the explanatory variable V on slpnaps. (You will need to analyze the impacts of the variables male, southand yngkid differently, since they are categorical).

2. Rank the above regressions according to their R2, and find the best explanatory variable according to the simple regressions.

3. We now turn to the multiple linear regression.

(a) We first check that the numerical variables are not too close to collinearity. Calculate andreport all the correlations between any pair of variables among { totwrk. educ. age. male.yngkid. south). What are the two most correlated variables? Usually, we consider thatif at least one of the correlations exceeds 0.8 in absolute value, there is a risk of multicollinearity. Does any correlation exceed 0.8 in absolute value?

Hint: You can type

v<—c( ‘totwrk ‘, ‘educ ‘ , ‘age’ . ‘male’ , ‘yngkid ‘ , ‘south’)

cor(sleeplvi) to calculate all the correlations at once.

(b) Fit the multiple linear model slpnaps, = fl + /31totwrk + S2educ1 + 33age1 + ß4male (1)+ yngkid, + 86south1 + U1

(5/5)
Attachments:

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