473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Access' dStDev vs Excel's StDev?

I'm assuming that given the same stream of values, each should return the same
result.

Anybody disagree?
--
PeteCresswell
Nov 13 '05 #1
7 5569
On Wed, 30 Mar 2005 20:53:26 -0500, "(Pete Cresswell)" <x@y.z.invalid>
wrote:

Not me.
Just be aware of the difference between StDev and StDevP. But
otherwise, yes, StDev is a well defined entity.

-Tom.
I'm assuming that given the same stream of values, each should return the same
result.

Anybody disagree?


Nov 13 '05 #2
"(Pete Cresswell)" <x@y.z.invalid> wrote in
news:qu********************************@4ax.com:

Anybody disagree?


You mean N-1 disagree?

--
Lyle
--
Nov 13 '05 #3
On Wed, 30 Mar 2005 19:36:15 -0700, Tom van Stiphout
<no*************@cox.net> wrote:
StDev is a well defined entity.


I must be doing something wrong.

When I try to prove one against the other from MS Access, I'm issuing:
------------------------------------------------------------------------

?gExcelApp.WorksheetFunction.StDev("1345,1301,1368 ,1322,1310,1370,1318,1350,1303,1299")
------------------------------------------------------------------------

Where ?gExcelApp.Name returns "Microsoft Excel" (i.e. Excel really is
instantiated).
But it's bombing with RunTime 1004 "Unable to get the StDev property
of the WorkSheetFunctionClass".

When I look up Excel in Object Browser, it *seems* like that's the
right path (i.e. Application.WorkSheetFunction.StDev).

Any idea what I'm doing wrong?
Nov 13 '05 #4
Per Tom van Stiphout:
Just be aware of the difference between StDev and StDevP.


I've read the words, but they don't make any sense to me.

If I'm passing an array of values, what's the diff whether they consitute the
entire population or are a sample from some larger population?

I could see it mattering if StDevP accepted an argument that specified the size
of the larger population, but as it is I can't make it jell.

?
--
PeteCresswell
Nov 13 '05 #5
On Thu, 31 Mar 2005 16:33:53 -0500, "(Pete Cresswell)" <x@y.z.invalid>
wrote:

For statisticians it matters whether the data you're about to
calculate with constitute the entire set (StDevP), or just a sample
(StDev).
In the respective formulas (off the top of my head) we are either
dividing by N or by N-1(where N = sample size). For small values of N
this matters, and I just didn't want you to say "here is my proof the
two environments calculate different results" when all you did was get
confused between these two functions.

-Tom.

Per Tom van Stiphout:
Just be aware of the difference between StDev and StDevP.


I've read the words, but they don't make any sense to me.

If I'm passing an array of values, what's the diff whether they consitute the
entire population or are a sample from some larger population?

I could see it mattering if StDevP accepted an argument that specified the size
of the larger population, but as it is I can't make it jell.

?


Nov 13 '05 #6
On Thu, 31 Mar 2005 14:24:57 -0500, PeteCresswell <x@y.z.Invalid>
wrote:

The argument to the StDev function is not a string, but a list of
values. Paste this in Excel's immediate window:
?Application.WorksheetFunction.StDev(1345,1301,136 8,1322,1310,1370,1318,1350,1303,1299)
27.4639157198405

-Tom.

On Wed, 30 Mar 2005 19:36:15 -0700, Tom van Stiphout
<no*************@cox.net> wrote:
StDev is a well defined entity.


I must be doing something wrong.

When I try to prove one against the other from MS Access, I'm issuing:
------------------------------------------------------------------------

?gExcelApp.WorksheetFunction.StDev("1345,1301,136 8,1322,1310,1370,1318,1350,1303,1299")
------------------------------------------------------------------------

Where ?gExcelApp.Name returns "Microsoft Excel" (i.e. Excel really is
instantiated).
But it's bombing with RunTime 1004 "Unable to get the StDev property
of the WorkSheetFunctionClass".

When I look up Excel in Object Browser, it *seems* like that's the
right path (i.e. Application.WorkSheetFunction.StDev).

Any idea what I'm doing wrong?


Nov 13 '05 #7
On Thu, 31 Mar 2005 19:56:18 -0700, Tom van Stiphout
<no*************@cox.net> wrote:
The argument to the StDev function is not a string, but a list of
values. Paste this in Excel's immediate window:
?Application.WorksheetFunction.StDev(1345,1301,13 68,1322,1310,1370,1318,1350,1303,1299)
27.4639157198405


Bingo!......

That makes is "Cresswell 0, Computer 3" for yesterday....

Thanks.
Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ilan | last post by:
Hi all I need to add data from two Excel sheets (both on the same workbook) to an existing table in my SQL DB. The problem is that each sheet holds different fields for the same record, though...
2
by: Jon | last post by:
Hi All I am trying to work out the standard deviation for all the columns in a query not just 1 column. Is there a way of selecting the full query and doing a stdev on it? Yours Jon
8
by: mytfein | last post by:
Hi Everyone, Background: Another department intends to ftp a .txt file from the mainframe, for me to process. The objective is to write a vb script that would be scheduled to run daily to...
37
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why...
1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
0
by: adnanahmed714 | last post by:
Hemant & ALL i want to calculate the STDEV of last 20 values added in the databse column.I am using this function but getting the result of all the values present in the...
1
by: adnanahmed714 | last post by:
Hi All i Want to calculate STDEV of last 20 values in the database Column,using VB Want help on the syntax of the statment Thanks in advance
0
missinglinq
by: missinglinq | last post by:
When naming controls and variables in Access you should always be careful not to use Access Reserved Words! If you have to give them a similar name, use something like txtDate, or even better,...
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.