Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

MGT 6203 Homework 1 - Solutions | All Answers are Correct

Beoordeling
-
Verkocht
-
Pagina's
15
Cijfer
A+
Geüpload op
21-10-2021
Geschreven in
2021/2022

Question 1 Choose the correct statement regarding the sum of residuals calculated using Ordinary Least Squares (OLS). A. The sum of residuals will always be nonzero whatever the form of the linear regression as long as you are using OLS to estimate the coefficients. B. The sum of residuals will always be equal to zero if you include intercept term in your model and you are using OLS to estimate the coefficients C. The sum of residuals may or may not be zero when using OLS and the R software makes mathematical adjustments to make it zero. D. The sum of residuals may or may not be zero when using OLS and the R software makes no mathematical adjustments because it is not needed. Sol: B Explanation: The intercept is the catchall term that takes within itself anything that is not being predicted/accounted for by the independent variables. Question 2 Choose the correct statement regarding the error terms in the assumption of Ordinary Least Squares (OLS). A. The error terms are normally distributed with a constant non-zero mean and constant Variance B. The variance of error terms may or may not be constant as long as the terms are normally distributed with mean equal to zero C. The error terms follow lognormal distribution with mean equal to zero and constant variance D. The error terms are normally distributed with mean equal to zero and a constant variance Questions 3 - 6 The National Traffic Study Institute is conducting a study to find out the relationship between the speed at which the car is moving and the distance it takes to stop after applying the brakes. You were hired as a statistician to work on this problem. The data can be accessed as follows: ges(“Ecdat”) library(Ecdat) data(cars) You can easily see that these are the variables present in the dataset and the corresponding units using help command on R console – speed (in mph) and dist (in ft). Use this dataset for the following 5 questions. Question 3 Let’s try to find out if there is a correlation between the distance needed to stop and the speed at which the car is moving. What correlation value do you find when doing this in R? A. 0 B. 0.72 C. 0.81 D. 1 Ans: C Explanation: cor(cars$speed, cars$dist) = 0.806 Question 4 Would you say that distance to stop and speed of the car are? A. Not correlated B. Inversely correlated C. Well correlated D. Perfectly correlated Question 5 Now, let’s fit a linear model with distance needed to stop as the response and speed as the predictor. What is the percent variation explained by speed, intercept, and coefficient of speed? A. 0.65, -17.58 and 3.93 B. 0.65, 17.58 and 3.93 C. 0.65, 8.28 and 0.16 D. 0.89, 0 and 0.31 Ans: A Explanation: Percent variation explained by speed is the R-squared value = 0.65; intercept of speed (from the regression summary table) = -17.58; coefficient of speed (from the table again) = 3.93 Question 6 Now suppose we need to change the units of distance needed to stop from feet to meters and speed from mph to meters per second because we need the results to be standard units. What would be the results for percent variation explained by speed, intercept, and coefficient of speed? A. 0.65, -5.36 and 1.19 B. 0.65, -5.36 and 2.68 C. 0.65, -17.58 and 3.93 D. 0.65, 8.28 and 0.16

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Homework 1 - Solutions

Question 1

Choose the correct statement regarding the sum of residuals calculated using Ordinary Least
Squares (OLS).
A. The sum of residuals will always be nonzero whatever the form of the linear regression
as long as you are using OLS to estimate the coefficients.
B. The sum of residuals will always be equal to zero if you include intercept term in your
model and you are using OLS to estimate the coefficients
C. The sum of residuals may or may not be zero when using OLS and the R software
makes mathematical adjustments to make it zero.
D. The sum of residuals may or may not be zero when using OLS and the R software
makes no mathematical adjustments because it is not needed.

Sol: B Explanation: The intercept is the catchall term that takes within itself anything that is
not being predicted/accounted for by the independent variables.

Question 2

Choose the correct statement regarding the error terms in the assumption of Ordinary Least
Squares (OLS).
A. The error terms are normally distributed with a constant non-zero
mean and constant Variance
B. The variance of error terms may or may not be constant as long as the
terms are normally distributed with mean equal to zero
C. The error terms follow lognormal distribution with mean equal to zero
and constant variance
D. The error terms are normally distributed with mean equal to zero and a
constant variance

Sol: D Explanation: The OLS model assumes that the error terms (residuals) are normally
distributed with mean equals to zero and constant variance (property of homoscedasticity of
variances)


Questions 3 - 6
The National Traffic Study Institute is conducting a study to find out the relationship between
the speed at which the car is moving and the distance it takes to stop after applying the brakes.
You were hired as a statistician to work on this problem. The data can be accessed as follows:
install.packages(“Ecdat”)
library(Ecdat)
data(cars)
You can easily see that these are the variables present in the dataset and the corresponding units
using help command on R console – speed (in mph) and dist (in ft).
Use this dataset for the following 5 questions.

, Question 3
Let’s try to find out if there is a correlation between the distance needed to stop and the speed
at which the car is moving.
What correlation value do you find when doing this in R?
A. 0
B. 0.72
C. 0.81
D. 1
Ans: C Explanation: cor(cars$speed, cars$dist) = 0.806

Question 4
Would you say that distance to stop and speed of the car are?
A. Not correlated
B. Inversely correlated
C. Well correlated
D. Perfectly correlated
Ans: C Explanation: Well-correlated because the value is close to 1 (perfect correlation), but
not exactly.


Question 5
Now, let’s fit a linear model with distance needed to stop as the response and speed as the
predictor. What is the percent variation explained by speed, intercept, and coefficient of speed?
A. 0.65, -17.58 and 3.93
B. 0.65, 17.58 and 3.93
C. 0.65, 8.28 and 0.16
D. 0.89, 0 and 0.31
Ans: A Explanation: Percent variation explained by speed is the R-squared value = 0.65;
intercept of speed (from the regression summary table) = -17.58; coefficient of speed (from the
table again) = 3.93


Question 6
Now suppose we need to change the units of distance needed to stop from feet to meters and
speed from mph to meters per second because we need the results to be standard units. What
would be the results for percent variation explained by speed, intercept, and coefficient of
speed?

Geschreven voor

Vak

Documentinformatie

Geüpload op
21 oktober 2021
Aantal pagina's
15
Geschreven in
2021/2022
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$12.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Examhack Stanford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
300
Lid sinds
4 jaar
Aantal volgers
238
Documenten
999
Laatst verkocht
4 dagen geleden
EASY A GRADE!!

Here, you will find simple, articulate well-researched education material for you. .... ALL WORK HAS PASSED WITHOUT NEEDING REVISIONS AND BY THE RUBRIC.

3.8

61 beoordelingen

5
31
4
11
3
5
2
4
1
10

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen