Relacs Numerics Library  0.9.8
Namespaces | Functions | Variables
statstests.cc File Reference
#include <cmath>
#include <algorithm>
#include <relacs/stats.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_sf_gamma.h>
#include <relacs/statstests.h>
Include dependency graph for statstests.cc:

Namespaces

 relacs
 

Functions

double alphaNormal (double x)
 
double alphaBinomial (int k, int n, double p)
 
int positiveSign (const ArrayD &data, double median)
 
void signTest (const ArrayD &data, double median, int tail, int &n, double &p)
 
bool absLess (double a, double b)
 
double rankSumWilcoxon (const ArrayD &xdata, const ArrayD &ydata, int &n)
 
double alphaWilcoxon (double w, int n)
 
double zWilcoxon (double w, int n)
 
void wilcoxonTest (const ArrayD &xdata, const ArrayD &ydata, int tail, double &w, double &p)
 
double pearsonTest (double r, int n)
 
double pks (double z)
 
double qks (double z)
 
void KSTest (const ArrayD &data, const SampleDataD &density, double &d, double &p)
 
void runsTest (const ArrayD &data, double &z, double &p)
 
double lngamma (double xx)
 
int gcf (double *gammcf, double a, double x, double *gln)
 
int gser (double *gamser, double a, double x, double *gln)
 
double gammaP (double a, double x)
 
double gammaQ (double a, double x)
 
double incBeta (double a, double b, double x)
 
void GSLSilentHandler (const char *reason, const char *file, int line, int gsl_errno)
 

Variables

GSLSetErrorHandler gslseterrorhandler