Help me calculate the formulas for Data Analysis add-in

ExcelJWS

New Member
Joined
May 19, 2016
Messages
4
Hi Guys,


I have a big favour to ask. Within excel there is an add-in called “Data Analysis”, Which can do “Regression”
I am able to get the Coefficients using the following formula as an array (if the ranges are set to be the independent and depend variable data).

=MMULT(MINVERSE(MMULT(TRANSPOSE(M2:O10),M2:O10)),MMULT(TRANSPOSE(M2:O10),Q2:Q10))

The problem I am having is working out how to calculate the:

df

SS

MS

F

Significance F

Coefficients

Standard Error

t Stat

P-value

Lower 95%

Upper 95%



I really want to have a formula for each of these, so that I can understand the mathematics behind what is going on.

I have been using formulas I have found to try and calculate the standard error, however I keep getting the wrong values. Any help would be awesome and would help me understand these very cool mathematical concepts!

Here is the link to the excel file I am talking about:
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,215,326
Messages
6,124,267
Members
449,149
Latest member
mwdbActuary

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top