0

I have a hierarchy of how a given variable is to be split into multiple sub-categories

Lets' assume d = 1000, there are 3 categories where this 'd' is to be split with probability as below:

categories = ['c1': 0.3, 'c2':0.3, 'c3':0.4]

Each of the category [c1,c2,c3,c4] has sub-categories which occur with given probabilities:

c1 -> [s1: 0.2, s2: 0.3, s3: 0.3, s4:0.2]
c2 -> [p1: 0.1, p2:0.2, p3:0.2, p4: 0.3, p5: 0.2]
c3-> [t1: 0.4, t2:0.3, t3:0.3]```

Each of these sub-category [s1, s2,...s4], [p1, p2..p5], [t1..t3] are sub-split into 30 days of month, with equal probability

I have modeled d->c relation with a Multinomial, but cannot seem to create a hierarchy all the way to days of month.

Any suggestions would be useful !

0 Answers0