Difference between revisions of "Documentation/How Tos/Calc: TDIST function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
(→Example:) |
||
Line 17: | Line 17: | ||
=== Example: === | === Example: === | ||
− | <tt>'''TDIST( | + | <tt>'''TDIST(0.5; 2; 2)'''</tt> |
− | : returns approximately 0. | + | : returns approximately 0.666. |
=== See also: === | === See also: === |
Revision as of 17:10, 13 June 2008
TDIST
Calculates values for a Student's t-distribution.
Syntax:
TDIST(x; r; mode)
- x is the value at which the distribution is calculated.
- r, an integer >=1, is the degrees of freedom parameter for the t-distribution.
- mode may be 1 or 2, to calculate the one or two tailed probability.
- TDIST returns the probability density function for the t-distribution, calculating:
Example:
TDIST(0.5; 2; 2)
- returns approximately 0.666.