-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChap_4.html
1825 lines (1442 loc) · 75.6 KB
/
Chap_4.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="author" content="I.T. Young & R. Ligteringen">
<link rel="shortcut icon" href="images/favicon.png">
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.0.2">
<title>4. Characterization of Random Signals - Introduction to Stochastic Signal Processing</title>
<link rel="stylesheet" href="assets/stylesheets/main.38780c08.min.css">
<link rel="stylesheet" href="assets/stylesheets/palette.3f72e892.min.css">
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Georgia:300,400,400i,700%7CCourier&display=fallback">
<style>body,input{font-family:"Georgia",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Courier",SFMono-Regular,Consolas,Menlo,monospace}</style>
<link rel="stylesheet" href="css/extra.css">
<link rel="stylesheet" href="css/imgtxt.css">
<link rel="stylesheet" href="css/tables.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8LE8Z88MMP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-8LE8Z88MMP');
</script>
</head>
<body dir="ltr" data-md-color-scheme="" data-md-color-primary="none" data-md-color-accent="none">
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer"></label>
<div data-md-component="skip">
<a href="#characterization-of-random-signals" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
</div>
<!-- Application header -->
<header class="md-header" data-md-component="header">
<!-- Top-level navigation -->
<nav class="md-header-nav md-grid" aria-label="Header">
<!-- Link to home -->
<a
href=""
title="Introduction to Stochastic Signal Processing"
class="md-header-nav__button md-logo"
aria-label="Introduction to Stochastic Signal Processing"
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
<!--
Insert an <img> here as an alternative for the standard logo if desired.
Then comment out the above two lines
<img src="images/favicon.png" style="margin-top:5px; border: 0px solid lime; border-radius:5px; width:120%; height: auto;" />
-->
</a>
<!-- Button to open drawer -->
<label class="md-header-nav__button md-icon" for="__drawer">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
</label>
<!-- Header title -->
<div class="md-header-nav__title" data-md-component="header-title">
<a href="#jumpToBottom">
<span class="md-header-nav__topic">
Introduction to Stochastic Signal Processing
</span>
<span class="md-header-nav__topic">
4. Characterization of Random Signals
</span>
</a>
</div>
<!-- Button to open search dialogue -->
<label class="md-header-nav__button md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
</label>
<!-- Search interface -->
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" name="search">
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
<label class="md-search__icon md-icon" for="__search">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
</label>
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
</button>
</form>
<div class="md-search__output">
<div class="md-search__scrollwrap" data-md-scrollfix>
<div class="md-search-result" data-md-component="search-result">
<div class="md-search-result__meta">
Initializing search
</div>
<ol class="md-search-result__list"></ol>
</div>
</div>
</div>
</div>
</div>
<!-- Repository containing source -->
</nav>
</header>
<div class="md-container" data-md-component="container">
<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="" title="Introduction to Stochastic Signal Processing" class="md-nav__button md-logo" aria-label="Introduction to Stochastic Signal Processing">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
<!--
Insert an <img> here as an alternative for the standard logo if desired.
Then comment out the above two lines
<img src="images/favicon.png" style="margin-top:5px; border: 0px solid lime; border-radius:5px; width:120%; height: auto;" />
-->
</a>
Introduction to Stochastic Signal Processing
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="Chap_1.html" class="md-nav__link">
1. How to use this iBook
</a>
</li>
<li class="md-nav__item">
<a href="Chap_2.html" class="md-nav__link">
2. Prologue
</a>
</li>
<li class="md-nav__item">
<a href="Chap_3.html" class="md-nav__link">
3. Introduction
</a>
</li>
<li class="md-nav__item md-nav__item--active">
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
<label class="md-nav__link md-nav__link--active" for="__toc">
4. Characterization of Random Signals
<span class="md-nav__icon md-icon"></span>
</label>
<a href="Chap_4.html" class="md-nav__link md-nav__link--active">
4. Characterization of Random Signals
</a>
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="#example-fair-chance" class="md-nav__link">
Example: Fair chance
</a>
</li>
<li class="md-nav__item">
<a href="#describing-the-ensemble-average" class="md-nav__link">
Describing the ensemble average
</a>
<nav class="md-nav" aria-label="Describing the ensemble average">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#example-average-experience" class="md-nav__link">
Example: Average experience
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#other-averages" class="md-nav__link">
Other averages
</a>
<nav class="md-nav" aria-label="Other averages">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#example-dice-money" class="md-nav__link">
Example: Dice & money
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#properties-of-averaging" class="md-nav__link">
Properties of averaging
</a>
</li>
<li class="md-nav__item">
<a href="#correlation-the-workhorse" class="md-nav__link">
Correlation – the workhorse
</a>
<nav class="md-nav" aria-label="Correlation – the workhorse">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#autocorrelation" class="md-nav__link">
Autocorrelation
</a>
</li>
<li class="md-nav__item">
<a href="#the-mechanics-of-correlations" class="md-nav__link">
The mechanics of correlations
</a>
</li>
<li class="md-nav__item">
<a href="#auto-covariance" class="md-nav__link">
Auto-covariance
</a>
</li>
<li class="md-nav__item">
<a href="#cross-correlation" class="md-nav__link">
Cross-correlation
</a>
</li>
<li class="md-nav__item">
<a href="#cross-covariance" class="md-nav__link">
Cross-covariance
</a>
<nav class="md-nav" aria-label="Cross-covariance">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#example-is-that-coin-fair" class="md-nav__link">
Example: Is that coin fair?
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#describing-the-time-average" class="md-nav__link">
Describing the time average
</a>
</li>
<li class="md-nav__item">
<a href="#the-ergodic-process" class="md-nav__link">
The ergodic process
</a>
</li>
<li class="md-nav__item">
<a href="#problems" class="md-nav__link">
Problems
</a>
<nav class="md-nav" aria-label="Problems">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#problem-41" class="md-nav__link">
Problem 4.1
</a>
</li>
<li class="md-nav__item">
<a href="#problem-42" class="md-nav__link">
Problem 4.2
</a>
</li>
<li class="md-nav__item">
<a href="#problem-43" class="md-nav__link">
Problem 4.3
</a>
</li>
<li class="md-nav__item">
<a href="#problem-44" class="md-nav__link">
Problem 4.4
</a>
</li>
<li class="md-nav__item">
<a href="#problem-45" class="md-nav__link">
Problem 4.5
</a>
</li>
<li class="md-nav__item">
<a href="#problem-46" class="md-nav__link">
Problem 4.6
</a>
</li>
<li class="md-nav__item">
<a href="#problem-47" class="md-nav__link">
Problem 4.7
</a>
</li>
<li class="md-nav__item">
<a href="#problem-48" class="md-nav__link">
Problem 4.8
</a>
</li>
<li class="md-nav__item">
<a href="#problem-49" class="md-nav__link">
Problem 4.9
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#laboratory-exercises" class="md-nav__link">
Laboratory Exercises
</a>
<nav class="md-nav" aria-label="Laboratory Exercises">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#laboratory-exercise-41" class="md-nav__link">
Laboratory Exercise 4.1
</a>
</li>
<li class="md-nav__item">
<a href="#laboratory-exercise-42" class="md-nav__link">
Laboratory Exercise 4.2
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="Chap_5.html" class="md-nav__link">
5. Correlations and Spectra
</a>
</li>
<li class="md-nav__item">
<a href="Chap_6.html" class="md-nav__link">
6. Filtering of Stochastic Signals
</a>
</li>
<li class="md-nav__item">
<a href="Chap_7.html" class="md-nav__link">
7. The Langevin Equation – A Case Study
</a>
</li>
<li class="md-nav__item">
<a href="Chap_8.html" class="md-nav__link">
8. Characterizing Signal-to-Noise Ratios
</a>
</li>
<li class="md-nav__item">
<a href="Chap_9.html" class="md-nav__link">
9. The Matched Filter
</a>
</li>
<li class="md-nav__item">
<a href="Chap_10.html" class="md-nav__link">
10. The Wiener filter
</a>
</li>
<li class="md-nav__item">
<a href="Chap_11.html" class="md-nav__link">
11. Aspects of Estimation
</a>
</li>
<li class="md-nav__item">
<a href="Chap_12.html" class="md-nav__link">
12. Spectral Estimation
</a>
</li>
<li class="md-nav__item">
<a href="Chap_13.html" class="md-nav__link">
Appendices
</a>
</li>
<li class="md-nav__item">
<a href="info.html" class="md-nav__link">
Information
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="#example-fair-chance" class="md-nav__link">
Example: Fair chance
</a>
</li>
<li class="md-nav__item">
<a href="#describing-the-ensemble-average" class="md-nav__link">
Describing the ensemble average
</a>
<nav class="md-nav" aria-label="Describing the ensemble average">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#example-average-experience" class="md-nav__link">
Example: Average experience
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#other-averages" class="md-nav__link">
Other averages
</a>
<nav class="md-nav" aria-label="Other averages">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#example-dice-money" class="md-nav__link">
Example: Dice & money
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#properties-of-averaging" class="md-nav__link">
Properties of averaging
</a>
</li>
<li class="md-nav__item">
<a href="#correlation-the-workhorse" class="md-nav__link">
Correlation – the workhorse
</a>
<nav class="md-nav" aria-label="Correlation – the workhorse">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#autocorrelation" class="md-nav__link">
Autocorrelation
</a>
</li>
<li class="md-nav__item">
<a href="#the-mechanics-of-correlations" class="md-nav__link">
The mechanics of correlations
</a>
</li>
<li class="md-nav__item">
<a href="#auto-covariance" class="md-nav__link">
Auto-covariance
</a>
</li>
<li class="md-nav__item">
<a href="#cross-correlation" class="md-nav__link">
Cross-correlation
</a>
</li>
<li class="md-nav__item">
<a href="#cross-covariance" class="md-nav__link">
Cross-covariance
</a>
<nav class="md-nav" aria-label="Cross-covariance">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#example-is-that-coin-fair" class="md-nav__link">
Example: Is that coin fair?
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#describing-the-time-average" class="md-nav__link">
Describing the time average
</a>
</li>
<li class="md-nav__item">
<a href="#the-ergodic-process" class="md-nav__link">
The ergodic process
</a>
</li>
<li class="md-nav__item">
<a href="#problems" class="md-nav__link">
Problems
</a>
<nav class="md-nav" aria-label="Problems">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#problem-41" class="md-nav__link">
Problem 4.1
</a>
</li>
<li class="md-nav__item">
<a href="#problem-42" class="md-nav__link">
Problem 4.2
</a>
</li>
<li class="md-nav__item">
<a href="#problem-43" class="md-nav__link">
Problem 4.3
</a>
</li>
<li class="md-nav__item">
<a href="#problem-44" class="md-nav__link">
Problem 4.4
</a>
</li>
<li class="md-nav__item">
<a href="#problem-45" class="md-nav__link">
Problem 4.5
</a>
</li>
<li class="md-nav__item">
<a href="#problem-46" class="md-nav__link">
Problem 4.6
</a>
</li>
<li class="md-nav__item">
<a href="#problem-47" class="md-nav__link">
Problem 4.7
</a>
</li>
<li class="md-nav__item">
<a href="#problem-48" class="md-nav__link">
Problem 4.8
</a>
</li>
<li class="md-nav__item">
<a href="#problem-49" class="md-nav__link">
Problem 4.9
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#laboratory-exercises" class="md-nav__link">
Laboratory Exercises
</a>
<nav class="md-nav" aria-label="Laboratory Exercises">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#laboratory-exercise-41" class="md-nav__link">
Laboratory Exercise 4.1
</a>
</li>
<li class="md-nav__item">
<a href="#laboratory-exercise-42" class="md-nav__link">
Laboratory Exercise 4.2
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-content">
<article class="md-content__inner md-typeset">
<h1 id="characterization-of-random-signals">Characterization of Random Signals<a class="headerlink" href="#characterization-of-random-signals" title="Permanent link">¶</a></h1>
<p>Because it is impossible for us to specify what a random signal will be at any one instant, let alone for all <span class="arithmatex">\(t\)</span> or <span class="arithmatex">\(n\)</span>, we have to settle for a description based upon <em>average</em> properties of the signal. There are a variety of definitions associated with the use of the word “average” (including “not very good”). In the context of this book we will focus on the concept as related to a number or property that is considered as representative of a collection of numbers such as those encountered in a signal.</p>
<p>Consider, for example, the flipping of a coin.</p>
<h4 id="example-fair-chance">Example: Fair chance<a class="headerlink" href="#example-fair-chance" title="Permanent link">¶</a></h4>
<p>We map Heads into +1 and Tails into –1 giving: </p>
<figure class="figaltcap" id="figcoin_flipping"><img src="images/Fig_4_1.png" /><figcaption><strong>Figure 4.1:</strong> One realization of a coin-flipping experiment with Heads mapped to +1 and Tails mapped to –1</figcaption>
</figure>
<p>We might imagine computing the (arithmetic) average<sup id="fnref:average"><a class="footnote-ref" href="#fn:average">1</a></sup> over <span class="arithmatex">\(2N + 1\)</span> samples as:</p>
<div class="" id="eq:arith_avg">
<table class="eqTable">
<tr>
<td class="eqTableTag">(4.1)</td>
<td class="eqTableEq">
<div>$$
< x[n]{ > _{2N + 1}} = \frac{1}{{2N + 1}}\left( {\sum\limits_{n = - N}^{ + N} {x[n]} } \right)
$$</div>
</td>
</tr>
</table>
</div>
<p>In the above example:</p>
<p> For <span class="arithmatex">\(N = 1 \to < x[n]{ > _3} = 1\)</span></p>
<p> For <span class="arithmatex">\(N = 2 \to < x[n]{ > _5} = 1/5\)</span></p>
<p> For <span class="arithmatex">\(N = 3 \to < x[n]{ > _7} = 3/7\)</span></p>
<p>We “expect” for a “fair coin” that if <span class="arithmatex">\(N\)</span> is large then <span class="arithmatex">\(< x[n]{ > _{2N + 1}} \approx 0\)</span> because there will be just as many +1’s in the sum as –1’s.</p>
<p>Another way to compute the average is based upon knowledge of the distribution of <span class="arithmatex">\(p(x[n])\)</span> and is termed <em>ensemble averaging</em>. Instead of flipping one coin <span class="arithmatex">\(N\)</span> times we could flip <span class="arithmatex">\(N\)</span> coins once.</p>
<p>We then count the number of Heads <span class="arithmatex">\(\left( {{n_H}} \right)\)</span> and the number of Tails <span class="arithmatex">\(\left( {{n_T} = N - {n_H}} \right)\)</span>. Our estimate of the probability of Heads would then be <span class="arithmatex">\(p(H) = {n_H}/N\)</span> and the probability of Tails as <span class="arithmatex">\(p(T) = {n_T}/N = 1 - {n_H}/N\)</span>. Again for large values of <span class="arithmatex">\(N\)</span> and a “fair coin” we expect just as many Heads as Tails and this means <span class="arithmatex">\(p(H) = p(T) = 1/2\)</span>. This method and stochastic signals associated with this method are explored in <a href="#laboratory-exercise-41">Laboratory Exercise 4.1</a>.</p>
<p>By examining the probability of all the possible outcomes—in this case with a coin just two but in the case of a die six—we can develop a model for a probability distribution that describes the possible values of our random variable. And by associating numerical values to the variable, such as Heads <span class="arithmatex">\(\rightarrow\)</span> +1 and Tails <span class="arithmatex">\(\rightarrow\)</span> –1, we can compute averages.</p>
<h2 id="describing-the-ensemble-average">Describing the ensemble average<a class="headerlink" href="#describing-the-ensemble-average" title="Permanent link">¶</a></h2>
<p>How do we do this? Returning to a statement above, we seek a number that is representative of a collection of random numbers. Let us assume that we have either a formal mathematical model of the random process that has generated the random numbers or we have collected sufficient data to have an excellent estimate of that probability distribution (or density) function. Either way we can depict—with confidence—the probability that the random variable <span class="arithmatex">\(x\)</span> can take on a specific value <span class="arithmatex">\(m\)</span> at time <span class="arithmatex">\(n\)</span>. Such a probability distribution is shown in <a href="#figdressed_Poisson">Figure 4.2</a>.</p>
<figure class="figaltcap" id="figdressed_Poisson"><img src="images/Fig_4_2.png" /><figcaption><strong>Figure 4.2:</strong> Determining a representative number from a probability distribution. The distribution shown is a Poisson distribution.</figcaption>
</figure>
<p>If a single number is to characterize this distribution, a reasonable requirement is that the number provides a “balanced” description. From the domain of physics this has a specific meaning, the center-of-mass of a body with mass distribution, <span class="arithmatex">\(m(\vec p).\)</span> The classical distribution of mass, as we know, is a non-negative function of the position vector <span class="arithmatex">\(\vec p.\)</span> In that sense it is similar to a probability distribution. Finding the center-of-mass is equivalent to finding the position where the mass can be balanced. This is illustrated in <a href="#figbalancing">Figure 4.3</a>.</p>
<figure class="figaltcap" id="figbalancing"><img src="images/Fig_4_3.gif" /><figcaption><strong>Figure 4.3:</strong> Determining a representative number from a mass (or probability) distribution. When the mass is distributed around the center-of-mass the object is balanced. When another position is chosen, unexpected and possibly unpleasant things can happen.</figcaption>
</figure>
<p>The mathematics associated with the calculation of the center-of-mass involve either <span class="arithmatex">\(\int {\vec p} \,m(\vec p)d\vec p\)</span> for a continuous (in space) distribution of mass or <span class="arithmatex">\(\sum {{{\vec p}_i}} \,m({\vec p_i})\)</span> for a discrete (in space) distribution of mass. See Sections I-18 and I-19 of Feynman<sup id="fnref:feynman1963"><a class="footnote-ref" href="#fn:feynman1963">2</a></sup>.</p>
<p>It is but a short step to replace mass distribution (continuous or discrete) with a probability distribution (continuous or discrete) to define a number, the average, which is representative of a collection of random numbers. Indeed, this is the approach presented in Section 15.2 of Cramér<sup id="fnref:cramer1946"><a class="footnote-ref" href="#fn:cramer1946">3</a></sup>. This leads to a formal definition of averaging as:</p>
<div class="" id="eq:avg_def">
<table class="eqTable">
<tr>
<td class="eqTableTag">(4.2)</td>
<td class="eqTableEq">
<div>$$
E \left\{ {x[n]} \right\} = \int\limits_{ - \infty }^{ + \infty } {x\,{p_{x[n]}}(x,n)dx = {m_{x[n]}}}
$$</div>
</td>
</tr>
</table>
</div>
<p>When the determination of an average is based upon the use of the probability distribution, it is referred to as an <em>ensemble average</em><sup id="fnref:ensembleaverage"><a class="footnote-ref" href="#fn:ensembleaverage">4</a></sup>.</p>
<p>Here we take into consideration that the average or <em>mean</em> may depend on <span class="arithmatex">\(n.\)</span> (See, for instance, the even<em>/</em>odd mixed example above. In that example the probability distribution that is to be used in computing the average depends upon whether <span class="arithmatex">\(n\)</span> is even or odd.)</p>
<p>It may seem strange to see an integral in <a href="Chap_4.html#eq:avg_def">Equation 4.2</a> when we are talking about discrete-time signals. We should remember, however, that although time is discrete the values of the random variable need not be. They can, in principle, be complex numbers <span class="arithmatex">\({\Bbb C}\)</span>, real numbers <span class="arithmatex">\({\Bbb R}\)</span>, or integers <span class="arithmatex">\({\Bbb Z}\)</span>. The average value is computed over all possible values of the random variable of the amplitude <span class="arithmatex">\(x\)</span>.</p>
<p>It is possible that a sum can be used instead of an integral. In <a href="#example-average-experience">Example: Average Experience</a>, we see that the possible values of the random variable are indexed <span class="arithmatex">\(i = 1, \ldots ,6\)</span> in which case a sum is used. Another example is given in <a href="#problem-41">Problem 4.1</a> where <span class="arithmatex">\(i = - \infty , \ldots ,0, \ldots , + \infty\)</span> and a sum is again required. But in the most general formulation of averaging an integral is used<sup id="fnref:sumformulation"><a class="footnote-ref" href="#fn:sumformulation">5</a></sup>.</p>
<p>For many problems that occur—<em>including those that we plan to focus on here</em>—the random processes are <em>stationary</em>. This means that averages are in an equilibrium condition that is invariant to a shift in time. In a stationary die experiment we should obtain the same results (averages) whether the experiment is performed yesterday, today, or next year. For the mean value given above this would imply a value independent of the time origin:</p>
<div class="" id="eq:stat_avg">
<table class="eqTable">
<tr>
<td class="eqTableTag">(4.3)</td>
<td class="eqTableEq">
<div>$$
{m_{x[n]}} = {m_{x[n + k]}} = {m_{x[\ell ]}} = {m_x}
$$</div>
</td>
</tr>
</table>
</div>
<p>The mean value of the random process <span class="arithmatex">\(x[n]\)</span> at time <span class="arithmatex">\(n\)</span> is the same as at time <span class="arithmatex">\(n + k.\)</span> But this second time has its own “name” <span class="arithmatex">\(\ell.\)</span> This implies that the mean value is independent of time and is simply <span class="arithmatex">\({m_x},\)</span> that is, stationary.</p>
<h4 id="example-average-experience">Example: Average experience<a class="headerlink" href="#example-average-experience" title="Permanent link">¶</a></h4>
<p>For our die experiment, where the number of possible outcomes can be indexed, we can use a version of the average based upon a sum:</p>
<div class="" id="eq:die_avg">
<table class="eqTable">
<tr>
<td class="eqTableTag">(4.4)</td>
<td class="eqTableEq">
<div>$$
E\left\{ x \right\} = \sum\limits_{i = 1}^6 {{x_i}p({x_i})} = 1\left( {\frac{1}{6}} \right) + 2\left( {\frac{1}{6}} \right) + \ldots + 6\left( {\frac{1}{6}} \right) = \frac{7}{2} = {m_x}
$$</div>
</td>
</tr>
</table>
</div>
<h2 id="other-averages">Other averages<a class="headerlink" href="#other-averages" title="Permanent link">¶</a></h2>
<p>Other averages might, in general, be written as:</p>
<div class="" id="eq:meansq_def">
<table class="eqTable">
<tr>
<td class="eqTableTag">(4.5)</td>
<td class="eqTableEq">
<div>$$
Mean\;square = E\left\{ {{x^2}[n]} \right\} = \int\limits_{ - \infty }^{ + \infty } {{x^2}p(x[n])dx}
$$</div>
</td>
</tr>
</table>
</div>
<div class="" id="eq:arbitrary_mean_def">
<table class="eqTable">
<tr>
<td class="eqTableTag">(4.6)</td>
<td class="eqTableEq">
<div>$$