Docsity

Regression Analysis using Excel: Simple and Multiple Regression, Schemes and Mind Maps of Mathematical Statistics

Toggle sidebar
bg1
Regression๎˜ƒAnalysis๎˜ƒusing๎˜ƒExcel1๎˜ƒ
Simple regression
Use Solver and some simple utility function to compute some demands for commodity 1 as a
function of income and prices. Here is a small sample
We now try to fit a linear demand curve
11
x
abp=โˆ’
The data points are depicted below.
๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ๎˜ƒ
1๎˜ƒThese๎˜ƒnotes๎˜ƒare๎˜ƒalmost๎˜ƒidentical๎˜ƒto๎˜ƒthose๎˜ƒin๎˜ƒthe๎˜ƒRegression๎˜ƒAnalysis๎˜ƒSlides๎˜ƒ
pf3
pf4
pf5

Partial preview of the text

Download Regression Analysis using Excel: Simple and Multiple Regression and more Schemes and Mind Maps Mathematical Statistics in PDF only on Docsity!

Regression Analysis using Excel

Simple regression

Use Solver and some simple utility function to compute some demands for commodity 1 as a function of income and prices. Here is a small sample

We now try to fit a linear demand curve

x 1 = a โˆ’ bp 1

The data points are depicted below.

(^1) These notes are almost identical to those in the Regression Analysis Slides

Clearly no line is going to pass through each point. Regression analysis starts with an initial guess as to the values of the parameters a and b. It then computes the vertical distance between the line and each dot and then sums the square of these distances. The regression program then finds the parameters that minimize this sum of โ€œsquared errors.โ€ The estimated parameter vector is then called the least squares estimate.

From the Home Ribbon, click on Data. On the far right you will see the Analysis Options

Click on Data Analysis and scroll down to Regression.

Click on OK.

Click OK and the results will appear.

SUMMARY OUTPUT

We are interested in the coefficients. What the SUMMARY OUTPUT reveals is that the least squares estimate is

x 1 = 433 โˆ’ 142 p 1

The R^2 is 0.85 indicating that we have โ€œexplainedโ€ 85% of the variation.

Drawing the chart

Using the estimated coefficients we can compute the estimated demand for each price.

We can then plot the estimated demand curve on the same chart as the actual scatter plot.

Multiple Regression

Simple regression leaves out the fact that the variation in x 1 results not just from the variation

in p 1 but in the other price and income as well. The analysis proceeds as before but now the Xโ€

array is J3:L8. The new SUMMARY OUTPUT IS

Thus the least squares estimate is x 1 = โˆ’228.2 + 1.5* I โˆ’ 38.2* p 1 โˆ’12.9* p 2.

We should not put too much faith in this result as there are only 6 observations and 4 explanatory variables (including the constant.)