WP34s  Sort sum registers to calculate percentile

04012015, 11:58 AM
Post: #1




WP34s  Sort sum registers to calculate percentile
In my first attempts to do some programming in my WP34s, I stumbled upon this wikipedia article on the calculation of percentiles. In the section about The Linear Interpolation Between Closest Ranks method it says: "In particular, given the N sorted values, we define the percent rank corresponding to the nth value as ... [forumula]"
Can the values in the Sum registers be sorted using RSORT? And if not, what is a better way to achieve this? Any help in the right direction is thankfully appreciated. 

04012015, 12:17 PM
Post: #2




RE: WP34s  Sort sum registers to calculate percentile
The statistical registers cannot be sorted by RSORT. They are not really registers as far as the user is concerned, they exist entirely independently of the user's registers. Moreover, the data you have accumulated isn't stored anywhere, only some accumulations of it  the original values are not available anymore.
The best way I can think of is to store the values into registers and then work out the percentile from these using RSORT.  Pauli 

04012015, 12:45 PM
Post: #3




RE: WP34s  Sort sum registers to calculate percentile  
« Next Oldest  Next Newest »

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