Noncentral t-distribution
| Noncentral Student's t | |||
|---|---|---|---|
|
Probability density function | |||
| Parameters |
ν > 0 degrees of freedom noncentrality parameter | ||
| Support | |||
| see text | |||
| CDF | see text | ||
| Mean | see text | ||
| Mode | see text | ||
| Variance | see text | ||
| Skewness | see text | ||
| Excess kurtosis | see text | ||
The noncentral t-distribution generalizes Student's t-distribution using a noncentrality parameter. Whereas the central probability distribution describes how a test statistic t is distributed when the difference tested is null, the noncentral distribution describes how t is distributed when the null is false. This leads to its use in statistics, especially calculating statistical power. The noncentral t-distribution is also known as the singly noncentral t-distribution, and in addition to its primary use in statistical inference, is also used in robust modeling for data.
Definitions
[edit]If Z is a standard normal random variable, and V is a chi-squared distributed random variable with ν degrees of freedom that is independent of Z, then
is a noncentral t-distributed random variable with ν degrees of freedom and noncentrality parameter μ ≠ 0. Note that the noncentrality parameter may be negative.
Cumulative distribution function
[edit]The cumulative distribution function of noncentral t-distribution with ν degrees of freedom and noncentrality parameter μ can be defined using the integral[1]
where is the cumulative distribution function of the standard normal distribution. A more practical approach is to express it as[2]
where
Although this formula is more complicated, it is computationally more efficient, as each series term can be calculated from the previous term using simple arithmetic operations[2]. In statistical programming language R, the cumulative distribution function is implemented as pt. In the Python library SciPy, it is implemented as scipy.stats.nct.cdf[3].
Probability density function
[edit]The probability density function (pdf) for the noncentral t-distribution with ν > 0 degrees of freedom and noncentrality parameter μ can be expressed in several forms. A simple integral form is given by:[1]
The confluent hypergeometric function form of the density function is
where
and where 1F1 is a confluent hypergeometric function.
An alternative integral form is[4]
A third form of the density is obtained using its cumulative distribution functions, as follows.
This is the approach implemented by the dt function in R.
Derivation
[edit]The integral form of the CDF can be derived directly from the definition of a noncentral t variable:
where represents a chi random variable with degrees of freedom. Since and are independent random variables, the above probability can be quantified as the double integral of the product of their probability density functions over the region where the inequality holds:
Here, region represents the area in the -plane lying to the right of the line , and below the line . Thus, the integral can be written with specified limits:
Finally, integrating with respect to and separating the constant term yields:
- .
The formula for the PDF can be found by differentiating the CDF with respect to :
This simplifies to the first integral form of the PDF given above:
Properties
[edit]Moments of the noncentral t-distribution
[edit]In general, the kth raw moment of the noncentral t-distribution is[5]
In particular, the mean and variance of the noncentral t-distribution are
An excellent approximation to is , which can be used in both formulas.[6][7]
Asymmetry
[edit]The non-central t-distribution is asymmetric unless μ is zero, i.e., a central t-distribution. In addition, the asymmetry becomes smaller the larger degree of freedom. The right tail will be heavier than the left when μ > 0, and vice versa. However, the usual skewness is not generally a good measure of asymmetry for this distribution, because if the degrees of freedom is not larger than 3, the third moment does not exist at all. Even if the degrees of freedom is greater than 3, the sample estimate of the skewness is still very unstable unless the sample size is very large.
Mode
[edit]The noncentral t-distribution is always unimodal and bell shaped, but the mode is not analytically available, although for μ ≠ 0 we have[8]
In particular, the mode always has the same sign as the noncentrality parameter μ. Moreover, the negative of the mode is exactly the mode for a noncentral t-distribution with the same number of degrees of freedom ν but noncentrality parameter −μ.
The mode is strictly increasing with μ (it always moves in the same direction as μ is adjusted in). In the limit, when μ → 0, the mode is approximated by
and when μ → ∞, the mode is approximated by
Related distributions
[edit]- Central t-distribution: the central t-distribution can be converted into a location/scale family. This family of distributions is used in data modeling to capture various tail behaviors. The location/scale generalization of the central t-distribution is a different distribution from the noncentral t-distribution discussed in this article. In particular, this approximation does not respect the asymmetry of the noncentral t-distribution. However, the central t-distribution can be used as an approximation to the noncentral t-distribution.[9]
- If T is noncentral t-distributed with ν degrees of freedom and noncentrality parameter μ and F = T2, then F has a noncentral F-distribution with 1 numerator degree of freedom, ν denominator degrees of freedom, and noncentrality parameter μ2.
- If T is noncentral t-distributed with ν degrees of freedom and noncentrality parameter μ and , then Z has a normal distribution with mean μ and unit variance.
- When the denominator noncentrality parameter of a doubly noncentral t-distribution is zero, then it becomes a noncentral t-distribution.
Special cases
[edit]- When μ = 0, the noncentral t-distribution becomes the central (Student's) t-distribution with the same degrees of freedom.
Occurrence and applications
[edit]Use in power analysis
[edit]Suppose we have an independent and identically distributed sample X1, ..., Xn each of which is normally distributed with mean θ and variance σ2, and we are interested in testing the null hypothesis θ = 0 vs. the alternative hypothesis θ ≠ 0. We can perform a one sample t-test using the test statistic
where is the sample mean and is the unbiased sample variance. Since the right hand side of the second equality exactly matches the characterization of a noncentral t-distribution as described above, T has a noncentral t-distribution with n−1 degrees of freedom and noncentrality parameter .
If the test procedure rejects the null hypothesis whenever , where is the upper α/2 quantile of the (central) Student's t-distribution for a pre-specified α ∈ (0, 1), then the power of this test is given by
Similar applications of the noncentral t-distribution can be found in the power analysis of the general normal-theory linear models, which includes the above one sample t-test as a special case.
Use in tolerance intervals
[edit]One-sided normal tolerance intervals have an exact solution in terms of the sample mean and sample variance based on the noncentral t-distribution.[10] This enables the calculation of a statistical tolerance limit below which, with some confidence level, a specified proportion of a sampled population falls.
Let be a random normal variable with unknown population mean and variance, and let a sample of size yield sample mean and sample standard deviation . The probability that the proportion of values lying below limit is at least is given by the noncentral t-CDF:
Tolerance bounds are typically expressed in the form , where k is referred to as its k-factor. This factor is analogous to a z-score, but uses sample statistics rather than population parameters. In this framing, the probability that the proportion of lying below the limit is at least is given by
Thus, calculating the k-factor corresponding to a given proportion and confidence level requires using the inverse cumulative distribution function of the noncentral t-distribution, which is implemented as qt in R, and as scipy.stats.nct.ppf in SciPy.
See also
[edit]References
[edit]- 1 2 Amos, D. E. (1964). "Representations of the Central and Non-Central t Distributions". Biometrika. 51 (3/4): 451–458. JSTOR 2334151.
- 1 2 Lenth, Russell V (1989). "Algorithm AS 243: Cumulative Distribution Function of the Non-central t Distribution". Journal of the Royal Statistical Society, Series C. 38 (1): 185–189. JSTOR 2347693.
- ↑ Virtanen P, Gommers R, Oliphant TE, Haberland M, Reddy T, Cournapeau D, Burovski E, Peterson P, Weckesser W, Bright J, van der Walt SJ, et al. (March 2020). "SciPy 1.0: fundamental algorithms for scientific computing in Python". Nature Methods. 17 (3): 261–272. arXiv:1907.10121. doi:10.1038/s41592-019-0686-2. PMC 7056644. PMID 32015543.
- ↑ Scharf, L. (1991). Statistical Signal Processing. Reading: Addison-Wesley. p. 177. ISBN 0-201-19038-9.
- ↑ Hogben, D; Pinkham, RS; Wilk, MB (1961). "The moments of the non-central t-distribution". Biometrika. 48 (3–4): 465–468. doi:10.1093/biomet/48.3-4.465. hdl:2027/coo.31924001119068. JSTOR 2332772.
- ↑ Hedges, Larry V. (June 1981). "Distribution Theory for Glass's Estimator of Effect size and Related Estimators". Journal of Educational Statistics. 6 (2): 107–128. doi:10.3102/2F10769986006002107.
- ↑ Tothfalusi, Laszlo; Endrenyi, Laszlo (1 March 2016). "An Exact Procedure for the Evaluation of Reference-Scaled Average Bioequivalence". The AAPS Journal. 18 (2): 476–489. doi:10.1208/s12248-016-9873-6. PMC 4779113.
- ↑ van Aubel, A; Gawronski, W (2003). "Analytic properties of noncentral distributions". Applied Mathematics and Computation. 141: 3–12. doi:10.1016/S0096-3003(02)00316-8.
- ↑ Helena Chmura Kraemer; Minja Paik (1979). "A Central t Approximation to the Noncentral t Distribution". Technometrics. 21 (3): 357–360. doi:10.1080/00401706.1979.10489781. JSTOR 1267759.
- ↑ Derek S. Young (August 2010). "tolerance: An R Package for Estimating Tolerance Intervals". Journal of Statistical Software. 36 (5): 1–39. ISSN 1548-7660. Retrieved 19 February 2013., p.23
- ↑ Scholz, F.-W. (1994). "Applications of the Noncentral t-Distribution". Mathematics and Engineering Analysis Library, Boeing Computer Services: 1–22.
External links
[edit]- Eric W. Weisstein. "Noncentral Student's t-Distribution." From MathWorld—A Wolfram Web Resource
- High accuracy calculation for life or science.: Noncentral t-distribution From Casio company.