Need help with the following 4 questions:
For #14, im not 100% sure but guessing its a) could be wrong
#15, think its d) but not 100% sure either but it could be
because gears3 is not in the regression model
#28 & 29, no clue
Question 14 (4 points) The mtcars dataset have gears variable representing the number of gears (3, 4 or 5) in a vehicle. Modeling mpg (miles per gallon) depending on the number of gears in a vehicle gives following output; Im(formula = mpg - gears, data = mtcars) Residuals: Min 1Q Median 30 Max -6.7333-3.2333 -0.9067 2.8483 9.3667 Coefficients: Estimate (Intercept) 16.107 gears4 8.427 gears5 5.273 Std. Error 1.216 1.823 2.431 t value 13.250 4.621 2.169 Pr(>1t1) 7.87e-14 *** 7.26e-05 *** 0.0384 * 1 Signif. codes: 0 ***** 0.001 0.01 '*' 0.05 0.11 Residual standard error: 4.71 on 29 degrees of freedom Multiple R-squared: 0.43, Adjusted R-squared: 0.39 F-statistic: 10.9 on 2 and 29 DF, p-value: 0.0002948 Choose a correct answer from the following. Model explains 61% of the variance in all data Model explains 39% of the variance in the gears Model explains 29% of the variance in residuals Model explains 39% of the variance in the mpg
Question 15 (4 points) The mtcars dataset have gears variable representing the number of gears (3, 4 or 5) in a vehicle. Modeling mpg (miles per gallon) depending on the number of gears in a vehicle gives following output; Im(formula = mpg - gears, data = mtcars) Residuals: Min 1Q Median 30 Max -6.7333-3.2333 -0.9067 2.8483 9.3667 Coefficients: Estimate (Intercept) 16.107 gears4 8.427 gears5 5.273 Std. Error 1.216 1.823 2.431 t value 13.250 4.621 2.169 Pr(>It) 7.87e-14 *** 7.26e-05 *** 0.0384 * Signif. codes: O'**** 0.001 '*** 0.01 0.05 0.1''1 Residual standard error: 4.708 on 29 degrees of freedom Multiple R-squared: 0.4292, Adjusted R-squared: 0.3898 F-statistic: 10.9 on 2 and 29 DF, p-value: 0.0002948 Given the model coefficients, what is the effect of 3 gears on mpg? 5.273 8.427 16.107 Model ignored 3 gears because the effect is insignificant
Question 28 (4 points) Consider the following small set of numbers for clustering: 4; 14; 12; 6; 8. Choose 6 and 12, as initial centroids. Apply one iteration of k-means algorithm. What are the new cluster centroids after the first iteration? 6 and 12 6 and 13 8 and 13 8 and 12
Question 29 (4 points) [Multi-Select Question]: The purpose of applying Principal Component Analysis on a dataset is to help reduce the dimensions. to decorrelate the input variables. to improve the classification accuracy. to explain the variance in dependent variable.
Need help with the following 4 questions: For #14, im not 100% sure but guessing its a) could be wrong #15, think its d)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Need help with the following 4 questions: For #14, im not 100% sure but guessing its a) could be wrong #15, think its d)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!