Prizm Giving Different Answer Than Ti-84 For Stats Functions
#1
Posted 31 January 2013 - 03:32 AM
Hello,
I really hope someone can help me (I can't find any info about this issue anywhere on the web)...My son is doing regression in his high school math class and as you might expect, most of the students (including the teacher) use TIs (usually 84) and my son is only one with a Casio. I believe the Casio is superior, and it sure is much easier to use than the TI, and my son really likes it.
BUT...When doing regression analysis (and some other stats functions), the Casio gives a DIFFERENT answer than the TI. Sometimes it looks like only rounding differences, other times answers are dramatically different.
Needless to say, this is causing a serious issue for my son in his class. He asked his teacher about it and he thought maybe the Casio was using a different (or even wrong) algorithm. Of course I guess it is also possible that the TI is the one with wrong answer, but how to know?
Have any of you heard about this issue before? I would really appreciate it if you could assist, otherwise I am going to have to fork over big bucks for a new TI calc and my son will have to learn how to use a brand-new calc...Not a good thing in the middle of the school year.
Please help!
Thank you very much for your time.
Sincerely,
Mike
#2
Posted 31 January 2013 - 04:22 AM
Do you have any example problems where the casio and ti differ? It might help to check in shift+menu (setup) and see if the rounding mode is the same as the ti calc's. Otherwise, elaborating on the problems it doesn't work with would help.
#3
Posted 31 January 2013 - 08:28 AM
By the way, welcome to UCF!
#4
Posted 31 January 2013 - 02:18 PM
#5
Posted 31 January 2013 - 05:03 PM
Yes, indeed I will try to provide some examples. My boys (actually twins, and they each have a Prizm ) will discuss with their math teacher today and do same problems on Casio vs. TI and I will report numbers back to you (they didn't write down the differences yesterday).
Note that we have not just seen this for regression, but one of my boys had prob/stats class last semester and he was getting different answers for standard deviation than others in his class. At the time, we just brushed it off and made the best of it, but my son did get some answers marked WRONG on his exam just because his calc was giving different answer, and he certainly did everything correctly on the calc. It was frustrating, especially since everyone else in class had TIs and obviously it must be the Prizm that has wrong answer (being sarcastic of course)
Thanks
Sorry, forgot to ask...Exactly which menu setting is for "rounding mode"?
Thanks
#6
Posted 31 January 2013 - 05:24 PM
About rounding mode, you can access it by entering run-mat mode, pressing shift+menu, and scrolling down to "Display: ". By default it is Norm1, but there are other options including engineering, scientific, and fixed.
Besides that, until I can actually see the problem, I can't think of any other things.
Hope that helps.
#7
Posted 01 February 2013 - 04:08 AM
Problem 1
1 2.6
11 3
21 3.7
31 4.5
41 5.3
51 6.1
54 6.3
Using exponential regression (a*b^x):
Casio Answers
a=2.5764
b=1.0171
r=0.9973
r2=0.9946
TI Answers
a=2.5574
b=1.0173
r=0.9977
r2=0.9954
Same data set using logistic regression (c/(1+a*e^(-bx)))…This one is WAY off:
Casio Answers
a=10.7221
b=0.0197
c=30.0806
TI Answers
a=4.2134
b=0.0261
c=12.8547
Problem 2
1 22.6
6 46.2
11 59
16 65.7
23 68.9
Using logarithmic regression (a+b*lnx):
Casio Answers
a=21.2058
b=15.4639
r=0.9933
r2=0.9866
TI Answers
a=21.7785
b=15.2021
r=0.0.9955
r2=0.9911
Thanks for help.
#8
Posted 01 February 2013 - 09:13 AM
Problem1 Using exponential regression (a*b^x):
{a -> 2.59978, b -> 1.01688}
Problem1 Same data set using logistic regression (c/(1+a*e^(-bx)))
{a -> 4.21338, b -> 0.0261056, c -> 12.8547}
As you can see on the graphs for the above results and your results (TI,Casio) all are really close to the real data. (red data, blue Mathematica, Dots Brown TI, Dashes Green Casio).
Regression is a numeric procedure, so the differences are rounding errors, different algorithms for minimizing error, maybe different norma checking, etc....
I feel more secure with the results of Mathematica, but there is no real error and on the other solutions.
It is ridiculus that a lesson, and a grade is based on numeric results of a task such the above. Your teacher could search it more before naming an error or correct solution.
#9
Posted 01 February 2013 - 04:14 PM
Thank you very much for checking this on Mathematica. Indeed it appears issue is numerical analysis differences, which is what I guessed was what was happening.
BUT...What about logistic regression?
Again, this is what I get on the Casio:
a=10.7221
b=0.0197
c=30.0806
And on the TI:
a=4.2134
b=0.0261
c=12.8547
Mathematica:
a=4.21338
b=0.0261056
c=12.8547
It seems you do not see this huge discrepancy?
Thanks
#10
Posted 01 February 2013 - 06:32 PM
So apparently the iterative solution of a such non-linear regression is done, with different algorithms. I cannot say if casio uses a correct way or not, but I can really say that the estimation of fitting of Casio is also too close to the data.
#11
Posted 01 February 2013 - 11:11 PM
Thanks for looking into this! I'm trying to pin down the cause of the discrepancy and my Prizm is producing ExpReg and LogReg results identical to the TI results mentioned above. The only discrepancy I've been able to confirm is with the LogisticReg results. If anybody else observes the non-matching ExpReg or LogReg results (NOT Logistic), please share! And let me know what OS version number you're working with.
Thanks!
#12
Posted 02 February 2013 - 02:23 AM
All,
In an act of desperation, I performed a full system reset of both calculators and regression results are now matching the TI (except for logistic, no idea what is going on there, different algorithm I guess?). Success!
Very strange and not sure what setting was wrong, or maybe something was corrupted, no idea. But it is working now and that is all that matters. My boys are very happy :-)
Thanks to everyone for all of your help.
#13
Posted 02 February 2013 - 04:07 AM
Anyway, I'm glad you were able to fix the problem.
Feel free to come back if you have any more questions.
#14
Posted 02 February 2013 - 06:17 PM
#15
Posted 02 February 2013 - 11:29 PM
#16
Posted 04 February 2013 - 07:43 PM
So the "problem" here is that they use different algorithms (or the same algorithm with different constants, starting vars, iterations, etc but I can't tell because I don't know how logistic regs are calculated).
If the teacher really insists on the answers being the same, maybe we can find out which algorithm TI and Mathematica are using and make a Basic program to do that Prizm. Can somebody find a good tutorial about logistic regression calculation methods?
#17
Posted 04 February 2013 - 08:09 PM
A couple of sites I've found helpful, so far:
http://www.hpmuseum....cgi?read=204621
http://math.fullerto...quationMod.html
If anybody does find a good algorithm described, please do share it!
- MicroPro likes this
#18
Posted 01 November 2013 - 10:35 AM
Also the business agreement TI has with high school math textbooks has been hurting students for far too long, it has to be stopped.
Hayzel's analysis above making a graph in Mathematica should give you the answer as to what's going on here.
In regression analysis (statistics), and by extension mathematics, you can very well have two equations with different coeficients and get the same results. Not going to get into the details of it, I'll leave that to you.
It is the teacher's job to figure out why a student is getting a wrong (or different) result. It's not very difficult to just plug in numbers into the different equations and compare results. An advanced software like Mathematica is not even needed, it can be done in Excel. Couldn't this teacher have thought of that?
But no, this math "teacher" had to take the easy road, and as a result put a student under emotional stress and his parents under financial stress.
I hope you didn't buy a new calculator bubbagump, and I applaud your willingness to go the extra mile (searching the Internet, coming to this forum, etc.) to help your kid.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users