New HP 39gII programs on my web site



#12

Hi All,

I have posted four articles about statistical regression calculations for the HP 39gII on my web site.

Enjoy!

Namir


#13

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?


- Pauli


#14

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.


#15

The advantage depends on the data editing features. OTOH, I'm quite content with the way the HP-42S or WP 34S handle this topic.

d:-)

#16

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.

#17

The HP39gII programs that I posted show that the machine has a lot teeth to do powerful regression calculations.


#18

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.


- Pauli


#19

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

#20

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?


#21

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.


- Pauli

#22

Thanks Namir. :) Much appreciation.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: Lists in programs Alberto Candel 7 452 12-04-2013, 02:16 AM
Last Post: Alberto Candel
  Gathering USB dumps for Connectivity Kit <-> 39gII communication... debrouxl 2 249 12-01-2013, 12:59 PM
Last Post: Marcus von Cube, Germany
  New firmware for HP 39gII Mic 6 378 11-26-2013, 06:23 PM
Last Post: DeboT
  HP Prime: matrices in programs, in need of help Alberto Candel 9 446 11-26-2013, 01:33 AM
Last Post: cyrille de Brébisson
  Grouping programs on the HP Prime Michael de Estrada 11 513 11-04-2013, 01:38 PM
Last Post: Damien
  Transfering HP-85A Programs Gerry Schultz 5 278 10-17-2013, 12:30 PM
Last Post: Philip Reagan (Texas)
  HP Prime vs. 39gII Connectivity Kit Marcus von Cube, Germany 3 282 10-09-2013, 05:44 PM
Last Post: Marcus von Cube, Germany
  OT: a math competition site Pier Aiello 0 130 09-16-2013, 06:03 AM
Last Post: Pier Aiello
  WP-34S on German Auction Site Joerg Woerner 3 234 09-08-2013, 04:36 PM
Last Post: Maximilian Hohmann
  [HP 39Gii] - Bug report Jean-Michel 1 196 08-28-2013, 10:53 AM
Last Post: Tim Wessman

Forum Jump: