






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







































Harry G. Kwatny
Department of Mechanical Engineering & Mechanics Drexel University
Sample Statistics Graphical Analysis of Data Regression Analysis
Reliability Testing Quality Control
Real World
Theoretical Model Empirical Model Random variable, X Range, real line: Probability distribution function: f(x)
−∞ < x < ∞
x
f
Sample: { x 1 (^) , x 2 , , xN }
[ ] (^2) ( )^2
mean: variance:
E x E x
μ σ μ
= = ⎡ ⎣^ − ⎤⎦
Statisticalinference
(^2) ( )^2
1 1 1
s i s i s
N x N x
μ σ μ
= = (^) − −
∑ ∑
I (^) Observe data and postulate a model pdf. I (^) Theory I (^) Experience I (^) Histogram I (^) Fit the model to data (select parameters). I (^) Compute sample statistics I (^) Graphical analysis I (^) Least squares estimation I (^) Maximum likelihood estimation I (^) Judge the quality of the model. I (^) Tests based on pdf (chi-square). I (^) Tests based of cdf (Kolmogorov-Smirnov).
SAMPLE STATISTICS
I (^) Consider a random variable X, with pdf f (x) and a random sample x 1 , x 2 ,... , xN. I (^) Each outcome xi can be identified with a random variable Xi having pdf fi(x) = f (x). I (^) The joint pdf is (assuming a random sample)
P (X 1 = x 1 ∩ · · · ∩ XN = xn) = f (x 1 ) · · · f (xN )
I (^) Each sample statistic is a random variable and we can compute mean, variance, etc.
SAMPLE STATISTICS
I (^) Mean
E (μs) =
i= 1 E (xi) =
i= 1 μ = μ
I (^) Variance
σ s^2 = (^) N^1 − 1 ∑N i= 1 (xi^ −^ μs)
(^2) = 1 N− 1
∑N i= 1
[ xi − (^1) N ∑N j= 1 xj
] 2
= (^) N^1 − 1 ∑N i= 1
[ (xi − μ) − (^) N^1 ∑N j= 1 (xj^ −^ μ)
] 2
= (^1) N
∑N i= 1 (xi^ −^ μ)
(^2) − 1 N(N− 1 )
∑N i= 1
∑ j 6 =i (xj^ −^ μ) (xi^ −^ μ)
E
σ^2 s
i= 1 E
(xi − μ)^2
= σ^2
SAMPLE STATISTICS
39.00 54.00 21.00 42.00 66.00 50.00 56. 62.00 59.00 40.00 41.00 75.00 63.00 58. 32.00 43.00 51.00 60.00 65.00 48.00 61. 27.00 46.00 60.00 73.00 36.00 38.00 54. 60.00 36.00 35.00 76.00 54.00 55.00 45. 71.00 54.00 46.00 47.00 42.00 52.00 47. 62.00 55.00 49.00 39.00 40.00 69.00 58. 52.00 78.00 56.00 55.00 62.00 32.00 57. 45.00 84.00 36.00 58.00 64.00 67.00 62. 51.00 36.00 73.00 37.00 42.00 53.00 49.
Braking distance from 35 mph -ft
Min: 21 ft, Max: 84 ft. Average: 52.3 ft, Standard deviation: 12.98 ft
SAMPLE STATISTICS
Histogram
0
5
10
15
20
25
10 20 30 40 50 60 70 80 90 100 More Bin
Frequency
.00%
20.00%
40.00%
60.00%
80.00%
100.00%
120.00%
Frequency Cumulative %
SAMPLE STATISTICS
I (^) X is a random variable with density function f (x), with mean μ and variance σ^2. I (^) The sample mean is obtained from a random sample of size n, {x 1 , x 2 ,... , xn} ⇒ ¯x =
n
∑n i= 1 xi I (^) The sample can be thought of as a set of sample values drawn from the independent random variables X 1 ,... , Xn with distribution functions fX 1 (x 1 ) = · · · = fXn (xn) I (^) The sample mean is also a random variable
¯X = 1 n
∑n i= 1 Xi
SAMPLE STATISTICS
E (¯X) = μ
Var (¯X) = Var
n
∑n i= 1 Xi
n^2 Var
(∑n i= 1 Xi
σ^2 n The Central Limit Theorem implies that for large n
fX¯ (¯x) ∼ Φ
¯x; μ,
σ^2 n
SAMPLE STATISTICS
I (^) Define the random variable
X − μ σ/
n
n
∑n i= 1 Xi
I (^) For any given α, we have ( 1 − α) confidence that
μ − σ √ n
zα 6 ¯x 6 μ + σ √ n
zα, zα = Φ−^1
(α / 2
I (^) For a ( 1 − α) confidence level, the mean and variance of the population X lies in the estimated intervals
μ±^ = μs ±
σs √ n zα, σ±^ = σs ±
σs √ 2 (n − 1 )
zα
GRAPHICAL ANALYSIS OF DATA
I (^) Consider a r.v. X with pdf f (x) and corresponding cpf F(x). I (^) Consider a sample of N observations of X arranged in ascending order. The mth^ value xm is associated with the cumulative probability Fm = m/(N + 1 ). I (^) Define a new y-coordinate, s, and a new x-coordinate, t, via
y = Φ (s) s = Φ−^1 (y) x = Ψ−^1 (t) t = Ψ (x)
Plot s vs t. I (^) The functions Φ, Ψ are chosen to match the pdf of x so that the plot is linear. Specifically, the plot of Φ−^1 (x) vs Ψ(x) should be linear.
GRAPHICAL ANALYSIS OF DATA
Suppose X has the pdf:
f (x) = 1 √ 2 πσ
exp
[ − 1 2
( x − μ σ
) 2 ] ⇒ F (x) = 1 2 σ^2
[ 1 + Erf
( x − μ √ 2 σ
)]
F (x) = 1 2 σ^2
[ 1 + Erf
( 1 √ 2
( 1 σ x − μ σ
))]
Choose the functions Φ, Ψ as follows
s = 1 σ x − μ σ Φ (s) = 1 2 σ^2
[ 1 + Erf
( 1 √ 2
s
)] t = Ψ (x) = x
The plot is a straight line:
s =
σ
t − μ σ
GRAPHICAL ANALYSIS OF DATA
Cum
ula tive
Pro
bab
ility
=m
/(N +^1 )
0
1
2
Sampled Random Variable, x
s = Φ^ − 1 ⎛⎜⎝^ N^ m + 1 ⎞⎟⎠⇔ Φ ( ) s
Linear scale (usuallyomitted) Nonlinear scale (usually based on standardizeddistribution)
⎛⎜⎝ x (^) m , (^) Nm + 1 ⎞⎟⎠
mth^ data point
Mean, = x|0.
Standard deviation, =x| 0.84-
Specific numbers correspond to normaldistribution.
Fitted line
standardized variate)(May rescale to a