Package jscicalc.pobject

Examples of jscicalc.pobject.PopStDev


      return stDev;
  }
    }

    public PopStDev statPopulationStDev(){
  PopStDev stDev = new PopStDev();
  try {
      Complex d = statSumSquares();
      //if( d < 0 || statSize() < 1 ){
      if( statSize() < 1 ){
    stDev.setError( true );
    return stDev;
      } else {
    stDev.setValue( d.divide( new Complex( statSize(), 0 ) ).sqrt() );
    return stDev;
      }
  } catch( Exception e ){
      stDev.setError( true );
      return stDev;
  }
    }
View Full Code Here

TOP

Related Classes of jscicalc.pobject.PopStDev

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.