Title: Pearl Curve on Excel
1Pearl Curve on Excel
- Henry C. Co
- Technology and Operations Management,
- California Polytechnic and State University
2- The revised (log base 10) Pearl Curve equations
is - This leads to the linear equation
- A postdiction
- U.S. household with cable TV
- Use data from 1952 through 1978 to derive a
growth model. - Extrapolation from 1979 to 1988.
- Compare the extrapolation with the known data.
3Column A t Time (year 1952 through
1988) Column B y Household With Cable TV
(1952-88). Suppose we have decided to use the
data from 1952 1978 to fit the Pearl Curve, and
to use the data from 1979-1988 to validate our
model.
4The first equation shown here is the Pearl Curve,
where y is a non-linear function of t. L is the
upper limit of y. A and B are constants. We use
the second equation to estimate the values of A
and B, through linear regression. The second
equation shows the transformed variable Y as a
function of variable y and L. Y is a linear
function of t.
5- Transforming the variable y to Y, such that Y is
a linear function of t.
6Click on cell C3. Here we will enter the Excel
formula for y/(L-y), for year 1952 (row 3). Note
that y is in cell B3 and L is in cell B1. First,
enter the sign. Then either enter B3 as
shown, or click on cell B3. Type the division
sign /, followed by the open parenthesis (. L
is in cell B1. Enter B1 as shown, or simply
click on cell B1.
7Since we are going to copy and paste this
formula, we must make sure that reference to L
stays in cell B1 as we pasted the formula. In
Excel, this means changing B1 to B1. A simpler
way to do this is to hit function key F4 (on the
first row of your keyboard).
8Now complete the formula for y/(L-y), as shown.
9Before you go any further, make sure that you
have the result shown in cell C3. Now, move the
cursor to the lower right hand corner of cell C3
(it becomes a sign), click and drag all the
way down to row 29 (year 1978).
10Before you go any further, make sure that you
have the results shown in column C.
11Now we are ready to enter the formula for the
transformed variable Y (cell D3 corresponds to Y
for year 1952). The Excel function LOG10(C3)
returns the log base 10 value of cell C3.
12Before you go any further, make sure that you
have the result shown in cell D3.
13Now, move the cursor to the lower right hand
corner of cell D3 (it becomes a sign), click
and drag all the way down to row 29 (year 1978).
Before you go any further, make sure that you
have the results shown in column D.
14Graphing
- Let us graph the variables y and Y.
- Theoretically, variable y is non-linear (S curve)
with respect to t variable Y is linear with
respect to t.
15Click Insert, choose Chart.
16From the pull-down menu, choose XY (Scatter) as
shown.
17Click the Series tab to continue.
18Click Add to add a series.
19We will first name the series, and then tell
Excel where the x- and y- values are.
20Enter the name of the series as shown.
21Next, click on the X-Values field, then click on
cell A3 and drag all the way down to row 29 (cell
A29).
22Before continuing any further, make sure that you
see the same results, as shown.
23Next, click on the Y-Values field, and drag to
highlight the entire field.
24Click on cell B3 and drag all the way down to row
29 (cell B29).
25Click Add to add the second series.
26Enter the name of the series as shown.
27Next, click on the X-Values field, then click on
cell A3 and drag all the way down to row 29 (cell
A29).
28Next, click on the Y-Values field, and drag to
highlight the entire field.
29Click on cell D3 and drag all the way down to row
29 (cell D29). Then click Next.
30Before continuing any further, make sure that you
see the same results, as shown. Click the
Legend tab.
31Choose to place the Legend at the bottom, as
shown. Click Next.
32Choose to place chart as new sheet. Enter the
name of the chart, as shown.
33Before continuing any further, make sure that you
see the same results, as shown. Lets add a
trend line to the series named Linearized.
34Move the cursor to any point on the series named
Linearized.
35Right click, you should see the pull-down menu as
shown. Choose from the menu, Add Trendline.
36Be default, Excel will be adding a Linear
trendline. Click OK.
37Click the Options tab and check the Display
equation on chart and Display R-squared value
on chart options. Click OK.
38Before continuing any further, make sure that you
see the same results, as shown. Notice that the
trendline appears to be a good fit, with R2 value
of 0.9514.
39Linear Regression
- The preceding slide shows the trendline equation
to b e - y 0.0804x - 159.61, with R2 0.9514.
- The Intercept 159.61, and the slope is 0.0804
- We can also find the Intercept and Slope
directly, using Excel functions INTERCEPT and
SLOPE.
40Click on cell H6.
41Click the Insert tab, and choose Function.
42From the category field of the pull-down menu,
choose Statistical.
43Choose function INTERCEPT.
44Click on the Known ys field.
45Click on cell D3 and drag all the way down to row
29 (cell D29).
46Click on the Known xs field.
47Click on cell B3 and drag all the way down to row
29 (cell B29). Click OK.
48Before continuing any further, make sure that you
see the same result, as shown.
49Click on cell H7.
50Click the Insert tab, and choose Function.
51Choose function SLOPE.
52Click on the Known ys field. Enter
D3D29. Click on the Known xs field. Enter
A3A29
53Before continuing any further, make sure that you
see the same results, as shown.
54A negative of the intercept. Click H22, enter
the formula as shown.
55B the slope. Click H23, enter the formula as
shown.
56We are going to use the formula for y shown here
to compute the points on the S-curve.
57On cell E3, enter the formula for the point on
the S-curve corresponding to t 1952.
Here L is in cell B1, A is in cell H22, and B is
in cell H23. Click cell E3. In order to copy and
paste the formula, cells B1, H6 and H7 must be
anchored.
58(No Transcript)
59(No Transcript)
60The symbol for exponentiation is on the
second row of your keyboard, above the number 6.
61Before continuing any further, make sure that you
see the same results, as shown.
62Now, move the cursor to the lower right hand
corner of cell E3 (it becomes a sign), click
and drag all the way down to row 39 (year 1988).
63To extend the trendline through year 2005,
highlight by dragging cell A38 and cell A39, as
shown.
64Move the cursor to the lower right-hand corner of
cell A39, and drag it down, as shown.
65Move the cursor to the lower right-hand corner of
cell E39, and drag it down to row 56.
66Before continuing any further, make sure that you
see the same results, as shown.
67Click on the tab C to choose the entire column
C, as shown.
68Click the Format tab, choose Column, then
choose Hide to hide the entire column C.
69Click on the tab D to choose the entire column
D, as shown.
70Click the Format tab, choose Column, then
choose Hide to hide the entire column D.
71Click and drag to highlight the cells, as shown.
72Click Insert, choose Chart.
73From the pull-down menu, choose XY (Scatter) as
shown.
74Click the Series tab.
75Name the time series.
76Name the first time series, as shown.
77Name the next time series, as shown.
78Choose the Bottom button to place the legend at
the bottom.
79Save the chart as a new sheet, name it Pearl
Curve.
80(No Transcript)
81Error Statistics
- How accurate was our Pearl Curve forecast?
- We will compute the mean squared error (MSE) for
the periods covering model fitting, and the
periods for validation.
82Label column F Error, as shown.
83The forecast error actual y predicted y. For
1952, the error (cell F3) B3-E3.
84Move the cursor to the lower right-hand corner of
cell F3, and drag down to row 39 (year 1988).
85We use Excel function SUMSQ to compute the sum of
squared errors. We use function COUNT to keep
track of the number of observations.
86(No Transcript)
87The Mean Squared Error (MSE) (Sum of Squared
Errors)/(n-1), where n number of observations.
We use Excel function COUNT to keep track of the
number of observations n I27H27/(COUNT(F3F29)-
1) I28H28/(COUNT(F30F39)-1)