Beruflich Dokumente
Kultur Dokumente
1. Suppose that your market research of real estate investments reveals the following sales figures for
new homes of different prices over the past year.
$160 $180 $200 $220 $240 $260 $280
126 103 82 75 82 40 20
We would like to use these data to construct a demand function for the real estate market. (Recall that
a demand function gives demand y, measured here by annual sales, as a function of unit price, x.)
Here is a plot of y versus x.
Find a linear demand equation that best fits the data, and use it to predict annual sales of homes priced
at $140,000.
Here is the table we use to organize the calculations.
160 126 20,160 25,600
180 103 18,540 32,400
200 82 16,400 40,000
220 75 16,500 48,400
240 82 19,680 57,600
260 40 10,400 67,600
280 20 5,600 78,400
2
x = 1,540 y = 528 xy = 107,280 x = 350,000
Notice that we used the most accurate value, m = -0.7928571429, that we could obtain on our
calculator in the formula for b rather than the rounded value -0.7929. This illustrates the following
important general guideline:
When calculating, never round intermediate results. Rather, use the most accuate results
obtainable, or have your calculator store them for you.
y = -0.7929x + 249.9.
We can now use this equation to predict the annual sales of homes priced at $140,000, as we were
asked to do. Remembering that x is the price in thousands of dollars, we set x = 140, and solve for y,
getting y 139. Thus our model predicts that approximately 139 homes will have been sold at the
price of $140,000.
Here is the original data, together with the least squares line.
Q If the given data points all happen to lie on a straight line, is this the line we get by the best fit
method?
A Yes.
Q If the given points do not lie on a straight line, is there a way we can tell how far off they are from
lying on a straight line?
A There is a way of measuring the "goodness of fit" of the least squares line, called the coefficient of
correlation. This is a number r between -1 and 1. the closer it is to -1 or 1, the better the fit. For an
exact fit, we would have r = -1 (for a negative slope line) or r = 1 (for a positive slope line). For a bad
fit, we would have r close to 0. For our fit we get r = -0.954.
q = Art ?
A The idea is to convert an exponential curve to a linear one, using the logarithm, as follows.
q = Art ,
log(q) = log(Art).
or
slope = m = log(r)
Intercept = b = log(A).
Therefore, if we find the best-fit line using log(q) as a function of t, the slope and intercept will be
given as above, and so we can obtain r and A by
r = 10 m
A = 10 b.
To summarize,
c
q = Art :
q = Art ,
$%
3 4 11 25
Since we need to model log(R) as a linear function of t, we first make a table with x = t and
y = log(R), and then calculate the regression line, y = mx + b.
0 2 4 7
0.477121 0.602060 1.04139 1.39794
y = 0.13907x + 0.42765.
R = Ar t,
R = 2.6770 (1.3774)t .