[SciPy-user] Newbie question

Santiago Erquicia serquiciamailing at fastimap.com
Tue Oct 21 18:36:03 EDT 2003


Sorry to do this, but I don't find any documentation about how to do this.

I want to use the pdf and cdf method of the triangular distribution. I 
was looking at the constructor of the distribution and its methods and I 
really have no clue what every parameter means.

In my case, I have triangular distributions with min_value = 3, mode = 5 
and max_value = 7.  How do I need to construct the triangular 
distribution?  triang_dist = scipy.stats.distribution.triang_gen(3,5,7)?

The other simple problem (not for me) is that I want to get the cdf of 
the distribution at point 6.  I supposed that with triang_dist.pdf(6) 
would do it, but it asks me for two parameters.  How about the pdf?

Does anyone has an example of how to use it?

Thanks and sorry for the basic question.




More information about the SciPy-User mailing list