Download presentation
Presentation is loading. Please wait.
Published byGarry Reeves Modified over 9 years ago
1
Ex St 801 Statistical Methods Probability and Distributions
2
a graphic: population sample Gather data Make inferences parametersstatistics
3
some definitions. Population: Set of all measurements of interest to the investigator. Parameter: Characteristic of the population; Greek letter, usually unknown. Sample: Subset of measurements selected (usually at random) from the population. Statistic: Characteristic of the sample; Latin letter or Greek letter with a hat ( ^ ). Random Variable: The characteristic we measure, usually called ‘y’.
4
a graphic, again population sample Probability Gather data Make inferences Statistics
5
Probability: Likelihood of occurrence; we know the population, and we predict the outcome or the sample. Statistics: We observe the sample and use the statistics to describe the unknown population. When we make an inference about the population, it is desirable that we give a measure of ‘confidence’ in our being correct (or incorrect). This is done giving a statement of the ‘probability’ of being correct. Hence, we need to discuss probability. More terms:
6
So, Probability: more terms: event: is an experiment y: the random variable, is the outcome from one event sample space: is the list of all possible outcomes probability, often written P(Y=y), is the chance that Y will be a certain value ‘ y ’ and can be computed: number of successes p = -------------------------. number of trials
7
8 things to say about probability: 1. 0 p 1 ; probabilities are between 0 and 1. 2. p i = 1 ; the sum of all the probabilities of all the possible outcomes is 1. Event relations 3. Complement: If P(A=a) = p then A complement is is P( A not a) = 1-p (= q sometimes). Note: p + (1-p) = 1 (p+q=1). A complement is also called (not the mean).
8
8 things continued 4. Mutually exclusive: two events that cannot happen together. If P(AB)=0, then A and B are M.E. 5. Conditional: Probability of A given that B has already happened. P(A|B) 6. Independent: Event A has no influence on the outcome of event B. If P(A|B) = P(A) or P(B|A) = P(B) then A and B are independent.
9
8 things continued again two laws about events: 7. Multiplicative Law: (Intersection ; AND) P(AB) = P(A B) = P(A and B) = P(A) * P(B|A) = P(B) * P(A|B) if A and B are independent then P(AB) = P(A) * P(B). 8. Additive Law: (Union; OR) P(A B) = P(A or B) = P(A) + P(B) - P(AB).
10
A B AB The Venn diagram below can be used to explain the 8 ‘things’.
11
An example: Consider the deck of 52 playing cards: sample space: (A, 2, 3, …, J, Q, K) spades (A, 2, 3, …, J, Q, K) diamonds (A, 2, 3, …, J, Q, K) hearts (A, 2, 3, …, J, Q, K) clubs Now, consider the following events: J= draw a J: P(J)= 4/52=1/13 F = draw a face card (J,Q,K): P(F)= 12/52=3/13 H = draw a heart: P(H)= 13/52
12
An example.2: Compute the following: 1. P(F complement) = (52/52 - 12/52) = 40/52 2. Are J and F Mutually Exclusive ? No: P(JF) = 4/52 is not 0. 3. Are J and F complement M.E. ? Yes: P(J and ) = 0 4. Are J and H independent ? Yes: P(J) = 13/52 = 1/13 = P(J|H)
13
An example.3: Compute the following: 5. Are J and F independent ? No: P(J) = 4/52 but P(J|F) = 4/12 6. P(J and H) = P(J) * P(H|J) = 4/52*1/4 = 1/52 7. P(J or H) = P(J) + P(H) - P(JH) = 4/52 + 13/42 - 1/52 = 16/52.
14
Two sorts of random variables are of interest: DISCRETE: the number of outcomes is countable CONTINUOUS: the number of outcomes in infinite (not countable). Random variables are often described with probability distribution functions. These are graphs, tables or formula which allow for the computation of probabilities.
15
A few common Discrete probability distributions are: Uniform: P(Y=y) = 1/number of outcomes (all outcomes are equally likely) Binomial P(Y=y) = nCy * p y * (1-p) (n-y) where: nCy is the combination of n things taken y at the time n is the number of trials y is the number of successes p is the probability of succeeding in one trial in each trial, the only outcomes are success and failure (0,1).
16
Poisson P(Y=y) = ; y=0,1,2,… (for example number of people waiting in line at a teller) = the population mean of Y. These are a few of many and are used when there are only a few possible outcomes: number of defects on a circuit board, number of tumors in a mouse, pregnant or not, dead or alive, number of accidents at an intersection and so on.
17
PROBABILITY DEFINITIONS An EXPERIMENT is a process by which an observation is obtained. A SAMPLE SPACE (S) is the set of possible outcomes or results of an experiment. A SIMPLE EVENT (E i ) is the smallest possible element of the sample space.
18
PROBABILITY DEFINITIONS A COMPOUND EVENT is a collection of two or more simple events. Two events are INDEPENDENT if the occurrence of one event does not affect the occurrence of the other event.
19
SAMPLE SPACE FOR THE COINS IN A JAR EXAMPLE (P, N 1, N 2 ) (P, N 1, D) (P, N 1, Q) (P, N 2, D) (P, N 2, Q) (P, D, Q) (N 1, N 2, D) (N 1, N 2, Q) (N 1, D, Q) (N 2, D, Q)
20
INTERPRETATIONS OF PROBABILITY Classical: Relative Frequency:
21
PROPERTIES OF PROBABILITIES
22
RANDOM VARIABLES A RANDOM VARIABLE (r.v.) is a numerical valued function defined on a sample space A DISCRETE RANDOM VARIABLE is a random variable that can assume a countable number of values.
23
RANDOM VARIABLES (CONT.) : A CONTINUOUS RANDOM VARIABLE is a random variable that can assume an infinitely large number of values corresponding to the points on a line interval.
24
A RANDOM VARIABLE FOR THE COINS IN A JAR EXAMPLE Let Y be the amount of money taken out of the jar. 11 16 31 16 31 (P, N 1, N 2 ) (P, N 1, D) (P, N 1, Q) (P, N 2, D) (P, N 2, Q) 36 20 35 40 40 (P, D, Q) (N 1, N 2, D) (N 1, N 2, Q) (N 1, D, Q) (N 2, D, Q)
25
PROBABILITY DISTRIBUTIONS A DISCRETE PROBABILITY DISTRIBUTION is a formula, table or graph that shows the probability associated with each value of the discrete random variable. A CONTINUOUS PROBABILITY DISTRIBUTION is given by an equation f (y) (probability density function) that shows the density of probability as it varies with the continuous random variable.
26
COINS IN A JAR EXAMPLE PROBABILITY DISTRIBUTION EXPECTED VALUE (MEAN) E(Y) = 27.6 VARIANCE VAR (Y) = 105.84
27
EXPECTATION AND VARIANCE FOR A DISCRETE RANDOM VARIABLE
28
EXPECTATION FORMULA SUPPOSE E(Y) = µ Y AND E(X)= µ X E(aY) = a E(Y) = a µ Y E(Y + X) = E(Y) +E(X) = µ Y + µ X E(aY + bX) = aE(Y) +bE(X) = aµ Y + b µ X
29
VARIANCE FORMULA Suppose Var(Y) = Y 2 and Var(X) = X 2 Var(aY) = a 2 Var(Y) If Y and X are independent, then – Var(Y + X) = Var(Y) + Var(X) – Var(aY + bX) = a 2 Var(Y) + b 2 Var(X)
30
THE NORMAL DISTRIBUTION Some properties 1. The area under the entire curve is always 1. 2. The distribution is symmetric about the mean 3. The mean and the median are equal. 4. Probabilities may be found by determining the appropriate area under the curve.
31
SAMPLING DISTRIBUTIONS The SAMPLING DISTRIBUTION of a statistic is the probability distribution for the values of the statistic that results when random samples of size n are repeatedly drawn from the population. The STANDARD ERROR is the standard deviation of the sampling distribution of a statistic.
32
DIAGRAM FOR OBTAINING A SAMPLING DISTRIBUTION POP. SAMPLE 1SAMPLE 2SAMPLE 499SAMPLE 500 Y1Y1 Y2Y2 Y 499 Y 500
33
THE CENTRAL LIMIT THEOREM If random samples of n observations are drawn from a population with a finite mean, , and a finite variance 2, then, when n is large (usually greater than 30), the SAMPLE MEAN, will be approximately normally distributed with mean and variance 2 /n. The approximation becomes more accurate as n becomes large.
34
THE CENTRAL LIMIT THEOREM
35
AN APPLICATION OF THE SAMPLING DISTRIBUTION The Ybar CONTROL CHART can be used to detect shifts in the mean of a process. The chart looks at a sequence of sample means and the process is assumed to be “IN CONTROL” as long as the sample means are within the control limits.
36
Y CONTROL CHART UPPER CONTROL LIMIT LOWER CONTROL LIMIT CENTER LINE SAMPLE
37
GLASS BOTTLE EXAMPLE A glass-bottle manufacturing company wants to maintain a mean bursting strength of 260 PSI. Past experience has shown that the standard deviation for the bursting strength is 36 PSI. The company periodically pulls 36 bottles off the production line to determine if the mean bursting strength has changed.
38
GLASS BOTTLE EXAMPLE (CONT) Construct a control chart so that 95% of the sample means will fall within the control limits when the process is “IN CONTROL.” The END
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.