Statistics: Difference between revisions
Jump to navigation
Jump to search
Adamcolton (talk | contribs) |
Adamcolton (talk | contribs) |
||
| Line 24: | Line 24: | ||
Example: The probability of two heads in six coin flips: | Example: The probability of two heads in six coin flips: | ||
.5<sup>2</sup>(1-.5)<sup>6-2</sup> = .25 * .5<sup>4</sup> = 0.015625 | 6C2 = 6! / ( 2! * (6-2)! ) = 6! / (2!4!) = 720 / (24 * 2) = 15 | ||
15 * .5<sup>2</sup>(1-.5)<sup>6-2</sup> = 15 * .25 * .5<sup>4</sup> = 15 * 0.015625 = 0.234375 | |||
== Hypothesis Testing == | == Hypothesis Testing == | ||
Revision as of 19:25, 5 April 2013
- mean
- x_bar = 1/n Σ xi
- permutation
- nPk = n! / (n-k)!
- n: size of the set
- k: elements drawn
Normal Distribution
Z distribution is a normal distribution with a mean (μ) of 0 and a standard deviation (δ) of 1. Any normal distribution is described by its μ and δ value.
To convert a normal distribution to a Z distribution
Z = (x - μ) / δ
Standard deviation is the root of the sum of the square errors:
δ = ( Σ (i - μ)2 ).5
Binomial Distribution
Similar to normal distribution, but for values that can only be discrete.
Probability of an event happening k times given n trials, where p is the probability of n:
nCk * pk(1-p)n-k nCk = n! / ( k! * (n-k)! )
Example: The probability of two heads in six coin flips:
6C2 = 6! / ( 2! * (6-2)! ) = 6! / (2!4!) = 720 / (24 * 2) = 15 15 * .52(1-.5)6-2 = 15 * .25 * .54 = 15 * 0.015625 = 0.234375
Hypothesis Testing
Null hypothesis h0. Alternate hypothesis HA or H1
Single Tail Test
H0 : μ1 = μ2 HA : μ1 > μ2
Two Tailed Test
H0 : μ1 = μ2 HA : μ1 ? μ2
Familywise Error Rate
The probability of make one or more false discoveries (Type I errors) among all hypothesis when performing multiple hypothesis tests.