Tabnine Logo
SecondMoment.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.commons.math.stat.descriptive.moment.SecondMoment
constructor

Best Java code snippets using org.apache.commons.math.stat.descriptive.moment.SecondMoment.<init> (Showing top 11 results out of 315)

origin: org.apache.commons/commons-math

/**
 * Constructs a Variance with default (true) <code>isBiasCorrected</code>
 * property.
 */
public Variance() {
  moment = new SecondMoment();
}
origin: commons-math/commons-math

/**
 * Constructs a Variance with default (true) <code>isBiasCorrected</code>
 * property.
 */
public Variance() {
  moment = new SecondMoment();
}
origin: commons-math/commons-math

/**
 * Constructs a Variance with the specified <code>isBiasCorrected</code>
 * property
 * 
 * @param isBiasCorrected  setting for bias correction - true means
 * bias will be corrected and is equivalent to using the argumentless
 * constructor
 */
public Variance(boolean isBiasCorrected) {
  moment = new SecondMoment();
  this.isBiasCorrected = isBiasCorrected;
}

origin: org.apache.commons/commons-math

/**
 * Constructs a Variance with the specified <code>isBiasCorrected</code>
 * property
 *
 * @param isBiasCorrected  setting for bias correction - true means
 * bias will be corrected and is equivalent to using the argumentless
 * constructor
 */
public Variance(boolean isBiasCorrected) {
  moment = new SecondMoment();
  this.isBiasCorrected = isBiasCorrected;
}
origin: org.apache.commons/math

/**
 * Constructs a Variance with default (true) <code>isBiasCorrected</code>
 * property.
 */
public Variance() {
  moment = new SecondMoment();
}
origin: org.apache.commons/math

/**
 * Constructs a Variance with the specified <code>isBiasCorrected</code>
 * property
 *
 * @param isBiasCorrected  setting for bias correction - true means
 * bias will be corrected and is equivalent to using the argumentless
 * constructor
 */
public Variance(boolean isBiasCorrected) {
  moment = new SecondMoment();
  this.isBiasCorrected = isBiasCorrected;
}
origin: org.apache.commons/commons-math

/**
 * {@inheritDoc}
 */
@Override
public SecondMoment copy() {
  SecondMoment result = new SecondMoment();
  copy(this, result);
  return result;
}
origin: org.apache.commons/math

/**
 * {@inheritDoc}
 */
@Override
public SecondMoment copy() {
  SecondMoment result = new SecondMoment();
  copy(this, result);
  return result;
}
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.momentSecondMoment<init>

Javadoc

Create a SecondMoment instance

Popular methods of SecondMoment

  • clear
  • evaluate
  • getN
  • increment
  • copy
    Copies source to dest.Neither source nor dest can be null.
  • getResult

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Best IntelliJ plugins
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