Calculates Fisher transformation.

You're viewing an older version of this page (#54). View the current version.

View versions (1)

Interface

#include <codecogs/statistics/moments/fisher.h>

using namespace Statistics::Moments;

In statistics, hypotheses about the value of x, the correlation coefficient between variables y and z of the underlying population, can be tested using the Fisher transformation applied to x.

Definition of the Fisher transformation:

Z=\frac{ln(1+x)-ln(1-x)}{2}
(1)

Here Z is approximately normally distributed with mean x.

References

Wikipedia, http://en.wikipedia.org/wiki/Fisher_transformation

Example 1

#include <codecogs/statistics/moments/fisher.h>
#include <iostream>
int main()
{
  double fis = Stats::Moments::fisher(0.57);
  std::cout << "The Fisher transformation is: " << fis << std::endl;
  return 0;
}

Output:

The Fisher transformation is: 0.647523

Parameters

x
a numeric value for which you want the transformation

Returns

the Fisher transformation of x
GPL Licence — free for non commercial use. See Licence details.

Interactive Calculator

x
Result