Docsity

Chi-square distribution, Notas de estudo de Estatística

Toggle sidebar
bg1
http://en.wikipedia.org/wiki/Chi-square_distribution
Chi-square distribution
From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the mathematics of the chi-square distribution. For its uses in
statistics, see chi-square test. For the music group, see Chi2 (band).
Probability density function
Cumulative distribution function
notation: or
parameters: k2 2 0 8 N1 — degrees of freedom
support: x2 2 0 8 [0, +∞)
pdf:
cdf:
mean: k
median:
mode: max{ k − 2, 0 }
variance: 2k
skewness:
ex.kurtosis: 12 / k
entropy:
mgf: for  t  < ½
cf: [1]
In probability theory and statistics, the chi-square distribution (also chi-squared or χ
²-distribution) with k degrees of freedom is the distribution of a sum of the squares of k
independent standard normal random variables. It is one of the most widely used
probability distributions in inferential statistics, e.g. in hypothesis testing, or in
construction of confidence intervals.[2][3][4][5]
The best-known situations in which the chi-square distribution is used are the common
chi-square tests for goodness of fit of an observed distribution to a theoretical one, and
of the independence of two criteria of classification of qualitative data. Many other
statistical tests also lead to a use of this distribution, like Friedman's analysis of variance
by ranks.
The chi-square distribution is a special case of the gamma distribution.
Contents
[hide]
• 1 Definition
• 2 Characteristics
• 2.1 Probability density function
• 2.2 Cumulative distribution function
• 2.3 Additivity
• 2.4 Information entropy
• 2.5 Noncentral moments
PAGE 7
pf3
pf4
pf5

Pré-visualização parcial do texto

Baixe Chi-square distribution e outras Notas de estudo em PDF para Estatística, somente na Docsity!

http://en.wikipedia.org/wiki/Chi-square_distribution

Chi-square distribution

From Wikipedia, the free encyclopedia Jump to: navigation, search This article is about the mathematics of the chi-square distribution. For its uses in statistics, see chi-square test. For the music group, see Chi2 (band).

Probability density function

Cumulative distribution function

notation: or parameters: k 2 2 0 8 N (^) 1 — degrees of freedom support: x 2 2 0 8[0, +∞) pdf: cdf: mean: k median: mode: max{ k − 2, 0 } variance: 2 k skewness: ex.kurtosis: 12 / k entropy: mgf: for t < ½ cf: [1]

In probability theory and statistics, the chi-square distribution (also chi-squared or χ ²-distribution ) with k degrees of freedom is the distribution of a sum of the squares of k independent standard normal random variables. It is one of the most widely used probability distributions in inferential statistics, e.g. in hypothesis testing, or in construction of confidence intervals. [2][3][4][5]

The best-known situations in which the chi-square distribution is used are the common chi-square tests for goodness of fit of an observed distribution to a theoretical one, and of the independence of two criteria of classification of qualitative data. Many other statistical tests also lead to a use of this distribution, like Friedman's analysis of variance by ranks.

The chi-square distribution is a special case of the gamma distribution.

Contents

[hide]

  • 1 Definition
  • 2 Characteristics
    • 2.1 Probability density function
    • 2.2 Cumulative distribution function
    • 2.3 Additivity
    • 2.4 Information entropy
    • 2.5 Noncentral moments
  • 2.6 Cumulants
  • 2.7 Asymptotic properties
  • 3 Related distributions
  • 4 Generalizations
  • 4.1 Noncentral chi-square distribution
  • 4.2 Generalized chi-square distribution
  • (^) 4.3 Gamma, exponential, and related distributions
  • 5 Applications
  • 6 Table of χ² value vs P value
  • 7 See also
  • 8 References
  • 9 External links

[edit] Definition

If X 1, …, Xk are independent, standard normal random variables, then the sum of their

squares

is distributed according to the chi-square distribution with k degrees of freedom. This is usually denoted as

The chi-square distribution has one parameter: k — a positive integer that specifies the number of degrees of freedom (i.e. the number of X (^) i ’s)

[edit] Characteristics

Further properties of the chi-square distribution can be found in the box at right.

[edit] Probability density function

The probability density function (pdf) of the chi-square distribution is

where Γ( k /2) denotes the Gamma function, which has closed-form values at the half- integers.

For derivations of the pdf in the cases of one and two degrees of freedom, see Proofs related to chi-square distribution.

[edit] Cumulative distribution function

Its cumulative distribution function is:

where γ( k , z ) is the lower incomplete Gamma function and P ( k , z ) is the regularized Gamma function.

In a special case of k = 2 this function has a simple form:

If Y is a vector of k i.i.d. standard normal random variables and A is a k×k idempotent matrix with rank k−n then the quadratic form Y′AY is chi-square distributed with k−n degrees of freedom.

The chi-square distribution is also naturally related to other distributions arising from the Gaussian. In particular,

  • Y is F-distributed, Y 2 23 C F ( k (^) 1, k 2) if where X 1 ~ χ ²( k (^) 1) and X 2 ~ χ ²( k 2) are statistically independent.
  • If X is chi-square distributed, then is chi distributed.
  • X1 of k1, X2 of k2, and they are independent, then X1+X2 is of k1+k2, if they are not independent, then X1+X2 might not be chi square distributed.

[edit] Generalizations

The chi-square distribution is obtained from the sum of k independent, zero-mean, unit- variance Gaussian random variables. Generalizations of this distribution can be obtained by summing the squares of other types of Gaussian random variables. Several such distributions are described below.

[edit] Noncentral chi-square distribution

Main article: Noncentral chi-square distribution

The noncentral chi-square distribution is obtained from the sum of the squares of independent Gaussian random variables having unit variance and nonzero means.

[edit] Generalized chi-square distribution

Main article: Generalized chi-square distribution

The generalized chi-square distribution is obtained from the quadratic form z′Az where z is a zero-mean Gaussian vector having an arbitrary covariance matrix, and A is an arbitrary matrix.

[edit] Gamma, exponential, and related distributions

The chi-square distribution X ~ χ ²( k ) is a special case of the gamma distribution, in that X ~ Γ( k /2, 2) (using the shape parameterization of the gamma distribution).

Because the exponential distribution is also a special case of the Gamma distribution, we also have that if X ~ χ ²(2), then X ~ Exp(1/2) is an exponential distribution.

The Erlang distribution is also a special case of the Gamma distribution and thus we also have that if X ~ χ ²( k ) with even k , then X is Erlang distributed with shape parameter k /2 and scale parameter 1/2.

[edit] Applications

The chi-square distribution has numerous applications in inferential statistics, for instance in chi-square tests and in estimating variances. It enters the problem of estimating the mean of a normally distributed population and the problem of estimating the slope of a regression line via its role in Student s t-distribution. It enters all analysis of variance problems via its role in the F-distribution, which is the distribution of the ratio of two independent chi-squared random variables divided by their respective degrees of freedom.

Following are some of the most common situations in which the chi-square distribution arises from a Gaussian-distributed sample.

  • if are i.i.d. N (μ,σ 2 ) random variables, then where.
  • The box below shows probability distributions with name starting with chi for some statistics based on independent random variables:

Name Statistic

chi-square distribution

noncentral chi-square distribution

chi distribution

noncentral chi distribution

[edit] Table of χ² value vs P value

The P-value is the probability of observing a test statistic at least as extreme in a Chi- square distribution. Accordingly, since the cumulative distribution function (CDF) for the appropriate degrees of freedom (df) gives the probability of having obtained a value less extreme than this point, subtracting the CDF value from 1 gives the P-value. The table below gives a number of P-values matching to χ² for the first 10 degrees of freedom. A P-value of 0.05 or less is usually regarded as statistically significant.

Degrees of freedom (df)

χ² value [9]

P value (Probability) 0.95 0. 0

Nonsignificant Significant

[edit] See also

Statistics portal

  • Cochran's theorem
  • Degrees of freedom (statistics)
  • Fisher's method for combining independent tests of significance
  • Chi-Square Calculator for critical values of Chi-Square in R. Webster West's applet website at University of South Carolina
  • Chi-Square Calculator from GraphPad
  • Table of Chi-squared distribution
  • Mathematica demonstration showing the chi-squared sampling distribution of various statistics, e.g. Σx², for a normal population
  • Simple algorithm for approximating cdf and inverse cdf for the chi-square distribution with a pocket calculator