def create_data(self):
     comp = Compound(str(get_shared_data('test_compound1.cd')))
     return comp.simulate(1000)
Ejemplo n.º 2
0
 def create_data(self):
     comp = Compound(str(get_shared_data('test_compound1.cd')))
     return comp.simulate(1000)
 def comp_data(self):
     d1 = Binomial(0, 10, 0.5)
     d2 = NegativeBinomial(0, 1, 0.1)
     comp = Compound(d1, d2)
     comp_data = comp.simulate(self.N)
     return comp_data