IPBWiki/BasicStatistics

From MediaWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '== Gaussian distribution == ; Mean: <math>\bar{x}=\frac{1}{N} \sum x_i</math> ; Median: ''The individual value from the collection such that 1/2 the observations are less and 1…')
(Gaussian distribution)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
== Gaussian distribution ==
== Gaussian distribution ==
-
; Mean: <math>\bar{x}=\frac{1}{N} \sum x_i</math>
+
; Mean: <math>\bar{x}=\frac{1}{N} \sum x_i \ \ \ \ \ \ \ \ \Delta \bar{x}=\sqrt{\frac{\sum (x_i - \bar{x})^2}{N\ (N-1)}} = \frac{\sigma}{\sqrt{N}}</math>  
-
; Median: ''The individual value from the collection such that 1/2 the observations are less and 1/2 are greater''
+
; Median: ''The value chosen such that half of the observations are smaller and half are greater than this value.''
; Mode: ''The most frequently occurring value.''
; Mode: ''The most frequently occurring value.''
-
; Variance: <math>\sigma_x^2 = \frac{1}{N-1} \sum (x_i - \bar{x})^2</math>
+
; Variance: <math>\sigma^2 = \frac{\sum (x_i - \bar{x})^2}{N-1} </math>
-
; Standard Deviation (rms/sigma): <math>\sigma_x = \sqrt{\frac{1}{N-1} \sum (x_i - \bar{x})^2}</math>   
+
; Standard Deviation (rms/sigma) and standard error (error bars): <math>\sigma = \sqrt{\frac{\sum (x_i - \bar{x})^2}{N-1}} \ \ \ \ \ \ \ \ \Delta \sigma = \sqrt{\frac{\sum (x_i - \bar{x})^2}{2\ N\ (N-1)}}</math>   
-
The standard deviation tells us something about the expected value of a single observation.
+
    * 68.2% of the points are within +/-1<math>\sigma</math>
 +
    * 95.4% of the points are within +/-2<math>\sigma</math>
 +
    * 99.7% of the points are within +/-3<math>\sigma</math>
-
If the data are normally distributed
+
=== Deviations from the Gaussianity ===
-
    * 68% of the points will lie within &plusmn 1 sigma
+
; Skewness:
-
    * 95% of the points will lie within &plusmn 2 sigma
+
-
    * 99.7% of the points will lie within &plusmn 3 sigma
+
-
Usually we accept a variation as statistically significant only if it is more than 3 sigma from the mean.
+
<math>s_3 = \frac{1}{N-1} \sum \left[ \frac{x_i - \bar{x}}{\sigma} \right]^3 \ \ \ \ \ \ \ \ \ \ \ \ \ \Delta s_3 = \sqrt{\frac{6}{N}}</math>
-
; Error bars (standard error/standard deviation of the mean):  <math>\sigma_{\bar{x}} = \sqrt{\frac{1}{N}} \sigma_x = \sqrt{\frac{1}{N(N-1)} \sum (x_i - \bar{x})^2}</math> 
 
-
* Moments of the Gaussian distribution
+
;Kurtosis: 
-
  '''variance''' =  <math>\frac{1}{N-1} \sum \left[(x_i - \bar{x})\right]^2
+
<math>s_4 = \frac{1}{N-1} \sum \left[ \frac{x_i - \bar{x}}{\sigma} \right]^4 - 3 \ \ \ \ \ \ \ \ \Delta s_4 = \sqrt{\frac{24}{N}}</math>
-
  '''skewness''' =  <math>\frac{1}{N} \sum \left[\frac{(x_i - \bar{x})}{\sigma}\right]^3  
+
 
-
  '''kurtosis''' =  <math>\frac{1}{N} \sum \left[\frac{(x_i - \bar{x})}{\sigma}\right]^4 - 3
+
Kurtosis excess = Kurtosis - 3   # To assign the value zero to a normal distribution.
 +
 
 +
Gaussian being symmetric with respect to the mean, has a skewness of zero.

Latest revision as of 12:20, 8 February 2011

Gaussian distribution

Mean
\bar{x}=\frac{1}{N} \sum x_i \ \ \ \ \ \ \ \ \Delta \bar{x}=\sqrt{\frac{\sum (x_i - \bar{x})^2}{N\ (N-1)}} = \frac{\sigma}{\sqrt{N}}
Median
The value chosen such that half of the observations are smaller and half are greater than this value.
Mode
The most frequently occurring value.
Variance
\sigma^2 = \frac{\sum (x_i - \bar{x})^2}{N-1}
Standard Deviation (rms/sigma) and standard error (error bars)
\sigma = \sqrt{\frac{\sum (x_i - \bar{x})^2}{N-1}} \ \ \ \ \ \ \ \ \Delta \sigma = \sqrt{\frac{\sum (x_i - \bar{x})^2}{2\ N\ (N-1)}}
   * 68.2% of the points are within +/-1σ
   * 95.4% of the points are within +/-2σ
   * 99.7% of the points are within +/-3σ

Deviations from the Gaussianity

Skewness

s_3 = \frac{1}{N-1} \sum \left[ \frac{x_i - \bar{x}}{\sigma} \right]^3 \ \ \ \ \ \ \ \ \ \ \ \ \ \Delta s_3 = \sqrt{\frac{6}{N}}


Kurtosis

s_4 = \frac{1}{N-1} \sum \left[ \frac{x_i - \bar{x}}{\sigma} \right]^4 - 3 \ \ \ \ \ \ \ \ \Delta s_4 = \sqrt{\frac{24}{N}}

Kurtosis excess = Kurtosis - 3 # To assign the value zero to a normal distribution.

Gaussian being symmetric with respect to the mean, has a skewness of zero.

Personal tools