Tabnine Logo
SecondMoment.evaluate
Code IndexAdd Tabnine to your IDE (free)

How to use
evaluate
method
in
org.apache.commons.math.stat.descriptive.moment.SecondMoment

Best Java code snippets using org.apache.commons.math.stat.descriptive.moment.SecondMoment.evaluate (Showing top 3 results out of 315)

origin: org.apache.commons/commons-math

/**
 * <p>Returns the sum of squared deviations of Y from its mean.</p>
 *
 * <p>If the model has no intercept term, <code>0</code> is used for the
 * mean of Y - i.e., what is returned is the sum of the squared Y values.</p>
 *
 * <p>The value returned by this method is the SSTO value used in
 * the {@link #calculateRSquared() R-squared} computation.</p>
 *
 * @return SSTO - the total sum of squares
 * @see #isNoIntercept()
 * @since 2.2
 */
public double calculateTotalSumOfSquares() {
  if (isNoIntercept()) {
    return StatUtils.sumSq(Y.getData());
  } else {
    return new SecondMoment().evaluate(Y.getData());
  }
}
origin: datacleaner/DataCleaner

  geometricMean = descriptiveStats.getGeometricMean();
  sumOfSquares = descriptiveStats.getSumsq();
  secondMoment = new SecondMoment().evaluate(descriptiveStats.getValues());
} else {
  final SummaryStatistics summaryStats = (SummaryStatistics) s;
origin: org.eobjects.analyzerbeans/AnalyzerBeans-basic-analyzers

  geometricMean = descriptiveStats.getGeometricMean();
  sumOfSquares = descriptiveStats.getSumsq();
  secondMoment = new SecondMoment().evaluate(descriptiveStats.getValues());
} else {
  final SummaryStatistics summaryStats = (SummaryStatistics) s;
org.apache.commons.math.stat.descriptive.momentSecondMomentevaluate

Popular methods of SecondMoment

  • <init>
    Copy constructor, creates a new SecondMoment identical to the original
  • clear
  • getN
  • increment
  • copy
    Copies source to dest.Neither source nor dest can be null.
  • getResult

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • putExtra (Intent)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now