| Course | QSO 370 Predictive Analytics |
|---|---|
| Module | Module 2 |
| Paper type | undergraduate assignment building and comparing multiple linear regression models to predict a quantity, checking residuals and testing on held-out data |
| Length | About 1,000 words, 6 pages |
| Format | APA 7 student paper |
| School | Southern New Hampshire University |
| Program | BS Operations Management |
| Updated | October 2026 |
Free sample paper for QSO 370 Module 2
Point One Gallon per Degree Day: Regression Models for Heating Oil Deliveries at Ledgewood Fuel
[Student Name]
Southern New Hampshire University
QSO 370: Predictive Analytics
Regression Assignment
[Instructor Name]
[Date]
The organization, setting and figures below are a composite written as a model document. No real employer, client, colleague or patient is described.
Point One Gallon per Degree Day: Regression Models for Heating Oil Deliveries at Ledgewood Fuel
Introduction
Ledgewood Fuel Company schedules deliveries for its 14,600 automatic customers by estimating how much oil each tank has used since the last fill. When the estimate is too high, trucks arrive early and drop small loads; when it is too low, customers run out. Last winter the average stop took only 128 gallons, well below the 150 the company considers economical for a 275-gallon tank. This assignment builds regression models to predict gallons used between deliveries, compares them and tests the best one on a winter it was not built on.
Data
The data are 2,400 delivery intervals from 300 automatic customers chosen at random from the 2024-25 heating season, September to May. Each interval runs from one delivery to the next. For each, the data record the gallons delivered at the end of the interval, which equals the oil used if the tank was filled both times; the number of days; the heating degree days recorded at the Worcester weather station during the interval; whether the home heats its water with oil; and the home's size in square feet. Intervals involving a run-out, a partial fill or a tank replacement were removed, about 3 percent of the original records, because the gallons delivered would not equal the oil used.
Quayle and Diaz (1980) showed that degree-day totals, built by counting how many degrees colder than 65 each day's mean was, follow household heating use closely, which is why fuel dealers schedule from them. A degree-day model is therefore the natural starting point.
Models
Regression models for gallons per interval
| Model | Predictors | R-squared | Root mean squared error |
|---|---|---|---|
| 1 | Degree days | 0.71 | 33.4 gallons |
| 2 | Degree days and days | 0.89 | 18.6 gallons |
| 3 | Degree days, days and oil hot water | 0.92 | 15.9 gallons |
Model 1 uses degree days alone: gallons = 22.0 + 0.121 × degree days. It explains 71 percent of the variation, but its intercept of 22 gallons has no clear meaning, and it misses badly in spring and fall, when degree days are low but homes still use oil.
Model 2 adds the number of days in the interval: gallons = 4.1 + 0.57 × days + 0.102 × degree days. Both coefficients have p-values far under 0.01. It says the average home uses about 0.57 gallons a day regardless of weather, mostly for hot water and the burner's standby losses, plus about 0.10 gallons for each degree day. The error falls from 33 to about 19 gallons.
Model 3 separates homes that heat water with oil, about 62 percent of the sample: gallons = 3.8 + 0.39 × days + 0.29 × days for oil hot water + 0.101 × degree days. A home without oil-fired hot water uses about 0.39 gallons a day in base load, while one with it uses about 0.68. R-squared rises to 0.92 and the error to about 16 gallons. The degree-day coefficient hardly changes across Models 2 and 3, which suggests that the heating effect is estimated consistently and the improvement comes from separating base loads.
Interpreting the Model
For a typical January interval of 30 days with 1,020 degree days, Model 3 predicts about 3.8 + 11.7 + 8.7 + 103.0, or about 127 gallons, for a home with oil hot water, and about 118 gallons for one without. The degree-day coefficient implies that the average home burns one gallon for about every 9.9 degree days, the figure dealers call the K-factor. Ledgewood's scheduling system currently uses a single K-factor of 8.5 for every customer, which assumes homes burn more per degree day than they do and explains why trucks arrive early.
The model also shows what it cannot do. Its coefficients are averages over 300 customers, while each home's insulation, thermostat and household differ. A model this good on average can still miss an individual tank badly.
Residual Analysis
A plot of residuals against predicted gallons shows no curve, which suggests the linear form is reasonable, but the residuals fan out as predicted gallons rise: errors are about 10 gallons for small intervals and 25 for large January ones. Plotted against home size, the residuals are mostly positive for homes over 2,500 square feet and negative for small ones. Adding home size as a predictor in Model 3 raised R-squared only to 0.93, because size is a weak proxy for how much heat a home actually loses. The fanning pattern points instead to customer-specific behavior that a pooled model cannot capture.
Testing on Another Winter
Shmueli and Koppius (2011) stress that predictive power has to be shown on data that were not used to build the model, because fit on the training data overstates how well a model will predict. Model 3 was therefore applied, without re-estimating, to 2,250 intervals from the same customers in the 2025-26 season, which was about 6 percent colder.
Hyndman and Koehler (2006) review measures of forecast accuracy and recommend scale-dependent measures such as root mean squared error when comparing models on the same data. On the held-out winter, Model 3's root mean squared error was 16.8 gallons, close to the 15.9 on the data used to fit it, and its average error was 1.2 gallons, so it neither over- nor under-predicted systematically. That suggests the model has not been overfitted and that the colder winter did not break it.
Recommendation
Ledgewood should replace its single K-factor of 8.5 with the Model 3 structure and then adjust each customer's degree-day and base-load coefficients from that customer's own delivery history, starting from the pooled values and moving toward the customer's own as deliveries accumulate. For new customers, the pooled model is the starting estimate. The fanning residuals mean that large homes need a wider safety margin, so the delivery trigger for any home with predicted January use above 150 gallons a month should be set higher. The next step is the run-out model in Project One, which uses this model's prediction errors as one of its inputs.
References
Hyndman, R. J., & Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679-688. https://doi.org/10.1016/j.ijforecast.2006.03.001
Quayle, R. G., & Diaz, H. F. (1980). Heating degree day data applied to residential heating energy consumption. Journal of Applied Meteorology, 19(3), 241-246. https://doi.org/10.1175/1520-0450(1980)019<0241:HDDDAT>2.0.CO;2
Shmueli, G., & Koppius, O. R. (2011). Predictive analytics in information systems research. MIS Quarterly, 35(3), 553-572. https://doi.org/10.2307/23042796
What the QSO 370 Module 2 instructions ask for
The QSO 370 Module 2 assignment usually asks students to build a linear or multiple regression model to predict a numeric outcome. Expect to choose predictors, estimate one or more models, interpret coefficients and their significance, report fit measures such as R-squared and the standard error or root mean squared error, check assumptions with residual plots and, in many versions, test the model on data not used to build it. Strong assignments justify each predictor, compare simpler and fuller models, interpret coefficients in the outcome's units, look for patterns in the residuals that suggest a missing variable, report error on held-out data and explain what the model can and cannot be used for.
How this QSO 370 Module 2 regression assignment example is built
The assignment predicts gallons per delivery at Ledgewood Fuel Company, a fictional heating oil dealer in Massachusetts, using 2,400 delivery intervals for 300 sampled customers over the 2024-25 heating season. Heating degree days alone explain 71 percent of the variation. Adding the number of days in the interval raises R-squared to 0.89 with an error of about 19 gallons, and adding whether the home heats its water with oil raises it to 0.92 with an error of about 16. The average home burns about 0.10 gallons per degree day plus a base for hot water. Residuals fan out for large homes. Tested on the 2025-26 season, the error is about 17 gallons. Quayle and Diaz, Shmueli and Koppius and Hyndman and Koehler inform the method.
Where the QSO 370 Module 2 rubric puts the points
The QSO 370 regression assignment is commonly scored on sensible predictors, correct estimation, interpretation of coefficients in practical units, appropriate fit and error measures, residual checks, comparison of models, testing on held-out data and a clear account of how the model will be used. The strongest assignments show how much each added predictor improves prediction and what the residuals reveal. Credit drops when coefficients are interpreted without units, R-squared is the only measure, residual patterns are ignored, the model is judged only on the data it was fitted to or predictions are made far outside the data's range. Tables, clear writing and APA citations complete the grade.
QSO 370 Module 2 help: the mistakes that cost points
Start with the outcome you need to predict and the decision it serves, then list predictors you would know in advance. Fit the simplest sensible model first, then add predictors one at a time and watch both R-squared and the prediction error, such as root mean squared error in the outcome's own units. Read each coefficient as what one more unit of that predictor adds to the prediction while the others stay fixed, in the outcome's own units. Plot residuals against predicted values and each predictor; a fan or curve means something is missing. Hold back part of the data, or a later period, and test the model there. A common mistake is reporting only R-squared; another is testing the model on the same data used to build it.
Get QSO 370 Module 2 written to your instructions
Share the QSO 370 Module 2 instructions and your data. A writer builds and compares regression models, interprets every coefficient in the units that matter, reports R-squared and prediction error, checks residuals for patterns, tests the chosen model on held-out data and explains what a manager can do with it, citing research. Your first QSO 370 regression paper is free, finished within roughly two days. The paper above is an original model document written by our desk, not a submitted student paper and not an official Southern New Hampshire University document.
More QSO 370 papers and related BS Operations Management samples
- QSO 370 Module 1 Discussion: What Prediction Could Do for an Oil Dealer
- QSO 370 Module 3 Project One: A Run-Out Risk Model
- QSO 370 Module 4 Discussion: The Model That Scored 0.97 and Failed
- QSO 370 Module 5 Classification Assignment: A Churn Tree Judged on Profit
- QSO 370 Module 6 Discussion: Forecasting Tomorrow's Gallons
- QSO 370 Module 7 Project Two: Putting the Models in Front of Dispatchers
- QSO 370 Module 8 Discussion: A Credit-Hold Model in January
- FIN 340 Module 8 Discussion: What a Fast Drop in April 2025 Tested
- MKT 337 Module 3 Milestone One: The Research Plan
- SPT 461 Module 1 Discussion: Choosing a Problem in a Small Athletics Department
- ACC 423 Module 4 Project One: A Beneish M-Score and Red Flag Analysis
QSO 370 Module 2 questions, answered
Where can I find a free QSO 370 Module 2 Regression Assignment sample?
The complete QSO 370 Module 2 assignment is on this page: regression models predicting heating oil gallons per delivery at an invented dealer.
What is multiple linear regression?
A model predicting a numeric outcome as a linear combination of two or more predictors, each with a coefficient estimating its effect while the others are held constant.
What does R-squared tell you?
The share of the variation in the outcome that the model explains in the data used to fit it; it does not show how accurately the model predicts new cases.
What is root mean squared error?
The square root of the average squared difference between predicted and actual values, expressed in the outcome's units, such as gallons.
What is a degree day?
A measure of heating demand: the number of degrees by which a day's average temperature falls below a base, commonly 65 degrees Fahrenheit, summed over days.