Results 1 to 6 of 6

Thread: Standard Deviation of Complex Numbers

  1. #1

    Thread Starter
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Standard Deviation of Complex Numbers

    Is it possible to calculate the Standard Deviation of Complex Numbers using Excel?


    Are there built in functions to do this or would I have to write the whole thing using VBA?

  2. #2
    Hyperactive Member Foxer's Avatar
    Join Date
    Oct 2001
    Location
    Australia
    Posts
    278

    Re: Standard Deviation of Complex Numbers

    Have you looked up stdev?? Not sure if that suits your data.
    Rate my response if I helped

    Go Hard Or Go Home


  3. #3

    Thread Starter
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Re: Standard Deviation of Complex Numbers

    STDEV is the standard deviation calculation although I haven't been able to get it to work with the COMPLEX worksheet function.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Standard Deviation of Complex Numbers

    There was a link posted a few months ago on how inaccurate Excel is for complex mathematical calculations.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    New Member
    Join Date
    May 2004
    Posts
    5

    Re: Standard Deviation of Complex Numbers

    the standard deviation of a series of complex numbers is not mathematically defined. the usual equation for s.d. does not make any sense with complex numbers.

  6. #6
    New Member
    Join Date
    Mar 2010
    Posts
    1

    Exclamation Re: Standard Deviation of Complex Numbers

    I am reviving this thread since it is the first result in google search for the phrase "complex standard deviation".

    Dudzcom (previous poster) is entirely incorrect and has probably misled many people unintentionally.

    If you follow the link to http://en.wikipedia.org/wiki/Variance#Generalizations
    you will find the definition of the variance of a distribution for complex numbers. It is a true generalization of variance since it always comes out to be a positive real number and reduces to the usual case when you are working with a real distribution.
    Since the standard deviation is defined as the square root of the variance, this means that the standard deviation of a complex distribution does in fact make mathematical sense.
    Just to be clear, we have the following method of calculating complex standard deviation:

    s.d. = sqrt( E[ (X-u)*(X-u) ] )

    in this equation, s.d. is standard deviation, sqrt is square root, E is the expectation value operator, u is the mean of the random variable X, and * denotes complex conjugate. Another way of writing this would be

    s.d. = sqrt( E[ |X-u|^2 ] )

    where the || denotes the norm of a complex number. When written in this form, it is apparent that we do in fact end up with a positive real number.


    Just a public service announcement

Posting Permissions

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



Click Here to Expand Forum to Full Width