File size: 3,165 Bytes
44efec5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
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:
- :ven:func:`Stat_Average`
- :ven:func:`Stat_StdDeviation`
- :ven:func:`Stat_CorrelationCoefficent`
- :ven:func:`Stat_RSQ`
- :ven:func:`Stat_Slope`
- :ven:func:`Stat_Intercept`
- :ven:func:`Stat_Min`
- :ven:func:`Stat_Max`
.. ven:function:: 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
:type DataArray: Array
:return: The calculated average of the array
:rtype: Variable
.. ven:function:: 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
:type DataArray: Array
:return: The calculated standard deviation of the array
:rtype: Variable
.. ven:function:: 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
:type XArray: Array
:type YArray: Array
:return: The r-value of the paired data set
:rtype: Variable
.. ven:function:: 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
:type XArray: Array
:type YArray: Array
:return: The pearson coefficient of the paired data set
:rtype: Variable
.. ven:function:: 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
:type XArray: Array
:type YArray: Array
:return: The slope of the best fit line
:rtype: Variable
.. ven:function:: 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
:type XArray: Array
:type YArray: Array
:return: The intercept of the line of best fit
:rtype: Variable
.. ven:function:: Stat_Min(array DataArray)
This function returns the lowest value of a dataset
:params DataArray: The array for the minimum to be searched in
:type DataArray: Array
:return: The lowest value of the dataset
:rtype: Variable
.. ven:functions:: Stat_Max(array DataArray)
This function returns the hgihest value of a dataset
:params DataArray: The array for the minimum to be searched in
:type DataArray: Array
:return: The lowest value of the dataset
:rtype: Variable
|