Tabnine Logo
Kurtosis.getResult
Code IndexAdd Tabnine to your IDE (free)

How to use
getResult
method
in
org.apache.commons.math3.stat.descriptive.moment.Kurtosis

Best Java code snippets using org.apache.commons.math3.stat.descriptive.moment.Kurtosis.getResult (Showing top 3 results out of 315)

origin: meyerjp3/psychometrics

public double getKurtosis(){
  return kurt.getResult();
}
origin: meyerjp3/psychometrics

public String toString(String title){
  StringBuilder sb = new StringBuilder();
  Formatter f = new Formatter(sb);
  f.format("%-50s", title);f.format("%n");
  f.format("%30s", "==============================");f.format("%n");
  f.format("%-10s", "Statistic");f.format("%5s", "");
  f.format("%10s", "Value");f.format("%5s", "");f.format("%n");
  f.format("%30s", "------------------------------");f.format("%n");
  f.format("%-10s", "N");f.format("%5s", "");
  f.format("%10.4f", (double)m.getN());f.format("%5s", "");f.format("%n");
  f.format("%-10s", "Min");f.format("%5s", "");
  f.format("%10.4f", min.getResult());f.format("%5s", "");f.format("%n");
  f.format("%-10s", "Max");f.format("%5s", "");
  f.format("%10.4f", max.getResult());f.format("%5s", "");f.format("%n");
  f.format("%-10s", "Mean");f.format("%5s", "");
  f.format("%10.4f", m.getResult());f.format("%5s", "");f.format("%n");
  f.format("%-10s", "St. Dev.");f.format("%5s", "");
  f.format("%10.4f", sd.getResult());f.format("%5s", "");f.format("%n");
  f.format("%-10s", "Skewness");f.format("%5s", "");
  f.format("%10.4f", skew.getResult());f.format("%5s", "");f.format("%n");
  f.format("%-10s", "Kurtosis");f.format("%5s", "");
  f.format("%10.4f", kurt.getResult());f.format("%5s", "");f.format("%n");
  f.format("%30s", "==============================");f.format("%n");
  return f.toString();
}
origin: zavtech/morpheus-core

public static void main(String[] args) {
  final double[] values = new java.util.Random().doubles(5000).toArray();
  final Kurtosis stat1 = new Kurtosis();
  final org.apache.commons.math3.stat.descriptive.moment.Kurtosis stat2 = new org.apache.commons.math3.stat.descriptive.moment.Kurtosis();
  for (double value : values) {
    stat1.add(value);
    stat2.increment(value);
  }
  final double result1 = stat1.getValue();
  final double result2 = stat2.getResult();
  if (result1 != result2) {
    throw new RuntimeException("Error: " + result1 + " != " + result2);
  }
}
org.apache.commons.math3.stat.descriptive.momentKurtosisgetResult

Popular methods of Kurtosis

  • <init>
    Copy constructor, creates a new Kurtosis identical to the original
  • evaluate
    Returns the kurtosis of the entries in the specified portion of the input array. See Kurtosis for d
  • copy
    Copies source to dest.Neither source nor dest can be null.
  • getDataRef
  • setData
  • test
  • increment
    Note that when #Kurtosis(FourthMoment) is used to create a Variance, this method does nothing. In th
  • clear

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Top 12 Jupyter Notebook extensions
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