Ttestp: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy No edit summary |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Line 10: | Line 9: | ||
===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 <tt>z</tt>. For <tt>z = 1</tt> the output <tt>y</tt> is the probability point for given t-statistic <tt>x</tt> with <tt>a</tt> degrees of freedom. For <tt>z = 2</tt> the output <tt>y</tt> is the t-statistic for given probability point <tt>x</tt> with <tt>a</tt> degrees of freedom. | ||
===Examples=== | ===Examples=== |
Latest revision as of 10:03, 10 October 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