Skip to content

Commit c93322a

Browse files
Documented newly implemented statistical functions
1 parent 1e60c73 commit c93322a

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

WindowsForms/Calculation-Engine/Supported-Formulas/statistical.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,3 +2574,93 @@ _LINEST(known_y's, [known_x's], [const], [stats]))_
25742574
* If const is `FALSE`, b is set equal to 0
25752575

25762576
* stats (Optional). This is a logical value specifying whether to return additional regression statistics.
2577+
2578+
## GAUSS
2579+
2580+
`GAUSS` function calculates the probability that a member of a standard normal population will fall between the mean and z standard deviations from the mean.
2581+
2582+
**Syntax:**
2583+
2584+
_GAUSS(z)_
2585+
2586+
**where:**
2587+
2588+
* z : The number of standard deviations away from the mean of the standard normal distribution. A positive z value indicates that the data point is above the mean, while a negative z value indicates that it is below the mean.
2589+
2590+
**Remarks:**
2591+
2592+
* If z is not a valid number, GAUSS returns the `#NUM!` error value.
2593+
2594+
* If z is not a valid data type, GAUSS returns the `#VALUE!` error value.
2595+
2596+
* Because NORM.S.DIST(0,True) always returns 0.5, GAUSS(z) will always be 0.5 less than NORM.S.DIST(z,True).
2597+
2598+
## GAMMA
2599+
2600+
`GAMMA` function returns the gamma function value for a given number.
2601+
2602+
**Syntax:**
2603+
2604+
_GAMMA(number)_
2605+
2606+
**where:**
2607+
2608+
* Number: The value for which is used to calculate the gamma function.
2609+
2610+
**Remarks:**
2611+
2612+
* `GAMMA` uses the following equation: Γ(N+1)=N×Γ(N).
2613+
2614+
* If Number is a negative integer or 0, `GAMMA` returns the `#NUM!` error value.
2615+
2616+
* If Number contains characters that are not valid, `GAMMA` returns the `#VALUE!` error value.
2617+
2618+
## VAR.S
2619+
2620+
The `VAR.S` function estimates the variance based on a sample of a population, ignoring logical values and text within the sample.
2621+
2622+
**Syntax:**
2623+
2624+
_VAR.S(number1, [number2], ... )_
2625+
2626+
**where:**
2627+
2628+
* Number1: Required. The first number argument corresponding to a sample of a population.
2629+
2630+
* Number2, ...: Optional. Additional number arguments, up to 254, that correspond to a sample of a population.
2631+
2632+
**Remarks:**
2633+
2634+
* `VAR.S` assumes that its arguments represent a sample of the population. If your data represents the entire population, use the `VAR.P` function instead.
2635+
2636+
* Arguments can be numbers or names, arrays, or references that contain numbers.
2637+
Logical values and text representations of numbers that are typed directly into the list of arguments are counted.
2638+
2639+
* If an argument is an array or reference, only numbers within that array or reference are counted; empty cells, logical values, text, or error values are ignored.
2640+
2641+
* Arguments that are error values or text that cannot be translated into numbers will cause errors.
2642+
To include logical values and text representations of numbers in a reference as part of the calculation, use the `VARA` function.
2643+
2644+
## FREQUENCY
2645+
2646+
The `FREQUENCY` function calculates how often values occur within a range of values and returns a vertical array of numbers representing the frequency distribution.
2647+
2648+
**Syntax:**
2649+
2650+
_FREQUENCY(data_array, bins_array)_
2651+
2652+
**where:**
2653+
2654+
* data_array: An array or reference to a set of values for which you want to count frequencies.
2655+
2656+
* bins_array: An array or reference to intervals into which you want to group the values in data_array.
2657+
2658+
**Remarks:**
2659+
2660+
* The `FREQUENCY` function returns an array with one more element than the number of elements in bins_array. The extra element represents the count of values in data_array that are greater than the highest value in bins_array.
2661+
2662+
* If data_array contains no values, `FREQUENCY `returns an array of zeros.
2663+
2664+
* If bins_array contains no values, `FREQUENCY` returns the total number of elements in data_array.
2665+
2666+
* `FREQUENCY` ignores blank cells and text in data_array.

0 commit comments

Comments
 (0)