ACT-SCI-654-HW-9.pdf - ACT SCI 654 Homework#9 November 7 2019 1 ACT SCI 654 HW 9 Frees 4.5 Part 1 a

ACT-SCI-654-HW-9.pdf - ACT SCI 654 Homework#9 November 7...

This preview shows page 1 - 3 out of 4 pages.

ACT SCI 654 Homework #9 November 7, 2019 1
Image of page 1
ACT SCI 654 HW 9 Frees 4.5 Part 1 a Wisc<- read.csv ( "C:\\Users\\22916\\OneDrive\\Documents\\data\\WiscLottery.csv" ) model1<- lm (SALES ~ PERPERHH + MEDSCHYR + MEDHVL + PRCRENT + PRC55P + HHMEDAGE + MEDINC + POP, data = Wisc) summary (model1) ## ## Call: ## lm(formula = SALES ~ PERPERHH + MEDSCHYR + MEDHVL + PRCRENT + ## PRC55P + HHMEDAGE + MEDINC + POP, data = Wisc) ## ## Residuals: ## Min 1Q Median 3Q Max ## -6825.1 -1910.8 50.1 1099.8 14012.8 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 4.698e+04 3.267e+04 1.438 0.1581 ## PERPERHH -2.820e+03 4.034e+03 -0.699 0.4885 ## MEDSCHYR -3.762e+03 1.661e+03 -2.265 0.0289 * ## MEDHVL 1.504e+02 6.599e+01 2.279 0.0279 * ## PRCRENT -5.890e+01 9.393e+01 -0.627 0.5341 ## PRC55P -2.391e+02 3.391e+02 -0.705 0.4849 ## HHMEDAGE 3.080e+02 5.307e+02 0.580 0.5649 ## MEDINC -8.733e+01 1.342e+02 -0.651 0.5189 ## POP 6.645e-01 6.693e-02 9.929 1.81e-12 *** ## --- ## Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 ## ## Residual standard error: 3580 on 41 degrees of freedom ## Multiple R-squared: 0.8367, Adjusted R-squared: 0.8048 ## F-statistic: 26.25 on 8 and 41 DF, p-value: 8.407e-14 cor (model1 $ fitted.values,Wisc $ SALES) ## [1] 0.9146996 b Multiple R-squared= 0.8367 b(i) b(i) The correlation between observed and fitted values is a square root of R-squared, which is 0.9147. b(ii) H0 : There is no relationship between the Sales and all 8 explanatory variables.That is,the coefficients of the variables are equal to zero.
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 4 pages?

  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes