|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.math.CorrelationStats
Statistical evaluation and transformation tools for correlations.
Copyright (c) 2004
Institution:: Columbia University
| Constructor Summary | |
CorrelationStats()
|
|
| Method Summary | |
static double |
byteToCorrel(int correlByte)
|
static double |
byteToPvalue(int pvalByte)
|
static double |
compare(double correl1,
int n1,
double correl2,
int n2)
Statistical comparison of two correlations. |
static int |
correlAsByte(double correl)
|
static double |
correlationForPvalue(double pval,
int count)
Find the approximate correlation required to meet a particular pvalue. |
static double |
correlationTstat(double correl,
int dof)
Compute the t-statistic associated with a Pearson correlation. |
static double |
fisherTransform(double r)
Compute the Fisher z transform of the Pearson correlation. |
static cern.colt.list.DoubleArrayList |
fisherTransform(cern.colt.list.DoubleArrayList e)
Fisher-transform a list of correlations. |
static boolean |
isValidPearsonCorrelation(double r)
Test if a value is a reasonable Pearson correlation (in the range -1 to 1; values outside of this range are acceptable within a small roundoff. |
static double |
pvalue(double correl,
int count)
|
static int |
pvalueAsByte(double correl,
int count)
Conver a correlation p value into a value between 0 and 255 inclusive. |
static double |
unFisherTransform(double r)
Reverse the Fisher z-transform of correlations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CorrelationStats()
| Method Detail |
public static double pvalue(double correl,
int count)
correl - Pearson correlation.count - Number of items used to calculate the correlation. NOT the degrees of freedom.
public static int correlAsByte(double correl)
correl - double
public static double unFisherTransform(double r)
r -
public static double fisherTransform(double r)
r - Correlation coefficient.
public static cern.colt.list.DoubleArrayList fisherTransform(cern.colt.list.DoubleArrayList e)
e -
public static int pvalueAsByte(double correl,
int count)
correl - doublecount - int
public static double byteToPvalue(int pvalByte)
pvalByte - int
public static double byteToCorrel(int correlByte)
correlByte - int
public static double correlationTstat(double correl,
int dof)
correl - Pearson correlationdof - Degrees of freedom (n - 2)
public static double compare(double correl1,
int n1,
double correl2,
int n2)
correl1 - First correlationn1 - Number of values used to compute correl1correl2 - Second correlationn2 - Number of values used to compute correl2
public static double correlationForPvalue(double pval,
int count)
pval - doublecount - int
public static boolean isValidPearsonCorrelation(double r)
r -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||