bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] undesired behavior of gsl_stats_sd


From: Peter Johansson
Subject: Re: [Bug-gsl] undesired behavior of gsl_stats_sd
Date: Fri, 26 Apr 2013 09:53:01 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 04/25/2013 02:23 AM, Ming Ji wrote:
desired behavior for users. When number of input data is 1, I think it is
more reasonable to say standard deviation is 0 instead of nan.
FWIW, I disagree. With only one data point you have no idea what the variance is, and nan is the natural return value.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]