powered by
The table5.2 data frame has 53 observations on energy usage (KWH) and corresponding demand (KW) at a sample of residences. This is the Electric Utility Data of Example 5.1.
table5.2
data(table5.2)
This data frame contains the following columns:
a numeric vector of customer IDs
a numeric vector of energy usage values
a numeric vector of demand values
plot(y ~ x, xlab = "Usage", ylab = "Demand", data = table5.2) anova(lm(y ~ x, data = table5.2)) # Note the typo in Table 5.3 for SS Regression
Run the code above in your browser using DataLab