S201, Lec 1
S201, Lec 1
2. Sampling Distributions
3. Point Estimation
4. Interval Estimation
5. Tests of Hypotheses
• When tossing a fair coin twice, the possible outcomes are: HH,HT,TH,TT
• Now, find 𝑷(𝑿 = 𝒙) for each possible value of 𝑿:
1. 𝒇 𝟎 = 𝑷(𝑿 = 𝟎) = 𝑷(𝑻𝑻) = 𝟏/𝟒
2. 𝒇 𝟏 = 𝑷 𝑿 = 𝟏 = 𝑷 𝑯𝑻 + 𝑷 𝑻𝑯 = 𝟏Τ𝟒 + 𝟏Τ𝟒 = 𝟐Τ𝟒
3. 𝒇 𝟐 = 𝑷 𝑿 = 𝟐 = 𝑷 𝑯𝑯 = 𝟏Τ𝟒
𝒙 0 1 2 Sum
• Thus, the Probability Mass Function (p.m.f.) of 𝑿
𝒇(𝒙) 𝟏Τ𝟒 𝟐Τ𝟒 𝟏Τ𝟒 1
Bivariate (Joint)
Distributions
(discrete)
Bivariate (Joint) Distributions
• If 𝑿 and 𝒀 is a discrete r.v.’s with possible pairs of values
𝒙𝒊 , 𝒚𝒋 , 𝒊 = 𝟏, 𝟐, . . . . ; 𝒋 = 𝟏, 𝟐, … , then
𝒉 𝒙𝒊 , 𝒚𝒋 = 𝑷 𝑿 = 𝒙𝒊 , 𝒀 = 𝒚𝒋 , 𝒙 = 𝒙𝟏 , 𝒙𝟐 , … ; 𝒚 = 𝒚𝟏 , 𝒚𝟐 , …
is called the joint probability mass function of 𝑿 and 𝒀.
𝑿 𝒙𝟏 𝒙𝟐 𝒙𝟑 ...
𝒀
𝒚𝟏 𝒉(𝒙𝟏 , 𝒚𝟏 ) 𝒉(𝒙𝟐 , 𝒚𝟏 ) 𝒉(𝒙𝟑 , 𝒚𝟏 ) ...
2. σ𝒊 σ𝒋 𝒉 𝒙𝒊 , 𝒚𝒋 = 𝟏
Bivariate (Joint) Distributions
𝑿 𝒙𝟏 𝒙𝟐 𝒙𝟑 ... Sum
𝒀
𝒚𝟏 𝒉(𝒙𝟏 , 𝒚𝟏 ) 𝒉(𝒙𝟐 , 𝒚𝟏 ) 𝒉(𝒙𝟑 , 𝒚𝟏 ) ... The conditions
Sum 1
Example 1.1
𝑿 𝟏 𝟐 𝟑 Sum
𝒀
𝟏 𝒌 𝟐𝒌 𝟑𝒌 𝟔𝒌
𝟐 𝟐𝒌 𝟒𝒌 𝟔𝒌 𝟏𝟐 𝒌
𝟑 𝟑𝒌 𝟔𝒌 𝟗𝒌 𝟏𝟖 𝒌
Sum 𝟑𝟔 𝒌
Example 1.1
𝒉(𝒙, 𝒚) = 𝒌 𝒙 𝒚 𝒇𝒐𝒓 𝒙 = 𝟏, 𝟐, 𝟑 ; 𝒚 = 𝟏, 𝟐, 𝟑
𝑿 𝟏 𝟐 𝟑
𝒀
𝟏 𝟐 𝟑
𝟏
𝟑𝟔 𝟑𝟔 𝟑𝟔
𝟐 𝟒 𝟔
𝟐
𝟑𝟔 𝟑𝟔 𝟑𝟔
𝟑 𝟔 𝟗
𝟑
𝟑𝟔 𝟑𝟔 𝟑𝟔
Example 1.1
𝑿 𝟏 𝟐 𝟑
𝒀
𝟏 𝟐 𝟑 𝑷 𝑿 + 𝒀≥𝟒 =
𝟏
𝟑𝟔 𝟑𝟔 𝟑𝟔 𝒉 𝟏, 𝟑 + 𝒉 𝟐, 𝟐 + 𝒉 𝟐, 𝟑 +
𝟐 𝟒 𝟔 𝒉 𝟑, 𝟏 + 𝒉 𝟑, 𝟐 + 𝒉 𝟑, 𝟑 =
𝟐
𝟑𝟔 𝟑𝟔 𝟑𝟔 𝟑𝟏/𝟑𝟔
𝟑 𝟔 𝟗
𝟑
𝟑𝟔 𝟑𝟔 𝟑𝟔
Example 1.1
𝑷 𝑿 + 𝒀≥𝟒
𝑿 𝟏 𝟐 𝟑
𝒀
𝑷 𝑿 + 𝒀≥𝟒 =
𝟏 𝟐 𝟑
𝟏 𝟏 − 𝑷 𝑿 + 𝒀 < 𝟒 =
𝟑𝟔 𝟑𝟔 𝟑𝟔
𝟏 − 𝒉 𝟏, 𝟏 + 𝒉 𝟏, 𝟐 + 𝒉 𝟐, 𝟏
𝟐 𝟒 𝟔
𝟐 = 𝟏 − {𝟏/𝟑𝟔 + 𝟐/𝟑𝟔 + 𝟐/𝟑𝟔}
𝟑𝟔 𝟑𝟔 𝟑𝟔
= 𝟑𝟏/𝟑𝟔.
𝟑 𝟔 𝟗
𝟑
𝟑𝟔 𝟑𝟔 𝟑𝟔
Marginal Distributions
• If 𝑿 and 𝒀 is a discrete r.v.’s with joint p.m.f. 𝒉(𝒙, 𝒚), the
p.m.f. , the marginal p.m.f. of X is given by
𝒈𝑿 𝒙𝒊 = 𝒉 𝒙𝒊 , 𝒚𝒋 , 𝒊 = 𝟏, 𝟐, … ;
𝒋
𝑿 𝟏 𝟐 𝟑 Sum
𝟔 𝟏𝟐 𝟏𝟖
Sum 𝟏
𝟑𝟔 𝟑𝟔 𝟑𝟔
The marginal pmf of 𝒀
𝒀 𝟏 𝟐 𝟑 Sum
𝟔 𝟏𝟐 𝟏𝟖
Sum 𝟏
𝟑𝟔 𝟑𝟔 𝟑𝟔
Example
Two textbooks are selected at random from a shelf contains 3
statistics texts, 2 mathematics texts and 3 arts texts. If 𝑿 is the
number of statistics texts and 𝒀 the number of mathematics texts
actually chosen.
𝑿 𝒀
• But 𝑿+𝒀≤𝟐
• Then, all possible pairs of 𝑋 and 𝑌 are:
(0, 0) , (0,1) , (1,0) , (1,1) , (0,2) 𝑎𝑛𝑑 (2,0)
Example
𝟑 𝟐 𝟑
=𝟗
𝟏 𝟎 𝟏
Example
𝟗
𝒉 𝟏, 𝟎 = 𝑷 𝑿 = 𝟏 , 𝒀 = 𝟎 = .
𝟐𝟖
Example
𝟑 𝟐 𝟑
𝒉 𝟏, 𝟏 = 𝑷 𝑿 = 𝟏 , 𝒀 = 𝟏 = 𝟏 𝟏 𝟎 = 𝟑 .
𝟖 𝟏𝟒
𝟐
Example
Then, the joint p.m.f. of the r.v.'s 𝑿 and 𝒀 is given by
the following table
𝑿
𝟎 𝟏 𝟐
𝒀
𝟏 𝟑/𝟏𝟒 𝟑/𝟏𝟒 𝟎
𝟐 𝟏/𝟐𝟖 𝟎 𝟎
Example
𝟑 𝟐 𝟑
𝒙 𝒚
𝟐−𝒙−𝒚
𝒉 𝒙, 𝒚 = 𝑷 𝑿 = 𝒙 , 𝒀 = 𝒚 = ,
𝟖
𝟐
𝒙 = 𝟎, 𝟏, 𝟐 ; 𝒚 = 𝟎, 𝟏, 𝟐; 𝒙 + 𝒚 ≤ 𝟐.
Example
To find the marginal pmf
𝑿 𝟎 𝟏 𝟐 Sum
𝒀
𝟏𝟓
𝟎 𝟑/𝟐𝟖 𝟗/𝟐𝟖 𝟑/𝟐𝟖
𝟐𝟖
𝟏𝟐
𝟏 𝟑/𝟏𝟒 𝟑/𝟏𝟒 𝟎
𝟐𝟖
𝟏
𝟐 𝟏/𝟐𝟖 𝟎 𝟎
𝟐𝟖
𝟏𝟎 𝟏𝟓 𝟑
Sum 𝟏
𝟐𝟖 𝟐𝟖 𝟐𝟖
Example
The marginal pmf of 𝑿
𝑿 𝟎 𝟏 𝟐 Sum
𝟏𝟎 𝟏𝟓 𝟑
Sum 𝟏
𝟐𝟖 𝟐𝟖 𝟐𝟖
The marginal pmf of 𝒀
𝑿 𝟎 𝟏 𝟐 Sum
𝟏𝟓 𝟏𝟐 𝟏
Sum 𝟏
𝟐𝟖 𝟐𝟖 𝟐𝟖