Chapter2 Deterministic and Stochastic
Chapter2 Deterministic and Stochastic
Representation R. J. Chang
Department of Mechanical Engineering
NCKU
tj
t j :time index
Data collection as a time series:
At1 , At 2 , At 3 ,... or A j | j 1, 2,3,..., M
§ 2.1 Deterministic and Stochastic View(4)
(2) Repeatability view
Measurement data: x1, x2, x3,, xN |t
1
x(tj)
t1 t2 t3 t4 t5 t6 tj
Prediction error
x(t)
xt j 1
t
tj-1 tj tj+1
Regression is a constant.
x(t)
xt j 1
t
tj-1 tj tj+1
Regression is linear.
x(t)
xt i 1
dynamic process
t
tj-1 tj tj+1
Deterministic Stochastic
Process Process
Ideal case
x 9 x 9 Predictable
x 9 x 9 Unpredictable
Practical case
Predictable if e9 x9 x9 , e9
X(tk+1)
100% predictable
100% unpredictable
§ 2.1 Deterministic and Stochastic View(13)
Sampling Discrete
Signal Source Sensor / Information
Data Hold Digitizer Algorithm
(Ideal) Transducer display (S/N)
…
Quasi-
Periodic Transient Stationary Nonstationary
Stationary
Modulated Nonstationary
Sinusoidal Complex Ergodic Nonergodic
Nonstationary Stochastic
§ 2.2 Data Classification and Analysis(3)
3. Data Classification Problem
The classification problem is a hypothesis testing
problem.
x t j lim xi t j
1 N
N N
i 1
t j lim xi t j
2 1 N 2
x
N N
i 1
x t j x2 t j
§ 2.2 Data Classification and Analysis(5)
(4) Autocorrelation function
(a) Definition
Rx t j , t j lim xi t j xi t j
1 N
N N
i 1
x(tj) n )
x(tj+£
§ 2.2 Data Classification and Analysis(6)
(b) Physical meaning
Rx t , t
τ
No correlation No correlation
Self correlation
0 0
x(t1 ) xt1
§ 2.2 Data Classification and Analysis(7)
• If 0
Autocorrelation function becomes mean square value
Rx t1 , t1 0 and is the maximum value of Rx t1,t1
• If 0
No correlation between xt1 and x t 1 , xt 1 can
not be predicted by previous time series.
• If < 0
Correlation between xt1 and x t 1 , xt 1 is
predictable.
§ 2.2 Data Classification and Analysis(8)
Ex1: White process
R x t1 ,t1
R x t1 ,t1
x0 t
0
2.5
12
sample 1
sample 1
2 sample 2
sample 2
sample 3
10 sample 3
1.5
8 1
0.5
x(t)
6
x(t)
4 -0.5
-1
2
-1.5
0
-2
-2 -2.5
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
Time t Time t
§ 2.3 Stationary and Nonstationary Data(2)
2. Definition and Sense of Stationarity
(1) Mathematical definition
Statistical information obtained by (average)
estimators are invariant w.r.t. time.
Stationarity check:
x t1 x t2 x t3 x t j
Almost a constant (independent of time)
t1 t2 t3 2 t j
2
x
2
x
2
x x
Almost a constant (independent of time)
Rx , t1 Rx , t2 Rx , t3 Rx , t j
Almost a constant (independent of time)
Deterministic Stochastic
Transient Nonstationary
3 0.4
2
0.3
2
1 0.2
1
0.1
0
-1
= 0
+ 0
-0.1
-1
-2
-0.2
-2
-3 -0.3
-4 -3 -0.4
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
3.6 3 0.3
3.4
0.2
2.8
3.2
3 0.1
2.6
2.8
0
2.6
2.4 = 2.4
2.2
+ -0.1
2.2 -0.2
2
2
-0.3
1.8
3 6 0.5
0.4
2 5
0.3
1 4 0.2
0.1
0
-
= 3
-
0
2 0.1
1
-
- 0.2
1
2 -
0.3
- -
0- 1 1
3- 0 5 10 15 0 5 0.4 1 2 3 4 5 6 7 8 9 10
5 5 0 5
Stochastic Stochastic
L.T.I
Input Output
Transfer function
§ 2.3 Stationary and Nonstationary Data(9)
L.T.I. System
Input is stationary
§ 2.4 Ergodic and Non-ergodic Data(1)
1. Issues with Ensemble Average
Sample 1
Sample 2
Sample 3
t1 t2
§ 2.4 Ergodic and Non-ergodic Data(2)
Realization issue
…
…
Synchronized operation, identical macro system, same
operational environment.
§ 2.4 Ergodic and Non-ergodic Data(3)
2. Definition of Ergodic Process
Time average is equal to ensemble average
(a) Nonstationary
x(tj) x(tj)
Average Average
§ 2.4 Ergodic and Non-ergodic Data(4)
(b)Stationary
o x
t1 t2 t3 t4 t5 t t1 t2 t3 t
# # # #
1 t 2 t 3 t 4 t
... ...
#1 t
t1 tN
... ...
#2 t
tN+1 t2N
... ...
#3 t
t2N+1 t3N
... ...
#4 t
t3N+1 t4N
§ 2.4 Ergodic and Non-ergodic Data(7)
4. Phase Plane Representation of Ergodic Process
x(t ,ω )
t
§ 2.4 Ergodic and Non-ergodic Data(8)
4. Engineering use of Ergodic Properties
(a) Qualification
Check stationarity
Ergodic hypothesis
Design and verification
Acceptance in performance
(b) Time average for replace ensemble average
1 M
x k lim xk t j
M M j 1
Rx , k lim
1 M
xk t j xk t j
M M j 1