MGT 6203 MIDTERM PART 2– SOLUTION KEY CODING QUESTIONS with ANSWERS
MIDTERM – SOLUTION KEY CODING QNS Q21) Please estimate a linear regression model (using the lm function) with Personal as the dependent variable and Room.Board as the independent variable. What are the model’s Rsquared and adjusted R-squared values? a) 0.00549, 0.048 b) 0.0143, 0.022 c) 0.0398, 0.0385 d) 0.0325, 0.0336 Answer: C (Week 1 Lesson 4) library("ISLR") data("College") summary(lm(College$Personal~College$Room.Board)) ## ## Call: ## lm(formula = College$Personal ~ College$Room.Board) ## ## Residuals: ## Min 1Q Median 3Q Max ## -1153.1 -444.6 -92.3 316.0 5505.2 ## ## Coefficients: ## Estimate Std. Error t value Pr(|t|) ## (Intercept) 1877.14827 97.64374 19.224 2e-16 *** ## College$Room.Board -0.12312 0.02173 -5.666 2.06e-08 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 663.9 on 775 degrees of freedom ## Multiple R-squared: 0.03977, Adjusted R-squared: 0.03853 ## F-statistic: 32.1 on 1 and 775 DF, p-value: 2.065e-08
École, étude et sujet
- Établissement
- Georgia Institute Of Technology
- Cours
- MGT 6203
Infos sur le Document
- Publié le
- 23 septembre 2021
- Nombre de pages
- 15
- Écrit en
- 2021/2022
- Type
- Examen
- Contient
- Questions et réponses
Sujets
-
mgt 6203 midterm part 2
-
mgt 6203
-
mgt6203 midterm part 2