Problem Solving and Decision Making PSDM: Assignment: Estimating WAPDA Bill For My House in Nathia Gali
Problem Solving and Decision Making PSDM: Assignment: Estimating WAPDA Bill For My House in Nathia Gali
2023-04-0010
10/24/2021
[Type the abstract of the document here. The abstract is typically a short summary of the contents of the document.
Type the abstract of the document here. The abstract is typically a short summary of the contents of the document.]
2023-04-0010
Contents
1|Page
2023-04-0010
Section 1
This case is about electricity consumption of a house located near Nathia Gali. We have 10 years previous data
of different variable related to Wapda electricity bill.
What How
Inserting Estimated It will be done through
Missing Values of Wapda
Bill Data Points
Forecasted values of It will be done through Multiple Regression using Dummy Variable
monthly Wapda bill of of Months, as to explain Seasonality. And Time Period for Trend.
2001
Seasonal Indices based on I will use Classical Decomposition Method for Forecasting of
10-year data. And monthly Monthly Wapda bills of 2011. Seasonal Indices calculated in
Wapda Bill forecast of method will be explained.
2001
Regression and Classical Forecasts from both methods will be compared for accuracy and
Decomposition Forecasts explanation of Trend/Seasonality.
of 2001 Wapda bill
comparison.
Probability of 2000 KwH Probability will be estimated using Logistic Regression. All
and 4000KwH electricity elements of models including Odds ratios will be explained.
usage by less than 5
family members.
2|Page
2023-04-0010
Section 2:
Replacing Missing Values
Missing values can be replaced through number of forecasting methods.
We will use Mean value for replacing missing values, as we have 120 data point and a percentage error will not
affect our following Forecasts significantly.
Section 3
Forecast of monthly Wapda Bill for 2001 using Regression Analysis
First, we will have to analyze our electricity data, for determination of regression approach and best possible
model development. Below is Graphical representation of our available Data.
50,000
45,000
40,000
35,000
30,000
25,000 No.
20,000 Monthly Bill
15,000
10,000
5,000
0
1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 113 120
3|Page
2023-04-0010
Monthly Bill is having Time Series Pattern with both Trend and Seasonality.
Trend:
Data is showing gradual upward shift till 2007, then may due to replacement of significantly more energy
efficient heat Pump in 2007 and other in 2008 level of trend is changing.
Seasonality:
WAPDA bill reading are having a repeating pattern over a one-year period, showing yearly Seasonal attribute.
Regression Model
We must use Multiple Regression for Forecasting of 2001 monthly bills as per instructions. Months will be used
as Dummy variables as to handle Seasonality and Time variable will be used to predict Trend present in Data.
Model Summary
Adjusted R Std. Error of
Model R R Square Square the Estimate
1 .627a .393 .325 6457.285
a. Predictors: (Constant), snum, jul, jun, aug, may, sep, apr,
oct, mar, feb, nov, dec
Regression Equation
Y = b0 + b1F + b2M + b3A + b4M + b5J + b6J + b7A + b8S + b9O + b10N + b11D + b12*t
Interpretation
R Square: 39% variability of Dependent Variable is explained by selected model.
Monthly Dummy Variables: With 95% certainty, amount of Monthly WAPDA Bill will be “bn” amount higher
in respective month than our base case (January), If “t” is kept constant.
4|Page
2023-04-0010
Time Variable: With 95% certainty, value of Monthly WAPDA Bill will increase “b12” amount higher with
every unit increase in time.
*In months having insignificant coefficients have been replaced with base case, as insignificant coefficients
imply that value is not significantly different than base case. Slight change in insignificant monthly bills values
are explained by “t”.
Section 4:
Develop and explain seasonal indices for the electricity usage. Use classical decomposition to forecast the
WAPDA Bill for all of 2001.
5|Page
2023-04-0010
We will follow below steps for calculating Seasonal Indices and Forecasting 2001 Bills
1.00
0.50
0.00
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
By getting Means of monthly Seasonal-Irregulars, Irregular component will be averaged out and we will be left
with uncontaminated Seasonal Indices. Figure 5 is representing yearly cycle of high and low amounts of
WAPDA Bills.
Deseasonalized Bill amount can be calculated by dividing Wapda Bills by Seasonal Indices.
Deseasonalized Bill is now free of Seasonal component. Hence, will be used as Dependent Variable in
linear regression.
6|Page
2023-04-0010
Regression Model
Deseasonalized Bill is now free of Seasonal component. Hence, will be used as Dependent Variable in linear
regression. Independent Variables that we are going to use in our Model will be (i)time (ii) new meter (iii)
Dummy Variables of 1st installed Heat Pump and then 2nd Installed Heat Pump.
Model Summary
Adjusted R Std. Error of
Model R R Square Square the Estimate
1 .763a .582 .567 3593.95883
a. Predictors: (Constant), VAR00002, VAR00003,
newmeter, snum
Regression Equation
y = 5460.193 + 159.97 t + 7463.25 New Meter - 13017.56 1st New Pump – 19444.453 Both New Pumps
Forecasted Deseasonalized Bill amount corresponding Seasonal Index would be our final Forecasted
WAPDA Bill amount.
Interpretation
R Square: 58% of variability of Dependent Variable is explained by selected regression model.
Time: With 95% certainty, every unit increase in time will increase 160 Rs WAPDA Bill, if other variable is
kept constant
Similarly, only New Meter has contributed in 7463 Rs increase in Monthly Bill and after first Heat Pump and
both Heat Pumps amounts decrease in Monthly Bill are 13017 Rs and 19444 Rs. Respectively.
Forecast Through Classical Decomposition
Months Forecasted Monthly Bill Through Classical Decomposition
Jan 21,571.74
Feb 28,621.95
Mar 19,928.53
7|Page
2023-04-0010
Apr 16,450.89
May 12,700.03
Jun 6,347.36
Jul 8,129.17
Aug 8,213.44
Sep 8,313.59
Oct 7,901.58
Nov 7,449.94
Dec 16,373.65
FIGURE 7: 2001 MONTHLY BILL FORECAST THROUGH CLASSICAL DECOMPOSITON
SECTION 5
Compare the forecasts that you have made using regression and classical
decomposition. Explain any difference. Which one would you prefer to use? Why?
Models Comparison
Both models are Forecasting Monthly Bills in entirely different way.
50,000.00
45,000.00
40,000.00
35,000.00
30,000.00 Monthly Bill
25,000.00 Forecasted Monthly Bill Through
20,000.00 Classical Decomposition
15,000.00 Forecasted Bill Through Regression
10,000.00
5,000.00
0.00
1 10 19 28 37 46 55 64 73 82 91 100 109 118
8|Page
2023-04-0010
FORECA
From fig 8, shifting with different levels of Not able to shift with different levels of actual
actual bill values quite closely. bill amounts.
MSE is 15,794,021.76 MSE is almost 3 times more 42,834,827.81
Section 6
Logistic Regression
We need to know probability of having less than 5 family members in the house and using 2000KwH and 4000
KwH. For this a new variable is defined called FamNum, where its value is 0 when there are 5 family members
and 1 when there are less than 5 family members.
Regression Model
We will forecast probability and Odds Ratios with the help of Logistic Regression Model.
Model Summary
-2 Log Cox & Snell Nagelkerke R
Step likelihood R Square Square
1 118.130a .146 .215
a. Estimation terminated at iteration number 6
because parameter estimates changed by less
than .001.
9|Page
2023-04-0010
Regression Equation
eg
Logistic Equation; y=
e g +1
Where, g = b0 + b1 x1
Interpretation
Probabilities:
Odds Rations:
So here, with one unit increase in KwH, Odds will change 0.99 times.
10 | P a g e
2023-04-0010
11 | P a g e