190 likes | 334 Views
Counting in probability. Permutations The number of orderings of different events Combinations The number ways that outcomes can be grouped. Permutations. The number of orderings of different events. Three cards: AKQ AKQ, AQK, KQA, KAQ, QAK QKA = 6 Four digits: 7412 24
E N D
Counting in probability • Permutations • The number of orderings of different events • Combinations • The number ways that outcomes can be grouped
Permutations • The number of orderings of different events. • Three cards: AKQ • AKQ, AQK, KQA, KAQ, QAK QKA = 6 • Four digits: 7412 • 24 • Five symbols: # $ % & @ • 120
Three different cards: AKQ • AKQ, AQK, KQA, KAQ, QAK QKA = 6 • Complete permutations
Partial Permutations • Four Different Digits (of 10) • In the first spot: 10 different digits possible • In the second spot: 9 possible left • In the third spot: 8 possible left • In the last spot: 7 possible left • 10*9*8*7 = 5040
Combinations • The number ways that outcomes can be grouped • Calculate the number of combinations of N objects taken r (r <= N) at a time. • Example: 13 cards (AKQ…2) taken 5 at a time = 1287
Review the problem • We want to be able to say something about the population from a single sample that we have drawn. • This is the problem of statistical inference • What can we infer from our sample?
Our logic for proceeding • If the population has certain characteristics, • then our sample will probably include certain outcomes and probably not include other outcomes • If our sample has outcomes that are unlikely to come from that population, it probably did not come from that population
Our logic (continued) • If our sample has outcomes that are unlikely to come from that population, it probably did not come from that population • Our conclusion must be either that the population is as hypothesized or it is not as hypothesized. • We reject or fail to reject the hypothesized population characteristic
Once More • We reason from population characteristics to probability distribution of all possible samples -- the sampling distribution. • We calculated this for the population of 7 black and 3 red marbles • We noted that the sampling distribution began to look like a normal distribution
Sampling distributions • There are a few sampling distributions that occur very frequently • binomial • normal • student’s t statistic • chi-square statistic • F statistic
Binomial • This is the distribution we have already calculated for the red (p=.3) and black (p=.7) marbles. • It is also the distribution for coin tosses where p=.5 for heads and p=.5 for tails • It is the distribution for all binary outcomes.
Normal • This is the distribution for many empirical distribution. • This is the distribution which many other distributions approach when working with large numbers: binomial, t, chi-square, etc. • This is the distribution for the sum of a set of random variables.
Normal distribution characteristics • The formula
Normal distribution characteristics • The shape 68%
Normal distribution characteristics • The shape 95%
Normal distribution characteristics Mean • The shape One unit is one std. dev.
Why the normal distribution? • Central Limit Theorem • Sampling distribution of the mean approaches normal distribution • Mean of sampling distribution approaches mean of population • sd of sampling distribution approaches population sd / sqrt(n) as n becomes large
Thus • pop mean = 5, pop sd = 1 • If n=4, sampling dist mean = 5, sd = .5 • If n=9, sampling dist mean = 5, sd = .333 • If n=25, samp dist mean = 5, sd = .20 • If n=900, samp dist mean = 5, sd = .033
Pop N=4 N=9 N=900