Sie sind auf Seite 1von 2

Saturday, December 25, 2010

scientificsoftwareandbooks.
blogspot.com Dr. Suji George

Linear regression

To do advanced statistics in excel you have to make click on the OK button.


sure that Analysis Toolpak Add-in is installed. As- 
suming that it is not installed,the following needs Now you have an extra command, Data analysis on
to be done; the Tools Menu and you can do the statistics.
 
Run Microsoft Office Setup to add components to Linear, non-weighted regression 
MS Office 
 Type your data into blank spread sheet.
Select Analysis Toolpak under the Excel group of 
software items. 
 
Once this is done

Run Excel Now select the
 data analysis com-
Select Addins in the tool menu. ( In EXCEL 2007 mand on the tools
Add-ins tab is in the excel option dialogue box) menu (Data menu
In the dialogue box select Analysis Toolpak and then in excel 2007). This
click on the OK button. will give you dialo-
 gue box as shown
Now you have an extra command, Data analysis on below, listing all
the Tools Menu and you can do the statistics. the data analysis
To do advanced statistics in excel you have to make facilities that are
Click here to send your feedback

sure that Analysis Toolpak Add-in is installed. As- available.


suming that it is not installed,the following needs
to be done; Select Regression and click on the OK button. This
 will give you a dialogue box full of options.
Run Microsoft Office Setup to add components to
MS Office

Select Analysis Toolpak under the Excel group of
software items.

joliprint

Once this is done



Run Excel

Printed with

Select Addins in the tool menu. ( In EXCEL 2007


Add-ins tab is in the excel option dialogue box)
In the dialogue box select Analysis Toolpak and then

http://scientificsoftwareandbooks.blogspot.com/2010/12/linear-regression.html

Page 1
Saturday, December 25, 2010
scientificsoftwareandbooks.
blogspot.com
Linear regression

Place the cursor in the input range control and then


use the mouse to select on the spreadsheet the data
you want to analyse. This should enter the appro-
priate cell reference in the control.

The slope (m) is the Xvariable 1 in our case it is


7.05714 x 10-05 . However if you look along the row
you will see 95% confidence limits on m- there is 0.95
probability that m lies between 5.85107E x 10 -05 and
8.26322E x 10-05 . The coefficient c in our equation of
straight line is 0.002496 with upper and lower 95%
confidence limits of0.00069and 0.00429.

Correlation coefficient

R= 0.9856. R representshow closely x variable and


y variable vary together .
Label in first row check box tells the tool to use the
labels in the top row of the data to label some of the Analysis of Variance for regression
statistical values. If you haven’t used labels leave
this unticked.
Click here to send your feedback

Tick the confidence level check box and enter ap-


propriate values.

Select the new worksheet ply.

Select residual plot.

Click on the OK button.

Excel will do all the calculation and present the re-


joliprint

sults in a new ply.

Lets go through the results step by step:


Printed with

http://scientificsoftwareandbooks.blogspot.com/2010/12/linear-regression.html

Page 2

Das könnte Ihnen auch gefallen