Difference between revisions of "TDistribution Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}} | ||
− | ;TDistribution | + | ;TDistribution( <Degrees of Freedom>, x ) |
:Creates probability density function (pdf) of [[w:Student's t-distribution|t-distribution]] with given degrees of freedom. | :Creates probability density function (pdf) of [[w:Student's t-distribution|t-distribution]] with given degrees of freedom. | ||
− | ;TDistribution | + | ;TDistribution( <Degrees of Freedom>, x, <Boolean Cumulative> ) |
:If ''Cumulative'' is true, creates cumulative distribution function of t-distribution, otherwise creates pdf of t-distribution. | :If ''Cumulative'' is true, creates cumulative distribution function of t-distribution, otherwise creates pdf of t-distribution. | ||
− | ; TDistribution | + | ; 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 ''0.5''.</div>}} | :{{example|1=<div><code><nowiki>TDistribution[10, 0]</nowiki></code> yields ''0.5''.</div>}} | ||
:{{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 | + | ;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 ''0.5''.</div>}} | :{{example|1=<div><code><nowiki>TDistribution[10, 0]</nowiki></code> yields ''0.5''.</div>}} |
Revision as of 17:17, 7 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.