HP Forums
stats in program - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: stats in program (/thread-11135.html)



stats in program - Tyann - 07-28-2018 03:12 PM

Bonjour
Dans un programme non CAS quel est le meilleur moyen de faire des
calculs statistiques sur une liste locale.
Peut-on utiliser les fonctions du CAS sans problème, ou vaut-il mieux recréer ces fonctions :
moyenne, médiane etc...
Merci d'avance pour vos conseils ?

Hello
In a non-CAS program what is the best way to make
statistical calculations on a local list.
Can the CAS functions be used without problems, or is it better to recreate these functions:
average, median etc.
Thank you in advance for your advice?


RE: stats in program - Joe Horn - 07-28-2018 06:55 PM

They work fine in Home and in non-CAS programs. Just be aware that the output of the mean() function in Home can be affected by the CAS setting for integer inputs (CAS Settings, 3rd row, check box on the right end). When checked, mean([1,2]) returns the fraction 3/2, but when unchecked it returns the decimal value 1.5.


RE: stats in program - StephenG1CMZ - 07-28-2018 10:23 PM

In addition to the built-in stats, I have a collection of different means here: http://www.hpmuseum.org/forum/thread-9852.html
And median and mode here: http://www.hpmuseum.org/forum/thread-9411.html