08-21-2003 12:16 PM
			
    
	
		
		
		08-21-2003
	
		
		12:48 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		12-11-2024
	
		
		01:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
What are you initializing the mean and dev objects to? Try initializing them to null - if you initialize them to a double value, you will get a type mismatch error. If you are already initializing them to null, please post a code snippet that demonstrates how you are declaring, initializing, and passing the variables to the StdDev method.
Also, you may want to take a look at the recently released Measurement Studio 7.0. Measurement Studio 7.0 has a .NET analysis library that you'll find much easier to use in .NET development. In this case, the Measurement Studio .NET analysis library provides a Statistics class which has a StandardDeviation method and a Mean method. Both of these
methods take a double[] and return a double.
- Elton 
08-21-2003 01:41 PM