public class Tools extends Object
Title: Various statistical routines
Description:
Copyright: Copyright (c) 2003
Company:
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static long |
bins(int numberOfPoints) |
static boolean |
ExtendedInterval(double[] data,
int number,
double[] datarange) |
static boolean |
GaussianClusters(double[][] datamatrix,
int npoints,
int nfactors,
double[] meanvector,
int nclusters) |
static double[] |
max(double[][] points) |
static double |
max(double[] x,
int n) |
static double[] |
max(Vector points) |
static double[] |
mean(double[][] points) |
static double |
mean(double[] x,
int n) |
static double[] |
mean(Vector points) |
static double[] |
min(double[][] points) |
static double |
min(double[] x,
int n) |
static double[] |
min(Vector points) |
static double |
siqr(double[] x,
int n) |
static double |
sres(double sse,
int n) |
static double |
sse(double[] predicted,
double[] observed) |
static double |
std(double[] x,
int n)
Standard deviation
|
static double |
Sxx(Vector points,
double[] mx) |
static double |
Syy(double[] y,
double my) |
public static double std(double[] x, int n)
x
- array of doublen
- number of points in the arraypublic static double mean(double[] x, int n)
x
- vector double[]n
- length of the vectorpublic static double min(double[] x, int n)
public static double max(double[] x, int n)
public static double siqr(double[] x, int n)
x
- double[] vectorn
- vector sizepublic static boolean ExtendedInterval(double[] data, int number, double[] datarange)
public static boolean GaussianClusters(double[][] datamatrix, int npoints, int nfactors, double[] meanvector, int nclusters)
public static double[] max(double[][] points)
points
- public static double[] min(double[][] points)
public static double[] min(Vector points)
public static double[] max(Vector points)
public static double[] mean(double[][] points)
public static double[] mean(Vector points)
public static long bins(int numberOfPoints)
public static double Sxx(Vector points, double[] mx)
public static double Syy(double[] y, double my)
public static double sse(double[] predicted, double[] observed)
public static double sres(double sse, int n)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.