HSLStatistics
https://github.com/theonetruenerd/VenusPackages/blob/main/HSLStatistics.pkg
The HSLStatistics library is designed to easily allow the user to perform basic statistical functions easily. It adds the following functions:
Stat_CorrelationCoefficent()
Stat_Max()
- Stat_Average(array DataArray)
This function returns the average of a data set input as an array
- Params DataArray:
The input array of data from which the average is calculated
- Returns:
The calculated average of the array
- Return type:
Variable
- Stat_StdDeviation(array DataArray)
This function returns the standard deviation of a data set input as an array
- Params DataArray:
The input array of data from which the standard deviation is calculated
- Returns:
The calculated standard deviation of the array
- Return type:
Variable
- Stat_CorrelationCoefficient(array XArray, array YArray)
This function returns the correlation coefficient (r-value) of a paired data set
- Params XArray:
The array of X data values in the paired set
- Params YArray:
The array of Y data values in the paired set
- Returns:
The r-value of the paired data set
- Return type:
Variable
- Stat_RSQ(array XArray, array YArray)
This function returns the pearson coefficient (r^2) of a paired data set
- Params XArray:
The array of X data values in the paired set
- Params YArray:
The array of Y data values in the paired set
- Returns:
The pearson coefficient of the paired data set
- Return type:
Variable
- Stat_Slope(array XArray, array YArray)
This function returns the slope of the best fit line of a paired data set
- Params XArray:
The array of X data values in the paired set
- Params YArray:
The array of Y data values in the paired set
- Returns:
The slope of the best fit line
- Return type:
Variable
- Stat_Intercept(array XArray, array YArray)
This function returns the intercept of the best fit line of a paired data set
- Params XArray:
The array of X data values in the paired set
- Params YArray:
The array of Y data values in the paired set
- Returns:
The intercept of the line of best fit
- Return type:
Variable
- Stat_Min(array DataArray)
This function returns the lowest value of a dataset
- Params DataArray:
The array for the minimum to be searched in
- Returns:
The lowest value of the dataset
- Return type:
Variable