+ Reply to Thread
Results 1 to 5 of 5

Standard Deviation Error, please help!!

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    75

    Standard Deviation Error, please help!!

    Dear Excel Forumer,

    I am not sure why my standard deviation formula return 6.22688E-14 when i use formula =stdev(C2:C7). If, say for example, I change A7 to 0.1, it will return an absolute number of 0.040824829. That is my desired outcome. I wish to have col. A correspond to 0, while col. B correspond to 500.1, with stdev outcome an absolution value.

    Please help. Thanks so much!!

    1 A B C
    2 0 500.1 500.1
    3 0 500.1 500.1
    4 0 500.1 500.1
    5 0 500.1 500.1
    6 0 500.1 500.1
    7 0.1 500.1 500
    8 Standard Deviation 0.040824829

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,515

    Re: Standard Deviation Error, please help!!

    I'm not sure I understand the problem. How does the value in C depend on the values in B and A?

    It almost looks like C=B-A, and that you intend to have the same value in each row.

    If C2:C7 contain the exact same value (500.1), the stdev() of 7 instances of 500.1 will be 0 within roundoff error that every computer faces (there are lots of articles and discussions about round off error. here's one http://www.cpearson.com/Excel/rounding.htm). In essence what this means is that, for a computation like this standard deviation that theoretically should be exactly 0, the computer actually calculates a value that is very close to 0 but not exactly 0.

    There really is not "fix" for this. We as programmers just need to recognize that, within the context of a problem like this, any value with a magnitude less than 1E-10 (for example) is probably 0 and treat it accordingly. In Excel, a lot of people like to use one of the ROUND() functions for this.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    09-20-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Standard Deviation Error, please help!!

    Thanks a lot for your help in explaining this.

    In fact, A is my first reading, B is my second reading, while C is the difference.

    Now I know the reason behind this problem. I will definitely look into the link you have recommended me as well.

    Once again, thank you for your time in explaining.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Standard Deviation Error, please help!!

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    09-20-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Standard Deviation Error, please help!!

    Quote Originally Posted by arlu1201 View Post
    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    Noted, and thanks for your reminder. I will mark as solved in future post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Shaded Standard Deviation or Error Bars
    By SillayKetha in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-20-2013, 01:24 AM
  2. Excel 2007 : Standard deviation error bars don't work
    By Marinegirl in forum Excel General
    Replies: 1
    Last Post: 08-17-2010, 03:26 PM
  3. error bars and standard deviation
    By Emily Stevens in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-17-2007, 11:08 AM
  4. Standard Deviation help
    By paddyb270 in forum Excel General
    Replies: 1
    Last Post: 10-30-2005, 07:05 PM
  5. Replies: 1
    Last Post: 01-21-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1