Difference between revisions of "TDistribution Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
|||
Line 7: | Line 7: | ||
; TDistribution[ <Degrees of Freedom d>, <Variable Value v> ]: Calculates the value of cumulative distribution function of t-distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with t-distribution with ''d'' degrees of freedom. | ; TDistribution[ <Degrees of Freedom d>, <Variable Value v> ]: Calculates the value of cumulative distribution function of t-distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with t-distribution with ''d'' degrees of freedom. | ||
:{{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).}} | :{{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 | + | ==CAS Syntax== |
− | |||
;TDistribution[<Degrees of Freedom d>, <Variable Value v>] | ;TDistribution[<Degrees of Freedom d>, <Variable Value v>] | ||
:Calculates the value of cumulative distribution function of T-distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with t-distribution with ''d'' degrees of freedom. | :Calculates the value of cumulative distribution function of T-distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with t-distribution with ''d'' degrees of freedom. | ||
+ | :{{example|1=<div><code><nowiki>TDistribution[10, 0]</nowiki></code> yields ''0.5''.</div>}} |
Revision as of 15:02, 18 December 2012
- TDistribution[ <Degrees of Freedom d>, x ]
- Creates probability density function (pdf) of t-distribution with d degrees of freedom.
- TDistribution[ <Degrees of Freedom d>, x, <Boolean Cumulative> ]
- If Cumulative is true, creates cumulative distribution function of t-distribution, otherwise creates pdf of t-distribution.
- TDistribution[ <Degrees of Freedom d>, <Variable Value v> ]
- Calculates the value of cumulative distribution function of t-distribution at v, i.e. the probability P(X≤v) where X is a random variable with t-distribution with d degrees of freedom.
- 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 d>, <Variable Value v>]
- Calculates the value of cumulative distribution function of T-distribution at v, i.e. the probability P(X≤v) where X is a random variable with t-distribution with d degrees of freedom.
- Example:
TDistribution[10, 0]
yields 0.5.