[SciPy-user] How to get parameters out of an rv object
Tue Oct 23 14:26:38 CDT 2007
I'd like to wrap scipy.stats.rv objects in PyMC random variables. To do that
the class factory needs to inspect the rv objects and figure out what
parameters they're expecting. For instance, it would need to look at
stats.norm and figure out that it's expecting loc and scale.
I've tried just inspecting the pdf / pmf methods, but it hasn't work because
many of them seem to inherit the generic method taking only x, *args,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user