comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Identifying outliers in data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Identifying outliers in data [message #91302 is a reply to message #91297] Fri, 26 June 2015 11:57 Go to previous messageGo to previous message
siumtesfai is currently offline  siumtesfai
Messages: 62
Registered: April 2013
Member
On Thursday, June 25, 2015 at 10:03:34 PM UTC-4, siumt...@gmail.com wrote:
> Hi All,
>
> I am using cgboxplot.pro to identify outliers in my data. It is nice program that I see I have outliers in my data
>
> Next step I would like to store my good data to an array and continue processing them.
>
>
> My data is two dimension wind data
>
> wind = Array(number of days, pressure levels)
>
> e.g wind= Array( 31, 17)
>
> Once I am able to exclude the outliers from my daily dataset, I am interested to make monthly mean data set
>
>
>
> Can anyone suggest me how I would solve my problem
>
> Thank you in advance
>
> Best regards




I would think i can do this

; Draw outliners if there are any.
IF maxcount GT 0 THEN BEGIN
outliermax=fltarr(maxcount)
FOR k = 0,maxcount-1 do outliermax(k)=imax(k)
print,'outliermax'
print,outliermax

FOR j=0,maxcount-1 DO PLOTS, xlocation, data[imax[j]], $
PSYM=cgSymCat(9), COLOR=cgColor(outliercolor), NOCLIP=0
ENDIF
IF mincount GT 0 THEN BEGIN

outliermin=fltarr(mincount)
FOR kk = 0,mincount-1 do outliermin(kk)=imin(kk)
print,'outliermin'
print,outliermin
FOR j=0,mincount-1 DO PLOTS, xlocation, data[imin[j]], $
PSYM=cgSymCat(9), COLOR=cgColor(outliercolor), NOCLIP=0
ENDIF



But the problem would be the original data have been sorted . I would have a problem locating the location or index of the outlier in the original data.

I found in the above step is the index or location from the already sorted data.

Best regards
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Storing values in array after each iteration in for loop
Next Topic: READF: Input conversion error. Unit: 103,

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:28:48 PDT 2025

Total time taken to generate the page: 0.00425 seconds