final_q2.docx - Final Exam Steven Question 2 model2 =...

This preview shows page 1 - 5 out of 5 pages.

Final Exam Steven 12/5/2020 Question 2: model2 = lm (Species ~ Sepal.Length + Petal.Length + Petal.Width, data = final_subset) summary (model2, correlation = TRUE ) ## ## Call: ## lm(formula = Species ~ Sepal.Length + Petal.Length + Petal.Width, ## data = final_subset) ## ## Residuals: ## Min 1Q Median 3Q Max ## -0.75198 -0.09957 0.00398 0.10831 0.56007 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 1.41713 0.13054 10.856 < 2e-16 *** ## Sepal.Length -0.19057 0.02962 -6.434 5.01e-10 *** ## Petal.Length 0.26233 0.03088 8.496 9.85e-16 *** ## Petal.Width 0.59906 0.05875 10.197 < 2e-16 *** ## --- ## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## ## Residual standard error: 0.1985 on 295 degrees of freedom ## Multiple R-squared: 0.9416, Adjusted R-squared: 0.941 ## F-statistic: 1585 on 3 and 295 DF, p-value: < 2.2e-16 ## ## Correlation of Coefficients: ## (Intercept) Sepal.Length Petal.Length ## Sepal.Length -0.96 ## Petal.Length

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture