Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: 5th & 95th ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 5426 of 6247
Post > Topic >>

Re: 5th & 95th Percentiles

by Spon <christoph.blau@[EMAIL PROTECTED] > Feb 13, 2008 at 09:04 AM

On Feb 13, 4:10 pm, Vince Hradil <hrad...@[EMAIL PROTECTED]
> wrote:
> On Feb 13, 9:58 am, chloesharro...@[EMAIL PROTECTED]
 wrote:
>
> > Hello
>
> > I have an array of data which is not in order and need to find the 5th
> > & 95th percentile of this data.  Is there an easy way to do this?  I
> > will eventually need it to be extended to a for loop that works
> > through multiple arrays each of which have a different number of data
> > contained within them.
>
> > Thanks
> > Chlo=E9
>
> > PS. I'm very inexperienced with IDL so the simpler the better!
>
> I use
this:http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl_li=
b/Mart...

pc5  =3D Data( (SORT(Data) ) (5 * N_ELEMENTS(Data) / 100) )
pc95 =3D Data( (SORT(Data) ) (95 * N_ELEMENTS(Data) / 100) )

This is blatant thievery on my part from an old newsgroup thread.
Try searching the old posts for Stein Vidar to whom all credit should
go! :-)

Good luck!
Chris
 




 5 Posts in Topic:
5th & 95th Percentiles
chloesharrocks@[EMAIL PRO  2008-02-13 07:58:14 
Re: 5th & 95th Percentiles
Vince Hradil <hradilv@  2008-02-13 08:10:41 
Re: 5th & 95th Percentiles
chloesharrocks@[EMAIL PRO  2008-02-13 08:19:22 
Re: 5th & 95th Percentiles
Spon <christoph.blau@[  2008-02-13 09:04:55 
Re: 5th & 95th Percentiles
Maarten <maarten.sneep  2008-02-14 01:04:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 13:09:27 CDT 2008.