[Numpy-discussion] Generating Bell Curves (was: Using normal() )

Bruce Southey bsouthey at gmail.com
Fri Apr 25 15:06:30 EDT 2008


Rich Shepard wrote:
> On Fri, 25 Apr 2008, Robert Kern wrote:
>
>   
>> In that case, you need to search the literature of your field for precise
>> details on how to construct the curve that you want.
>>     
>
> Robert,
>
>    Considering how few of us work in this subject area there's not much in
> the way of resources.
>
>    Regardless, for now the working Gaussian code will do quite well. As time
> permits I'll see what I can find (or create) to produce a curve that reaches
> zero at the bounds.
>
> Many thanks, all,
>
> Rich
>
>   
Hi,
Just use a truncated distribution as these are well known:
http://en.wikipedia.org/wiki/Truncated_distribution
http://en.wikipedia.org/wiki/Truncated_normal_distribution

Bruce



More information about the NumPy-Discussion mailing list