Excuse the ignorance here. My background is not mathematics. This is an IT problem that may have a mathematical solution:
I have a large amount of sets of variables. The variables belong to a distinct set of data (for example, each variable may be the age of a person in years, in which case, my potential range has about 100 values). Each set has an unspecified number of data points (for the sake of making things easier to understand, lets assume that each set is the ages of people in a restaurant table):
- set 1: {1, 100, 2, 3}
- set 2: {3, 4, 45,1 ,2 ,34, 65, 33, 59, 32}
- set 3: {40}
- etc. etc.
I need to identify common subsets within the data. So ideally I would like to look at a few millions of sets and determine that in 20% of these sets you can find the subset (30, 45, 50) for example. Which would then suggest that if you see a 50 year old and a 45 year old, then there is a good chance that a 30 year old will join them - or something similar)
Can anyone provide a few pointers?
After going over some of the comments:
@dls thanks for the link. I think that I found something relevant in the apriori algorithm. There is also (for the IT lot) useful ruby code at github and R code.
I have also posted the same question at CrossValidated. The responses and comments have been very helpful so please have a look there too.
Or ask the people at Cross Validated: http://stats.stackexchange.com
– dls Aug 31 '13 at 16:00