Class NormalDist
Assembly: TowseyLibrary.dll
Syntax
Constructors
|
Improve this Doc
View Source
NormalDist(Double[])
Initializes a new instance of the NormalDist class.
CONSTRUCTOR for real valued data.
Declaration
public NormalDist(double[] data)
Parameters
Type |
Name |
Description |
Double[] |
data |
|
|
Improve this Doc
View Source
NormalDist(Double[], Double, Double)
Declaration
public NormalDist(double[] data, double AV, double SD)
Parameters
|
Improve this Doc
View Source
NormalDist(Int32[])
Initializes a new instance of the NormalDist class.
CONSTRUCTOR for integer data.
Declaration
public NormalDist(int[] data)
Parameters
Type |
Name |
Description |
Int32[] |
data |
|
Methods
|
Improve this Doc
View Source
AverageAndSD(List<Double>, out Double, out Double)
Declaration
public static void AverageAndSD(List<double> data, out double av, out double sd)
Parameters
|
Improve this Doc
View Source
AverageAndSD(List<Int32>, out Double, out Double)
Declaration
public static void AverageAndSD(List<int> data, out double av, out double sd)
Parameters
|
Improve this Doc
View Source
AverageAndSD(Double[], out Double, out Double)
Declaration
public static void AverageAndSD(double[] data, out double av, out double sd)
Parameters
|
Improve this Doc
View Source
AverageAndSD(Double[,], out Double, out Double)
Declaration
public static void AverageAndSD(double[, ] data, out double av, out double sd)
Parameters
|
Improve this Doc
View Source
AverageAndSD(Int32[], out Double, out Double)
Declaration
public static void AverageAndSD(int[] data, out double av, out double sd)
Parameters
|
Improve this Doc
View Source
AverageAndVariance(Double[], out Double, out Double)
Declaration
public static void AverageAndVariance(double[] data, out double av, out double variance)
Parameters
|
Improve this Doc
View Source
bias(Double[], Double)
Declaration
public static double[] bias(double[] data, double bias)
Parameters
Returns
|
Improve this Doc
View Source
CalculateZscores(Double[], Double, Double)
Declaration
public static double[] CalculateZscores(double[] scores, double av, double sd)
Parameters
Returns
|
Improve this Doc
View Source
Convert2ZScores(Double[])
Declaration
public static double[] Convert2ZScores(double[] scores)
Parameters
Type |
Name |
Description |
Double[] |
scores |
|
Returns
|
Improve this Doc
View Source
convert2ZScores(Int32[], Double, Double)
Declaration
public static double[] convert2ZScores(int[] scores, double av, double sd)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static string formatAvAndSD(double[] avsd, int places)
Parameters
Returns
|
Improve this Doc
View Source
get16binDistribution(Double[], Double, Double)
Declaration
public static double[, ] get16binDistribution(double[] data, double av, double SD)
Parameters
Returns
|
Improve this Doc
View Source
get16binDistribution(Int32[], Double, Double)
Declaration
public static double[, ] get16binDistribution(int[] data, double av, double SD)
Parameters
Returns
|
Improve this Doc
View Source
get8binDistribution(Double[], Double, Double)
Declaration
public static int[] get8binDistribution(double[] data, double av, double SD)
Parameters
Returns
|
Improve this Doc
View Source
getBinLimits(Double, Double)
Declaration
public static double[] getBinLimits(double av, double SD)
Parameters
Returns
|
Improve this Doc
View Source
getBins()
Declaration
public double[, ] getBins()
Returns
|
Improve this Doc
View Source
getSum(Int32[])
Declaration
public static int getSum(int[] data)
Parameters
Type |
Name |
Description |
Int32[] |
data |
|
Returns
|
Improve this Doc
View Source
main(String[])
Declaration
public static void main(string[] args)
Parameters
Type |
Name |
Description |
String[] |
args |
|
|
Improve this Doc
View Source
Normalise(Double[])
Declaration
public static double[] Normalise(double[] data)
Parameters
Type |
Name |
Description |
Double[] |
data |
|
Returns
|
Improve this Doc
View Source
SD(Double, Double, Int32)
Declaration
public static double SD(double SumSq, double Sum, int count)
Parameters
Returns
|
Improve this Doc
View Source
threshold(Double[], Double)
Declaration
public static double[] threshold(double[] data, double th)
Parameters
Returns
|
Improve this Doc
View Source
Values2Probabilities(Double[])
Converts an array of values (assumed to be a signal superimposed on Gaussian noise)
to z-scores and then converts z-scores to probabilites.
Declaration
public static double[] Values2Probabilities(double[] values)
Parameters
Type |
Name |
Description |
Double[] |
values |
array of score values.
|
Returns
Type |
Description |
Double[] |
array of probability scores.
|
|
Improve this Doc
View Source
Variance(Double, Double, Int32)
Declaration
public static double Variance(double SumSq, double Sum, int count)
Parameters
Returns
|
Improve this Doc
View Source
write16binDistribution()
Declaration
public string write16binDistribution()
Returns
|
Improve this Doc
View Source
write16binDistribution(Double[,])
Declaration
public static string write16binDistribution(double[, ] bins)
Parameters
Type |
Name |
Description |
Double[,] |
bins |
|
Returns
|
Improve this Doc
View Source
writeAllStatistics()
Declaration
public string writeAllStatistics()
Returns
|
Improve this Doc
View Source
writeBinDistribution(Int32[], Int32)
Declaration
public static void writeBinDistribution(int[] data, int binWidth)
Parameters
|
Improve this Doc
View Source
writeScoreDistribution(Double[])
Declaration
public static void writeScoreDistribution(double[] scores)
Parameters
Type |
Name |
Description |
Double[] |
scores |
|
|
Improve this Doc
View Source
writeScoreDistribution(Int32[])
Declaration
public static void writeScoreDistribution(int[] scores)
Parameters
Type |
Name |
Description |
Int32[] |
scores |
|
|
Improve this Doc
View Source
writeScoreStatistics(Double[])
Declaration
public static void writeScoreStatistics(double[] scores)
Parameters
Type |
Name |
Description |
Double[] |
scores |
|
|
Improve this Doc
View Source
zScore(Double, Double, Double)
Declaration
public static double zScore(double value, double av, double sd)
Parameters
Returns
|
Improve this Doc
View Source
zScore2pValue(Double)
Declaration
public static double zScore2pValue(double z)
Parameters
Type |
Name |
Description |
Double |
z |
|
Returns
Extension Methods