Post Reply 
HP48GX Statistical Function
09-22-2018, 09:57 AM
Post: #4
RE: HP48GX Statistical Function
(09-21-2018 11:12 PM)thenewpotato Wrote:  First of all, how might I calculate the median or quartiles on a set of data?

(09-22-2018 02:56 AM)Jlouis Wrote:  but resuming digit TEACH on the display, press ENTER, then press the VAR key and the submenu will appear, now press EXAM, PRGS and finally MEDIA.

There's another program %TILE in the EXAMPLES that can be used with data in a list:
Code:
« SWAP SORT DUP SIZE 1 + ROT 100 / * → p
  « DUP p FLOOR GET SWAP p CEIL GET + 2 /
  »
»
  • Q1: « 25 %TILE »
  • Q2: « 50 %TILE »
  • Q3: « 75 %TILE »

Examples:

Taken from Quartile.

{ 6 7 15 36 39 40 41 42 43 47 49 }
  • Q1: 15
  • Q2: 40
  • Q3: 43

{ 7 15 36 39 40 41 }
  • Q1: 11
  • Q2: 37.5
  • Q3: 40.5

But this might not be exactly what you expect.

Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP48GX Statistical Function - thenewpotato - 09-21-2018, 11:12 PM
RE: HP48GX Statistical Function - Jlouis - 09-22-2018, 02:56 AM
RE: HP48GX Statistical Function - joeres - 09-22-2018, 03:45 AM
RE: HP48GX Statistical Function - Thomas Klemm - 09-22-2018 09:57 AM



User(s) browsing this thread: 1 Guest(s)