lab6.pdf - HAI LAM NGUYEN-V00914037 u2013 LAB 06 >...

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

HAI LAM NGUYEN -V00914037 LAB 06 > silkw.data = read.table(file = "silkw.txt", header = T) > pairs(silkw.data, pch = 19) > my.model = lm(Y ~ ., data = silkw.data) > summary(my.model) Call: lm(formula = Y ~ X1 + X2, data = silkw.data) Residuals: Min 1Q Median 3Q Max -0.071886 -0.049513 -0.001636 0.030004 0.129092 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 2.58810 0.08349 31.001 7.98e-13 *** X1 -0.37802 0.06630 -5.701 9.89e-05 *** X2 0.87677 0.17234 5.087 0.000267 *** --- Signif. codes: 0 ‘***’0.001 ‘**’0.01 ‘*’0.05 ‘.’0.1 1 Residual standard error: 0.06263 on 12 degrees of freedom Multiple R-squared: 0.9079, Adjusted R-squared: 0.8926 F-statistic: 59.16 on 2 and 12 DF,

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture