I can't seem to get the formula correct for the standard deviation on my project. The method column average does get the correct average so the formula now is set up like row 0 of the 2d array - the average = the sum, then the square root of the (sum - the row number + 1)"to avoid / by 0 error" = the standard deviation. Any hints or help is appreciated. Thank you.
#How do I formulate standard deviation in Java?
1 messages · Page 1 of 1 (latest)
Also the for loop at the top of the photo is the one controlling the column number.
I have to find the standard deviation of the whole column
here is the code to calculate the average of the column
How I formulate standard deviation in Java?
How do I formulate standard deviation in Java?
@nocturne trench can you tell me what should it be mathematically, if length=0 ?
if length is at subscript zero?