Contents Up Previous Next

Test for different means

Purpose
Description
Macro Synopsis
Modules
Related Functions
References


Purpose

Student's t-based significance test

Description

This test examines whether the means and of two distributions (here: signals) are significantly different and displays the results in the message window. It takes one parameter,

and returns two parameters:

The t statistics is computed by the so-called 'pooled variance'.

If the variances are identical, t equals

where the standard error is

If the variances are different, t is computed by

where and denote the numbers of points in the first and second signal, respectively.


Macro Synopsis

TestDiffMeans([xA,xB],diffvar,&t,&signif);
signal xA,xB;
option diffvar;
float t,signif;

Modules

Statistics

Related Functions

BDS test, Kolmogorov-Smirnov test, Test for different histograms, Test for different variances, Test for non-normal-distributed data, Test for non-white-noise, Test for the mean of a Gaussian, Test for the variance of a Gaussian, Wilcoxon test

References

Hollander/Wolfe [13], Lehmann [36]