5 BSM214 Lecture5 Fall2023
5 BSM214 Lecture5 Fall2023
* Statistical Inference
(1) Estimation:
→ Point Estimation
→ Interval Estimation (Confidence Interval)
X1 + X 2 + + X n ∑X i
X= = i =1
(unit)
n n
Variability in the Sample:
Definition:
If X1, X2, …, Xn represents a random sample of size n, then the
sample variance is defined to be the statistic:
n
∑(X i − X )2
( X1 − X )2 + ( X 2 − X )2 + + ( X n − X )2
2
S = i =1
= (unit)2
n −1 n −1
Theorem: (Computational Formulas for S2)
Note:
· S2 is a statistic because it is a function of the random
sample X1, X2, …, Xn.
· S2 measures the variability in the sample.
n
The standard deviation ∑(X − X )
2
i
2 i =1
S= S = (unit)
n −1
Example:
Compute the sample variance and standard deviation of the
following observations (ages in year): 10, 21, 33, 53, 54.
Solution:
n=5
n 5
∑x i ∑x i
10 + 21 + 33 + 53 + 54 171
x= i =1
n
= i =1
5
=
5
=
5
= 34.2 (year)
n
2
∑x 2
i − nx
S2 = i =1
n −1
xi 10 21 33 53 54 ∑ xi = 171
7355 − (5)(34.2)
2
1506.8
= = = 376.7
5 −1 4
(year)2
X −µ
T=
S/ n
Result:
If X1, X2, …, Xn is a random sample of size n from a normal
distribution with mean µ and unknown variance σ2, i.e. N(µ,σ),
then the statistic
X −µ
T=
S/ n
has a t-distribution with ν=n−1degrees of freedom (df), and we
write T~ t(ν).
Note:
t-distribution is a continuous
distribution.
The shape of t-distribution is similar to
the shape of the standard normal
distribution.
Notation:
p̂ ~ N(p, pq ) (Approximately)
n
pˆ − p
Z= ~ N(0,1) (Approximately)
pq
n