|
-
Mar 5th, 2007, 12:44 PM
#1
Thread Starter
Frenzied Member
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?
-
Mar 5th, 2007, 11:48 PM
#2
Hyperactive Member
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
-
Mar 6th, 2007, 03:09 AM
#3
Thread Starter
Frenzied Member
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.
-
Mar 7th, 2007, 02:31 AM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Sep 6th, 2009, 07:19 PM
#5
New Member
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.
-
Mar 26th, 2010, 12:05 PM
#6
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|