Docsity

Probability, Basic Facts about Probability - Basic Statistics for Behavioral Sciences - Lecture Notes, Study notes of Statistics for Psychologists

Toggle sidebar
bg1
Chapter 2: Probability
I. Introduction
A. Terminology
1. Sample space: A set of all possible elements of
an experiment (โ‰ˆPopulation).
2. Sample point (elementary event): Any member of a
given sample space (โ‰ˆscore, datum).
3. Event: Any subgroup of a sample space (โ‰ˆsample).
4. Probability of an event, event A.
# of sample points in event A
P(A)= โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Total # of sample points in the sample space
e.g.
a) The probability of a randomly drawn card to
be a King: P(King) = 4/52
b) P(Spade) = 13/52
c) More examples
B. Basic Facts about Probability
1. 0 โ‰ค P(A) โ‰ค 1
2. ฮฃP(A) = 1
3. Small probability means "unusual."
4. All hypothesis testing is a conditional
probability.
C. Basic Concepts
1. Independence: The occurrence of one event does
not change the probability of the occurrence of the
second event (related to multiplication rule).
2. Mutually Exclusive (Mutual Exclusiveness): Two
events have no sample points in common. Two
events cannot happen simultaneously (related to
addition rule).
3. Exhaustive: A sample space should include all
possible outcomes.
Docsity.com
pf3
pf4
pf5

Partial preview of the text

Download Probability, Basic Facts about Probability - Basic Statistics for Behavioral Sciences - Lecture Notes and more Study notes Statistics for Psychologists in PDF only on Docsity!

Chapter 2: Probability

I. Introduction A. Terminology

  1. Sample space: A set of all possible elements of

an experiment (โ‰ˆPopulation).

  1. Sample point (elementary event): Any member of a given sample space (โ‰ˆscore, datum).
  2. Event: Any subgroup of a sample space (โ‰ˆsample).
  3. Probability of an event, event A.

of sample points in event A

P(A)= โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Total # of sample points in the sample space

e.g. a) The probability of a randomly drawn card to be a King: P(King) = 4/ b) P(Spade) = 13/ c) More examples

B. Basic Facts about Probability

  1. 0 โ‰ค P(A) โ‰ค 1
  2. ฮฃP(A) = 1
  3. Small probability means "unusual."
  4. All hypothesis testing is a conditional probability.

C. Basic Concepts

  1. Independence: The occurrence of one event does not change the probability of the occurrence of the second event (related to multiplication rule).
  2. Mutually Exclusive (Mutual Exclusiveness): Two events have no sample points in common. Two events cannot happen simultaneously (related to addition rule).
  3. Exhaustive: A sample space should include all possible outcomes.

D. Basic Rules

  1. Addition Rule ("Or Rule") a) P(AUB) = P(A) + P(B) - P(AโˆฉB) e.g. What is the probability of a randomly drawn card to be a King "or" a Spade?

P(King U Spade) = P(King) + P(Spade) - P(KingโˆฉSpade) = 4/52 + 13/52 - 1/ = 16/ b) If A and B are mutually exclusive, P(AโˆฉB)= e.g. What is the probability of a randomly drawn card to be a King "or" a Queen?

P(King U Queen) = P(King) + P(Queen) -P(KingโˆฉQueen) = 4/52 +4/52 - 0 =8/

  1. Multiplication Rule ("And Rule") a) If A and B are independent, P(AโˆฉB) = P(A) x P(B) e.g. What is the probability of a randomly drawn card to be a King and Spade?

P(King โˆฉ Spade) = P(King) x P(Spade) = (4/52) x (13/52) = 1/ b) If A and B are dependent, P(AโˆฉB) = P(A) x P(B|A) P(B|A): The conditional probability of B given A If A and B are independent, P(B|A) = P(B). D. Joint, Marginal, and Conditional Probability

  1. Joint Probability a) The probability of the co-occurrence of two or more events. b) A series of multiplication rules. c) From a raw data set

of sample points in a case of A and B

P(AโˆฉB)= โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Total # of sample points in the sample space

e) What is the probability that a driver has a child in the car given he/she wears seat belt? f) What is the probability that a driver has a child in the car given he/she does not wear seat belt? g) More questions.

II. Bayesian Theorem (expansion of conditional probability)

P(A|B)P(B)

P(B|A) = โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

_ _

P(A|B)P(B) + P(A|B)P(B)

III. Combinatorics A. Factorial

  1. The number of ways to order (arrange) a set of objects.
  2. n! = (n)(n-1)(n-2)... (2)(1)
  3. 0! = 1
  4. e.g. How many ways do we have to arrange 3 letters, A, B, C. ABC, ACB, BCA, BAC, CAB, CBA ๏ƒ  6 ways. 3! = 3 X 2 X 1 = 6 5! = 120 B. Permutations
  5. The number of ways to select a certain number of objects(r) from a set of objects (N) and arrange the r (sometimes called ordered combination).
  6. P Nr = ( )!

N r

N

  1. Select 3 letters out of 5 letters and arrange the 3 letters.

P 53 = ( 5 3 )!

C. Combinations

  1. The number of ways to select a certain number of objects(r) from a set of objects(N).
  2. C Nr = ( )!!

N r r

N

  1. Compute the number of ways to select 3 out of 5 letters.

C 53 =

IV. Binomial Distribution A. Introduction

  1. Bernoulli trial: an independent trial which results in two mutually exclusive outcomes.
  2. Binomial distribution: a theoretical distribution built by a certain number of Bernoulli trials, discrete distribution.
  3. P(X=x 0 ) = ( ) ( ) ( )!!

N x Nx!^ x Nx x P Q N x x

N

C P Q โˆ’ โˆ’

where P(X=x 0 ): the probability of the event of X=x 0 , Px, P: a theoretical (given) probability of the event x for one trial, Q(N-x): 1 - Px, X: the target event, x 0 : specific value for the target event, and N: sample size (# of total trials).

  1. Examples a)Having 3 children (N=3), what is the probability of having 2 boys (X=2)? P = ยฝ =.

P(X=2) = (. 50 ) (. 50 ). 375 1! 2!

All events 3 Boys 1 1 1 (.5)(.5)(.5)=. 2 Boys 1 1 0 =. 1 0 1 =. 0 1 1 =. 1 Boy 1 0 0 =. 0 1 0 =. 0 0 1 =. 0 Boy 0 0 0 =. Total =1. b) Tossing a fair coin ten times (N=10), what is the probability of having ten heads (X=10)? P = .50.

the coin is fair (P=.50). X=8 (8 heads). b) Procedure H 0 : P = .50 H 1 : P โ‰ . ฮฑ =. TS: P(X โ‰ฅ 8|P=.50) =.

๏‘ P(X=8|P=.50) = (. 50 )^8 (. 50 )^2 2! 8!

P(X=9|P=.50) = (. 50 )^9 (. 50 )^1

P(X=10|P=.50) = (. 50 )^10 (. 50 )^0

Decision P(X โ‰ฅ 8|P=.50) = .0546875 / โ‰ค .025 = ฮฑ /2. โˆด Fail to reject H 0. C. Mean and variance of the binomial distribution

  1. Given N, P, and Q, a) Mean(X) = NP e.g., Tossing a fair coin 10 times (N=10) and build a binomial distribution, X= # of heads, P = .50, and Q = .50, Mean = NP = (10)(.50) = 5. b) Variance(X) = NPQ = (10)(.5)(.5) = 2.5. c) SD(X) = Var ( X ) = NPQ = 2. 5 โ‰ˆ 1. 58.