Difference between revisions of "TDistribution Command"
From GeoGebra Manual
m |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> |
{{command|cas=true|probability}} | {{command|cas=true|probability}} | ||
;TDistribution[ <Degrees of Freedom>, x ] | ;TDistribution[ <Degrees of Freedom>, x ] | ||
Line 12: | Line 12: | ||
;TDistribution[ <Degrees of Freedom>, <Variable Value> ] | ;TDistribution[ <Degrees of Freedom>, <Variable Value> ] | ||
:Calculates the value of cumulative distribution function of t-distribution at ''variable value v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with t-distribution with given degrees of freedom. | :Calculates the value of cumulative distribution function of t-distribution at ''variable value v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with t-distribution with given degrees of freedom. | ||
− | :{{example|1=<div><code><nowiki>TDistribution[10, 0]</nowiki></code> yields '' | + | :{{example|1=<div><code><nowiki>TDistribution[10, 0]</nowiki></code> yields ''0.5''.</div>}} |
Revision as of 14:23, 28 July 2015
- TDistribution[ <Degrees of Freedom>, x ]
- Creates probability density function (pdf) of t-distribution with given degrees of freedom.
- TDistribution[ <Degrees of Freedom>, x, <Boolean Cumulative> ]
- If Cumulative is true, creates cumulative distribution function of t-distribution, otherwise creates pdf of t-distribution.
- TDistribution[ <Degrees of Freedom>, <Variable Value> ]
- Calculates the value of cumulative distribution function of t-distribution at variable value v, i.e. the probability P(X ≤ v) where X is a random variable with t-distribution with given degrees of freedom.
- Example:
TDistribution[10, 0]
yields 0.5.
- Note: Returns the probability for a given x-coordinate's value (or area under the t-distribution curve to the left of the given x-coordinate).
CAS Syntax
- TDistribution[ <Degrees of Freedom>, <Variable Value> ]
- Calculates the value of cumulative distribution function of t-distribution at variable value v, i.e. the probability P(X ≤ v) where X is a random variable with t-distribution with given degrees of freedom.
- Example:
TDistribution[10, 0]
yields 0.5.