these days much of mathematics comes down to how well you know your calculator. Calculators are by far the greatest invention to come into my life. As many of you have already found out… It’s why I am what I am now. Statistical analysis is a pretty broad topic, covering things from standard deviation to sums to todays topic, SSE. Given a plot of data (x,y), the SSE stands for the Sum of the Squares of the Error, and they represent the failure of a given line to fit that data. If you jump into Excel or some other graphing utility and plot a series of data you may see a pattern emerge. Most utilities provide a method to find a line that fits the data (usually in the linear mx + b format), and you will obviously use this form today.

Lets get started…

First things first, put your data into your calculator

{1,2,2,3,4,5,5,6}->L1
{2,1,3,2,9,7,10,11}->L2

Okay, Now you will run the linear regression function and pass it these two lists

**STAT] > [>] > [CALC] > [4] LinReg(ax+b)**

LinReg(ax+b)

And your output should look like this:

LinReg
y=ax+b
a=2.068181818
b=-1.613636364

Alright, now we have to create list of the values of our regression function

**[Y=]**

Now we are going to drop our regression equation into the Y1 slot, so please clear it out. Then follow this step.

**[VARS] > [5] Statistics > [>] > [>] EQ > [1] RegEQ**

Now you should see the Y1 equation filled in with our function. Quit out of the Y= screen and get back to the command line.

**[VARS] > [>] Y-Vars > [1] Function… > [1] Y1**

You should see Y1 on your command line… follow these steps and you will soon have your SSE.

Y1(L1)->L3
L3-L2->L4
L4^2->L5
sum(L5)

DONE!

**21.77272727**

I have written a little application to do this calculation on demand and boy is it nifty!

*PS. the sum function is under List > Math*

### Like this:

Like Loading...

*Related*

I think this is a easier way to get SSE..

Input Data into L1 and L2.

Go to L3 press 2nd and ins, then 2nd list go down and choose RESID press enter. this gives you all the Residuals.

press 2nd quit.

Now press 2nd list go to MATH select sum( press enter.

now press 2nd list and select RESID press enter and finally press X^2.

Voila SSE shall appear!

This may work as well, i was just sharing. My TI89 actually handles this pretty well. I wrote a function that is comperable to this one recently. Bravo.

Hi Gustaf,

Can you walk me through this method again. I don’t understand why you go to L3.

Craig

I have a question for Gustaf: to get SSE in the very last step where is “x^2” ?

the button…

x^2 is a button for squaring variables/statements.

This is not working for me… I tried a million times can u help pleasee!!! lol I just twit you I have a final at 8 am 2mar

What on earth could be going wrong with this?

You can always PM me on any of the chat options.

Ah! I’m so glad this was posted There have been quite a bit of contradictary

info blogged about, this dispells, puts to rest

a lot of what I’ve seen.

Just do ANOVA TEST

hit STAT ..then TEST .. Very last option is ANOVA( . Hit enter put lines L1,L2,L3…Lk (*use comma to seprate line). Hit enter Result would Appear.

First SS is SSG if you need that.

Scroll Down

Second SS is SSE

Hope this helps.

The thing is, most stats instructors want to see the intermediary steps. If you use the lists as is explained above all you need to do is review the contents of the lists used in the appropriate manner and you can get it back.

Technically doing a regression will get you the SSE as an error bounds as well, but the purpose of this was to mechanically walk through the process to gain that understanding.

Thank you SO MUCH for giving us this way to find SSE on the TI!! OMG I tried to find it manually and using excel and nothing would give me the answer, but you did!! I am so happy; thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!