#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default stdev of an array?

Hello,

I have some data that I have collected, and there is a fairly large
number of data points (900). The way the data is recorded is like this:

172.5 16
172.6 16
172.7 36

and so on. I figured out how to average the values using the
sumproduct() function, but how can I calculate the stdev of the values
without having 900 cells filled with individual data points?

Thanks,

Monte
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default stdev of an array?

Hello Monte

Since a standard deviation is the square root of the variance, you need to
change your variance to accomodate your data layout.

In essence, a standard deviation is a weighted sum. Nothing more, nothing
less. For that, you can use the SUMPRODUCT function as you may know. Hence,
if your numbers are in A1:A3 and your counts are in B1:B3:

=SUMPRODUCT((A1:A3-$A$8)^2,B1:B3)/(SUM(B1:B3)-1)

where A8 houses the average:

=SUMPRODUCT(A1:A3,B1:B3)/SUM(B1:B3)

The standard deviation is calculated using the SQRT function (or raise the
variance to the power 0.5)

Cheers,

Wigi
Belgium

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Monte Milanuk" wrote:

Hello,

I have some data that I have collected, and there is a fairly large
number of data points (900). The way the data is recorded is like this:

172.5 16
172.6 16
172.7 36

and so on. I figured out how to average the values using the
sumproduct() function, but how can I calculate the stdev of the values
without having 900 cells filled with individual data points?

Thanks,

Monte

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default stdev of an array?

Wigi,

Thanks, that seems to do the trick. I just finished up a stats class
last semester so I'm familiar w/ the stdev formula; unfortunately we had
to do everything on calculators so I'm still learning how to apply some
of the techniques to Excel with arrays. I've got the formula working;
I'll have to chew on it a bit when I have time to fully understand how
everything works though.

Thanks,

Monte
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default stdev of an array?

You're welcome.

If you have further questions, please ask them.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Monte Milanuk" wrote:

Wigi,

Thanks, that seems to do the trick. I just finished up a stats class
last semester so I'm familiar w/ the stdev formula; unfortunately we had
to do everything on calculators so I'm still learning how to apply some
of the techniques to Excel with arrays. I've got the formula working;
I'll have to chew on it a bit when I have time to fully understand how
everything works though.

Thanks,

Monte

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine the STDEV of Avg? Eric Excel Discussion (Misc queries) 4 November 4th 07 10:45 AM
how do I get STDEV() 2 sigma? jimbo Excel Worksheet Functions 4 January 25th 06 07:49 AM
STDEV Kimo Excel Discussion (Misc queries) 3 January 13th 06 02:51 PM
StDev Results Michael Excel Discussion (Misc queries) 1 August 22nd 05 09:33 PM
STDEV...HELP JRH New Users to Excel 5 January 22nd 05 08:47 PM


All times are GMT +1. The time now is 01:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"