100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Georgia Institute Of Technology Summer MGT 6203 FINAL EXAM PART2 – CODING

Beoordeling
-
Verkocht
-
Pagina's
17
Cijfer
A+
Geüpload op
07-04-2022
Geschreven in
2021/2022

Week 4 Use the dataset to answer questions from 1 to 3: 1. Using the function lm, create a linear regression that regresses “Rings” onto “Diameter” and “Height” (i.e., “Rings” is the response variable and “Diameter” ,“Height” are the independent variables). Which one of the following statements is FALSE? a. Diameter is significant at a 5% Confidence Interval b. R-Squared is 0.35 c. The intercept is 11.71 d. One unit of change in height causes the number of rings to increase by 19.81 on average keeping "Height" constant Explanation: The intercept is 2.3939 (Lesson 1, Video 7, Slide 4)2. Using the function lm, create a linear regression that regresses “Rings” onto all the features except “Type”. From this new model, which three features have the highest VIF score? a. LongetstShell, WholeWeight, Diameter b. Height, Diameter, ShellWeight c. ShellWeight, ShuckedWeight, VisceraWeight d. VisceraWeight, Height, LongestShell Explanation: See code below (Lesson 1 / Video 8/ Slides 12 - 15) 3. Create two separate datasets from . The first data set will contain Male (M) abalones and infant (I) abalones. The second dataset will contain Female (F) abalones and infant (I) abalones. Now use a linear regression model to compute the difference estimator (average difference in diameter) for each dataset (taking infant as the reference in each case). a. 0.125, 0.118 b. 0.113, 0.128 c. 0.128, 0.113 d. 0.118, 0.125 Explanation: The b1 coefficient for each model is 0.113 and 0.128 respectively. See summaries below (Lesson 5/ Video 3 / Slide 4 and Lesson 5/ Video 4/1-10) Commented [JD1]: 3 and 4 are the same. So need to omit one of them Commented [HW2R1]: DoneUse the A dataset to answer Q4-5 Fit a logistic regression model using Admitted as the response variable and all the other variables as independent variables. Once the model is done, predict the probabilities of getting admitted for all the datapoints. Using a threshold of 0.75 identify the students as admitted using predicted probabilities (i.e., if probability > 0.75 identify the student as admitted). 4. What is the Accuracy of the logistic regression model? a. 0.84 b. 0.88 c. 0.76 d. None of the above

Meer zien Lees minder
Instelling
Vak










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Vak

Documentinformatie

Geüpload op
7 april 2022
Aantal pagina's
17
Geschreven in
2021/2022
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Summer MGT 6203 FINAL EXAM
PART2 – CODING
Week 4
Use the abalone.csv dataset to answer questions from 1 to 3:

1. Using the function lm, create a linear regression that regresses “Rings” onto “Diameter” and
“Height” (i.e., “Rings” is the response variable and “Diameter” ,“Height” are the
independent variables). Which one of the following statements is FALSE?
a. Diameter is significant at a 5% Confidence Interval
b. R-Squared is 0.35
c. The intercept is 11.71
d. One unit of change in height causes the number of rings to increase by 19.81 on
average keeping "Height" constant

Explanation: The intercept is 2.3939 (Lesson 1, Video 7, Slide 4)

,2. Using the function lm, create a linear regression that regresses “Rings” onto all the features
except “Type”. From this new model, which three features have the highest VIF score?
a. LongetstShell, WholeWeight, Diameter
b. Height, Diameter, ShellWeight
c. ShellWeight, ShuckedWeight, VisceraWeight
d. VisceraWeight, Height, LongestShell

Explanation: See code below (Lesson 1 / Video 8/ Slides 12 - 15)




3. Create two separate datasets from abalone.csv. The first data set will contain Male (M) Commented [JD1]: 3 and 4 are the same. So need to omit
abalones and infant (I) abalones. The second dataset will contain Female (F) abalones and one of them
infant (I) abalones. Now use a linear regression model to compute the difference estimator
(average difference in diameter) for each dataset (taking infant as the reference in each Commented [HW2R1]: Done
case).
a. 0.125, 0.118
b. 0.113, 0.128
c. 0.128, 0.113
d. 0.118, 0.125

Explanation: The b1 coefficient for each model is 0.113 and 0.128 respectively. See
summaries below (Lesson 5/ Video 3 / Slide 4 and Lesson 5/ Video 4/1-10)

, Use the Admissions.csv dataset to answer Q4-5

Fit a logistic regression model using Admitted as the response variable and all the other variables as
independent variables. Once the model is done, predict the probabilities of getting admitted for all
the datapoints. Using a threshold of 0.75 identify the students as admitted using predicted
probabilities (i.e., if probability > 0.75 identify the student as admitted).

4. What is the Accuracy of the logistic regression model?
a. 0.84
b. 0.88
c. 0.76
d. None of the above

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.
Garcia Walden University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
917
Lid sinds
5 jaar
Aantal volgers
396
Documenten
2114
Laatst verkocht
2 weken geleden
High Scoring Grades

I have everything you need to score high in your exams!!

4,1

154 beoordelingen

5
97
4
15
3
22
2
8
1
12

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

Veelgestelde vragen