Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Identification of outliers in a coordinate pair

    I have a pair of X and Y variables that are coordinates. If for example I have a straight street, a tw sc will show a straight line. My problem is that I need to identify points that are easily seen as outliers on a graph. Please help. (sorry for my poor English)
    Click image for larger version

Name:	out.png
Views:	1
Size:	81.7 KB
ID:	1559828

  • #2
    it appears that you want something like this:
    Code:
    li id X Y if X>38080 & Y<7763200, clean
    note that I had to make a number of assumptions about your data here and about what you mean by "identify points"; a data example, using -dataex- (read the FAQ please) would help if the above does not work

    Comment


    • #3
      If you are looking to identify outliers in multivariate data in an automated way without depending on the actual values of the data, the output of
      Code:
      search outlier
      provides a long list of community contributed commands, some of which are described as being of use identifying outliers in multivariate data - which is your problem, since your example is not an outlier on either X or Y alone.

      Comment


      • #4
        I found the command "bacon" and it works perfectly for my purposes. Than you very much William and Rich

        Comment

        Working...
        X