Project

General

Profile

Bug #1538

Bug in calculation of Standard Deviations in XBOA

Added by Hunt, Christopher almost 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
04 August 2014
Due date:
% Done:

100%

Estimated time:
0.10 h

Description

There is a hard-coded bug in the file Bunch.py - line 633.

Where a statistical moment for a selected variable is to calculated by the function
"Bunch.standard_deviation(...)"
it is hard coded to return the value of "Bunch.moment( ['x','x'] ) ** 0.5".

I believe this line should be changed to:

"
return self.moment( [ a_variable, a_variable ], a_variable_mean ) ** 0.5
"

#1

Updated by Rogers, Chris about 8 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Fixed. Sorry for the delay.

Also available in: Atom PDF