+ Reply to Thread
Results 1 to 2 of 2

Thread: Clusters - Help!!!!!

  1. #1
    Points: 2,899, Level: 32
    Level completed: 99%, Points required for next Level: 1

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Clusters - Help!!!!!




    Hi

    unfortunately my stats abilities fall well short of solving this problem properly (it is over 20 years since I finished my Chemical Engineering degree - with which had almost no stats in it and i have done little or no maths since - I work in the banking industry now!!!!!). I was wondering anybody might have a - beginning to end - worked example of a method to solve my clustering problem. I am trying to develop some analysis for the Foreign Exchange market (in my free time) and need to find clustered price levels of support and resistance (price areas where the price stalls or bounces). I can find an array of prices where historically the price has stalled or bounced but I would very much like to find where these prices are clustered for example say I found the the set of stall/bounce points below:

    Oh ... A couple of last points that might be important ... 1) I don't know how many clusters there are so i cannot set it as an input parameter to an algorithm and there 2) there will probably be around 100 values in the array ... with no idea of the the number of clusters and for sure some points will not fall into any cluster at all ... I would define a cluster as being at least 3 points in close proximity

    100.01
    100.00
    100.05
    100.10
    101.34
    104.23
    106.43
    105.33
    110.21
    110.22
    110.18

    I can see visually there are two clusters ... one in the region of (100.00 => 100.05) and one in the area of (110.18 => 110.22), I'd like to computationally find these areas and return the median of the cluster as a likely place the price will stall/bounce ...

    Any help would be very much appreciated !!!!!!

    Many Thanks

    Paul

  2. #2
    Dark Knight
    Points: 6,762, Level: 54
    Level completed: 6%, Points required for next Level: 188
    vinux's Avatar
    Posts
    2,011
    Thanks
    52
    Thanked 241 Times in 205 Posts

    I can see three clusters here
    first
    100.01
    100.00
    100.05
    100.10
    101.34

    second
    104.23
    106.43
    105.33

    third
    110.21
    110.22
    110.18

    Quote Originally Posted by murfinp View Post

    Oh ... A couple of last points that might be important ... 1) I don't know how many clusters there are so i cannot set it as an input parameter to an algorithm and there 2) there will probably be around 100 values in the array ... with no idea of the the number of clusters and for sure some points will not fall into any cluster at all ... I would define a cluster as being at least 3 points in close proximity
    It is easy clustering univariate data.
    The easiest way to do this is using histogram. Based on the modes we can decide the clusters.
    There are so many algorithms are available(like K-means,Agglomerative hierarchical clustering). But those all are required more calculation.
    In the long run, we're all dead.

+ Reply to Thread

           




Similar Threads

  1. Replies: 0
    Last Post: 03-15-2011, 10:52 AM
  2. Clusters and Inertia?
    By darfunkel in forum Statistics
    Replies: 1
    Last Post: 12-22-2010, 11:01 AM
  3. Correlation clusters in Splus
    By Stan in forum Statistics
    Replies: 0
    Last Post: 01-19-2010, 11:20 AM
  4. Replies: 4
    Last Post: 01-27-2009, 08:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats