Difference between revisions of "TDistribution Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
(command syntax: changed [ ] into ( )) |
||
Line 6: | Line 6: | ||
; 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= | + | :{{example|1=<code><nowiki>TDistribution(10, 0)</nowiki></code> 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).}} | :{{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== | ==CAS Syntax== | ||
;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= | + | :{{example|1=<code><nowiki>TDistribution(10, 0)</nowiki></code> yields ''0.5''.}} |
Revision as of 11:25, 11 October 2017
- 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.