Docsity

Statistics 571 Discussion 2: Probability and Random Variables, Assignments of Data Analysis & Statistical Methods

Toggle sidebar
bg1
STATISTICS 571 TA: Perla Reyes DISCUSSION 2
Review
1. Sample space and Event
Elementary outcome is an individual possible result of an experiment.
Sample space S= the set of all elementary outcomes.
An event is a collection of elementary outcomes.
Suppose Aand Bare two events:
(a) AOR B= the set of elementary outcomes either in A, in Bor in both (union)
(b) AAND B= the set of elementary outcomes in both Aand B(intersection)
(c) NOT A= the set of elementary outcomes not in A(complement)
(d) Aand Bare mutually exclusive if they do not have elementary outcomes in common.
2. Probabilities are defined in terms of a model. A probability model consists of a probability assignment
for each of the events in sample space S. Rules for probability assignments:
(a) For any event A, 0 ≤P(A) ≤1
(b) P(S)=1
(c) If Aand Bare mutually exclusive, then P(AOR B)=P(A)+P(B)
3. Suppose Aand Bare two events
(a) P(AOR B)=P(A)+P(B)-P(AAND B)
(b) P(NOT A)=1-P(A)
(c) P(AAND B)=P(A)P(B) if Aand Bare independent
(d) Conditional probability of event Agiven Bis
P(A|B) = P(AAND B)
P(B)
If Aand Bare independent, then P(A|B) = P(A).
So P(AAND B) = P(A)P(B)
(e) Is there any relationship between mutually exclusive and independence? Answer: No. They are
different concepts.
4. Random variable X: variable takes its values according to the outcomes of the experiment. For a
discrete random variable X, the probability of an event {X=x}for a number xis denoted by p(x).
5. The mean value or expected value of Xis denoted by E(X), or µor µX.
For a discrete random variable, its mean value can be calculated by E(X)=Pxp(x)
(a) E(X+c)=E(X) +c
(b) E(kX)=kE(X)
(c) E( X+Y)=E(X) + E(Y)
email: [email protected] 1 Office: 248 MSC M2:30-3:30 R3:30-4:30
pf2

Partial preview of the text

Download Statistics 571 Discussion 2: Probability and Random Variables and more Assignments Data Analysis & Statistical Methods in PDF only on Docsity!

STATISTICS 571 TA: Perla Reyes DISCUSSION 2

Review

  1. Sample space and Event Elementary outcome is an individual possible result of an experiment. Sample space S = the set of all elementary outcomes. An event is a collection of elementary outcomes. Suppose A and B are two events: (a) A OR B = the set of elementary outcomes either in A, in B or in both (union) (b) A AND B = the set of elementary outcomes in both A and B (intersection) (c) NOT A = the set of elementary outcomes not in A (complement) (d) A and B are mutually exclusive if they do not have elementary outcomes in common.
  2. Probabilities are defined in terms of a model. A probability model consists of a probability assignment for each of the events in sample space S. Rules for probability assignments: (a) For any event A, 0 ≤ P(A) ≤ 1 (b) P(S)= (c) If A and B are mutually exclusive, then P(A OR B)=P(A)+P(B)
  3. Suppose A and B are two events (a) P(A OR B)=P(A)+P(B)-P(A AND B) (b) P(NOT A)=1-P(A) (c) P(A AND B)=P(A)P(B) if A and B are independent (d) Conditional probability of event A given B is

P (A|B) = P^ (A P^ AND (B)^ B)

If A and B are independent, then P (A|B) = P (A). So P (A AND B) = P (A)P (B) (e) Is there any relationship between mutually exclusive and independence? Answer: No. They are different concepts.

  1. Random variable X: variable takes its values according to the outcomes of the experiment. For a discrete random variable X, the probability of an event { X= x} for a number x is denoted by p(x).
  2. The mean value or expected value of X is denoted by E(X), or μ or μX. For a discrete random variable, its mean value can be calculated by E(X)=

xp(x) (a) E(X+c)=E(X) +c (b) E(kX)=kE(X) (c) E( X + Y)=E(X) + E(Y)

email: [email protected] 1 Office: 248 MSC M2:30-3:30 R3:30-4:

STATISTICS 571 TA: Perla Reyes DISCUSSION 2

  1. The variance of∑ X is denoted by Var(X) and can be calculated as Var(X)=E(X-μ)^2 or Var(X) = (x − μ)^2 p(x) (discrete random variable).

(a) Var(X+a)=Var(X) (b) Var(kX)=k^2 Var(X) (c) Var(X +Y)=Var(X)+Var(Y) if X and Y are independent. (d) Var(X - Y)=Var(X)+Var(Y) if X and Y are independent.

Practice Problem

(a) Consider the experiment of having a bowl with 6 yellow or red balls, each marked with a number, suppose that the bowl looks like: (1Y) (2Y) (3Y) (1R) (2R) (?R) Let A be the event that the ball has a 1 on it. Let B be the event that the ball is yellow. i. Suppose P (B|A)= 13 , what is the number corresponding to the ball marked “?”? ii. Suppose P (B|A)= 34 , is this possible? (b) 100 students reported the numbers of brothers and sisters they have. The results are summarized in the following table: Number of Sisters 0 1 ≥ 2 total Number 0 2 10 8 20 of 1 3 15 12 30 Brothers ≥ 2 5 25 20 50 total 10 50 40 100 i. Consider the experiment of selecting 1 person at random from a class of 100 students. Com- pute the following probabilities: A. Pr(at least 1 sister) B. Pr(exactly 1 sister or more than 1 brother) C. Pr(exactly 1 brother given that the student has at least 2 sisters) D. Pr(exactly 1 sister given that the student has exactly 1 brother) E. Define A = ”having one sister”, B = ‘”having no brothers”. Are A and B independent? ii. Let X, Y (r.v.s) denote the # of sisters and brothers of that student respectively if we randomly select one student from this students group ( if # of sisters ≥ 2, we define X=2, similarly, if # of brothers≥ 2, we define Y=2). A. Find pX (x), and find the mean and variance of X, Y. B. Are X and Y independent? C. T=X-Y. Find pT (t), and then find the mean and variance of T. Compare Var(T) with Var(X)+Var(Y).

email: [email protected] 2 Office: 248 MSC M2:30-3:30 R3:30-4: