Hi All,
I have posted four articles about statistical regression calculations for the HP 39gII on my web site.
Enjoy!
Namir
New HP 39gII programs on my web site
|
|
« Next Oldest | Next Newest »
|
▼
12-20-2012, 06:58 AM
Hi All, I have posted four articles about statistical regression calculations for the HP 39gII on my web site. Enjoy! Namir ▼
12-21-2012, 02:11 AM
Very nice. Printed and to be studied in due course. Should the 43S do statistics in a similar way -- i.e. storing the data as a matrix and doing matrix operations to interpolate etc? Or should we stick with the older fixed accumulation methods?
▼
12-21-2012, 04:09 PM
I think list based statistics are advantageous over summation as long as memory permits. We should consider a mechanism like in the high end pioneers (17b, 27s). Whether we use named lists or matrices is just a matter of taste. BTW, this would free another key location because entering sample data wouldn't need an extra key.
12-21-2012, 05:12 PM
These really are excellent. Thank you! I suspect we'll be using them in testing scripts for the system as they cover a lot of areas quite nicely.
12-21-2012, 09:38 PM
The HP39gII programs that I posted show that the machine has a lot teeth to do powerful regression calculations. ▼
12-21-2012, 09:51 PM
I definitely agree. I'm toying with using the Eigen library for the 43S matrix support which provides lots of very easy to use options and includes least square solving, eigen vectors, SVD, decompositions etc. Writing robust and solid matrix code is very difficult.
▼
12-22-2012, 10:53 AM
Aside from function LSQ on the HP 39gII, I found Excel's LINEST function to be very powerful. I have also posted Excel VBA routines, on my web site, that perform calculations for best regression models using Excel's LINEST function. The function returns the regression coefficients, their standard errors, Rsqr, F statistic, and degrees of freedom. If you can mimic LINEST you have a real winner!! Namir
12-22-2012, 04:17 PM
I'm a little skeptical about performance and code size of C++ template based linear algebra code. Templates certainly have their place; I'm just not sure that this is it. Is Eigen better than other open-source linear algebra libraries? ▼
12-22-2012, 04:21 PM
I too was very skeptical about performance and code size until I used Eigen for real problems. Its code size and speed aren't bad if it is applied sensibly and its ease of use is unparalleled in my experience. Compilation times do increase however -- but these can be mitigated by carefully selecting where the template library is actually compiled and linked against. Time till tell I guess.
12-23-2012, 06:04 PM
Thanks Namir. :) Much appreciation. |