Georgia Institute Of Technology Summer MGT 6203 FINAL EXAM PART2 – CODING
6 views 0 purchase
Course
MGT
Institution
MGT
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...
georgia institute of technology summer mgt 6203 final exam part2 – coding
Written for
MGT
All documents for this subject (103)
Seller
Follow
Garcia
Reviews received
Content preview
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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Garcia. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.