Sunteți pe pagina 1din 8

Disclaimer: This spreadsheet is EVO’s property. Copying or distributing it is prohibited.

It is aimed to be used

Regression Practice
Data
kWh HDD ref kWh Predicted Value 1. Do a scatter plot
350,000 12.70 350000 360,124
335,520 19.40 335520 360,723 2. Add a trend line to the scatter plot
412,560 147.60 412560 372,172
394,560 353.40 394560 390,551 3. Use the Linest function to do a linear regressi
424,080 526.70 424080 406,028 y = m1x1 + m2x2 + ... + b
409,680 767.50 409680 427,534
431,280 876.00 431280 437,223
418,320 773.70 418320 428,087
433,440 696.80 433440 421,219
393,120 436.30 393120 397,955
401,760 220.90 401760 378,718
339,840 54.20 339840 363,830

Mean 395,347 4. Advise what the R2 value is


prohibited. It is aimed to be used during the M&V fundaments trainings only. Please, note that this is just an example. It is not to b

d line to the scatter plot

est function to do a linear regression


2x2 + ... + b
t.stats 4.482764653 35.4110818002
89.30751798 358989.576096501
19.92241951 10137.774895507
0.667720866 21070.0591902936
20.09517893 10
8921202324 4439473942.82475

Cvrmse 0.053
at the R2 value is

Statistic
se1,se2,...,sen
seb

r2

sey

df
ssreg

ssresid
Example Baseline test in Mill
67009.6
25370.4
92380
31375
only. Please, note that this is just an example. It is not to be used directly for calculations of other projects.

500000 Monthly kWh vs HDD


450000
f(x) = 89.3075179812x + 358989.576096501
400000 R² = 0.6677208658
350000

300000

250000

200000

150000

100000

50000

0
0.00 100.00 200.00 300.00 400.00 500.00 600.00 700.00 800.00 900.00 1000.00

Description
The standard error values for the coefficients m1,m2,...,mn.
The standard error value for the constant b (seb = #N/A when const is FALSE).

The coefficient of determination. Compares estimated and actual y-values, and ranges in value from 0 to 1. If it is 1, there
is a perfect correlation in the sample — there is no difference between the estimated y-value and the actual y-value. At
the other extreme, if the coefficient of determination is 0, the regression equation is not helpful in predicting a y-value.
For information about how r2 is calculated, see "Remarks," later in this topic.

The standard error for the y estimate.


The F statistic, or the F-observed value. Use the F statistic to determine whether the observed relationship between the
dependent and independent variables occurs by chance.
The degrees of freedom.
The regression sum of squares.
The residual sum of squares. For information about how ssreg and ssresid are calculated, see "Remarks," later in this
topic.
Disclaimer: This spreadsheet is EVO’s property. Copying or distributing it is prohibited. It is aimed to be used during the

Regression Practice
Data
kWh HDD ref kWh 1. Do a scatter plot
321,120 12.70 321120
335,520 19.40 335520 2. Add a trend line to the scatter plot
412,560 147.60 412560
394,560 353.40 394560 3. Use the Linest function to do a linear regression
424,080 526.70 424080 y = m1x1 + m2x2 + ... + b
409,680 767.50 409680
431,280 876.00 431280
418,320 773.70 418320
433,440 696.80 433440
393,120 436.30 393120
401,760 220.90 401760
339,840 54.20 339840

4. Advise what the R2 value is

Example Baseline test in Mill


67009.6
25370.4
92380
31375
imed to be used during the M&V fundaments trainings only. Please, note that this is just an example. It is not to be used directly fo

99.49077595 352437.30511082
22.52031311 11459.7458758284
0.661214104 23817.6055789558
19.51716741 10
11071666245 5672783355.14706

Statistic
se1,se2,...,sen
seb

r2

sey

df
ssreg

ssresid
daments trainings only. Please, note that this is just an example. It is not to be used directly for calculations of other projects.

500000 Monthly kWh vs HDD


450000
400000 f(x) = 99.4907759498x + 352437.30511082
R² = 0.6612141043
350000
300000
250000
200000
150000
100000
50000
0
0.00 100.00 200.00 300.00 400.00 500.00 600.00

Description
The standard error values for the coefficients m1,m2,...,mn.
The standard error value for the constant b (seb = #N/A when const is FALSE).

The coefficient of determination. Compares estimated and actual y-values, and ranges in value from 0 to 1. If it is 1, there
is a perfect correlation in the sample — there is no difference between the estimated y-value and the actual y-value. At
the other extreme, if the coefficient of determination is 0, the regression equation is not helpful in predicting a y-value.
For information about how r2 is calculated, see "Remarks," later in this topic.

The standard error for the y estimate.


The F statistic, or the F-observed value. Use the F statistic to determine whether the observed relationship between the
dependent and independent variables occurs by chance.
The degrees of freedom.
The regression sum of squares.
The residual sum of squares. For information about how ssreg and ssresid are calculated, see "Remarks," later in this
topic.
ojects.

Wh vs HDD

11082

500.00 600.00 700.00 800.00 900.00 1000.00

S-ar putea să vă placă și