Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating standard deviation from histogram 1

Status
Not open for further replies.

dgallup

Automotive
May 9, 2003
4,708
0
0
US
I have data in a histogram format that I want to calculate the standard deviation. See the attachment.

Any ideas short of reentering all 656 values in a column? Must be a better way.



----------------------------------------

The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows.
 
Replies continue below

Recommended for you

Short example:

Thickness 1, count = 2
Thickness 2, count = 3
Thickness 4, count = 5

Average = [(1*2) + (2*3) + (4*5)]/(2+3+5) = 2.8

STD = sqrt( [2*(1-2.8)^2 + 3*(2-2.8)^2 + 5*(4-2.8)^2]/(2+3+5))

I think.
 
That gave me 3.31 which "looks close".

----------------------------------------

The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows.
 
You don't need to enter all the numbers, just the numbers in the last column, so I did that for you:

which matches dgallup's answer



TTFN
faq731-376
7ofakss
 
Right, I just used the last column. Thanks for the confirmation.

----------------------------------------

The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows.
 
Status
Not open for further replies.
Back
Top