# 0 14 3898 the variables are temp average monthly

• Test Prep
• 4

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

##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook. The document you are viewing contains questions related to this textbook.
Chapter 1 / Exercise 14
Precalculus: Mathematics for Calculus
Redlin/Stewart Expert Verified
6 81.0 145642618914 38.98The variables are:TEMP: average monthly temperaturePROD: amount of monthly productionDAYS: number of operating days in the monthPAYR: number of people on the monthly payrollHOUR: number of hours the plant was shut down for maintenanceUSAGE: amount of monthly water usagea. WriteRcode to compute the six means and 6×6 sample variance matrix for thevariables in this dataset.b. WriteRcode to fit the linear regression modelUSAGEi=β0+β1TEMPi+β2PRODi+β3HOURi+εi,and to extract the MLEˆβ.3
##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook. The document you are viewing contains questions related to this textbook.
Chapter 1 / Exercise 14
Precalculus: Mathematics for Calculus
Redlin/Stewart Expert Verified
Practice Problems 1c. A portion of the regression printout upon fitting the model in (b) to the data is givenbelow:Call:lm(formula = USAGE ~ TEMP + PROD + HOUR, data = water)Residuals:Min1QMedian3QMax-5.3223 -2.58380.34862.25405.8196Coefficients:Estimate Std. Error t value Pr(>|t|)(Intercept) 16.33973995.65015072.8920.01260 *TEMP0.10057760.06595071.5250.15120PROD0.00080460.00025273.1830.00719 **HOUR-0.00449100.0326203-0.1380.89261---Signif. codes:0’***’0.001’**’0.01’*’0.05’.’0.1’ ’1Residual standard error: 3.543 on 13 degrees of freedomMultiple R-squared:0.4892,Adjusted R-squared:0.3714F-statistic: 4.151 on 3 and 13 DF,p-value: 0.02875i. How many observationsndoes this dataset contain?
• • • 