Ttestp: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Evaluates t-distribution and its inverse. | Evaluates t-distribution and its inverse. | ||
===Synopsis=== | ===Synopsis=== | ||
:y = ttestp(x,a,z) | :y = ttestp(x,a,z) | ||
===Description=== | ===Description=== | ||
Evaluates a t-distribution with input flag z. For z = 1 the output y is the probability point for given t-statistic x with a degrees of freedom. For z = 2 the output y is the t-statistic for given probability point x with a degrees of freedom. | Evaluates a t-distribution with input flag z. For z = 1 the output y is the probability point for given t-statistic x with a degrees of freedom. For z = 2 the output y is the t-statistic for given probability point x with a degrees of freedom. | ||
===Examples=== | ===Examples=== | ||
y = ttestp(1.9606,5000,1) | y = ttestp(1.9606,5000,1) | ||
y = 0.025 | y = 0.025 | ||
y = ttestp(0.005,5000,2) | y = ttestp(0.005,5000,2) | ||
y = 2.533 | y = 2.533 | ||
===See Also=== | ===See Also=== | ||
[[ftest]], [[statdemo]] | [[ftest]], [[statdemo]] |
Revision as of 15:27, 3 September 2008
Purpose
Evaluates t-distribution and its inverse.
Synopsis
- y = ttestp(x,a,z)
Description
Evaluates a t-distribution with input flag z. For z = 1 the output y is the probability point for given t-statistic x with a degrees of freedom. For z = 2 the output y is the t-statistic for given probability point x with a degrees of freedom.
Examples
y = ttestp(1.9606,5000,1)
y = 0.025
y = ttestp(0.005,5000,2)
y = 2.533