any sample code for calculating "variance" (statistic)?  
Author Message
kari0002





PostPosted: Visual C# General, any sample code for calculating "variance" (statistic)? Top

Hi,

i'm trying to compute variance-covariance matrix (finance). I'm wondering if there is any free sample code of library that can help me such as codes that computes variance(like in statistics).

Is there any free sample code or libraby for that

Thank you in advance.



Visual C#6  
 
 
Figo Fei - MSFT





PostPosted: Visual C# General, any sample code for calculating "variance" (statistic)? Top

Hope this helps: http://msdn.microsoft.com/library/default.asp url=/library/en-us/csspec/html/vclrfcsharpspec_12_5.asp

BR



 
 
kari0002





PostPosted: Visual C# General, any sample code for calculating "variance" (statistic)? Top

Oh I didn't mean the covariance type. I mean the covariance in statistic like those standard deviation, etc.

thanks anyway :)


 
 
Figo Fei - MSFT





PostPosted: Visual C# General, any sample code for calculating "variance" (statistic)? Top

hi,

In SQL Server method stdev (express) is available to calculate standard deviation, and many aggregate methods in it.

Otherwise, there are also a lot of statistic methods in crystal reports and excel.

BR