|
| 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:
FWIW, I disagree. With only one data point you have no idea what the variance is, and nan is the natural return value.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.
| [Prev in Thread] | Current Thread | [Next in Thread] |