Professional Documents
Culture Documents
Probability
Week 01 Lecture 01
EEE 25: Probability and Statistics
for Electrical and Electronics Engineers
Today
Errors in Measurement
Descriptive Statistics
Frequency Distribution
Stochastic Experiments
Events
Probabilities
Week 01 Lecture 01: Statistics & Data Analysis, Probability
EEE 25: Probability and Statistics for E&E Engineers
Sample
Subset of the population
Characteristics of the sample will vary depending on the
values and number of samples taken
Example
Battery lifetime in hours
Individuals who received a BS in engineering in the
previous academic year
Significant Figures
All the digits that are certain plus one digit which
contains some uncertainty are said to be significant
figures.
Examples:
1.00
0.25
0.05
Rounding Off
Rule 1: If the remainder beyond the last digit to be
reported is less than 5, drop the last digit.
Rule 2: If the remainder beyond the last digit is
greater than 5, increase the last digit by 1.
Rule 3: If the remainder is exactly 5, round off to the
closest even number.
Kinds of Errors
Determinate
can be attributed to definite causes
methodic, operative or instrumental
Example: weighing with uncalibrated weights
Indeterminate
cannot be attributed to any known cause
Descriptive Statistics
Descriptive statistics
the analysis of data that helps describe, show or summarize
data in a meaningful way
a way of describing the characteristics of a large
collection of data by using a subset of it
1 n
x = xi
n i =1
x =sample mean
n=number of observations in the sample
xi =the i - th observation in the sample
Week 01 Lecture 01: Statistics & Data Analysis, Probability
EEE 25: Probability and Statistics for E&E Engineers
%
x(n+1) 2 ,
if n is odd
'
x! = & 1
' !" xn 2 + x(n 2)+1 #$, if n is even
( 2
10
11
Example
20
20
80
40
10
60
60
100
80
70
10
10
70
40
90
50
100
70
60
10
10
60
10
50
70
80
50
80
50
60
70
20
90
60
70
60
10
80
60
60
20
20
30
40
70
50
70
100
10
60
Mean
Median
Mode
12
Example
10
20
50
60
80
10
20
50
60
80
10
20
60
70
80
10
30
60
70
80
10
40
60
70
80
10
40
60
70
90
10
40
60
70
90
10
50
60
70
100
20
50
60
70
100
20
50
60
70
100
Mean
52.40
Median
60
Mode
60
13
Example
Mean
Median
Mode
14
Example
VALUE
FREQUENCY
1
2
3
4
5
6
7
8
9
10
2
7
4
4
1
7
9
7
4
7
15
Example
VALUE
FREQUENCY
VALUE FREQ
LAST POSITION
1
2
3
4
5
6
7
8
9
10
2
7
4
4
1
7
9
7
4
7
52
2
14
12
16
5
42
63
56
36
70
316
2
9
13
17
18
25
34
41
45
52
16
Example
Mean
6.08
Median
Mode
17
Measures of Variability
The measure of center reveals only partial
information about a data set
Example: same mean/median, different spread
18
Measures of Variability
The range of a sample is the difference between the
highest and the lowest values of data
Sensitive to outliers
19
Measures of Variability
Population variance, 2
N
( x )
2 =
i=1
Sample variance, s2
n
( x x )
s2 =
i=1
n 1
20
21
22
Set Definitions
a is an element of set A, a A
a is not an element of A, a A
B is a subset of A, BA
B is a proper subset of A, BA
is a null set
23
Set Definitions
A = {x|0 x 1}
uncountable and infinite
B = {0,1}
countable and finite
N = {0,1,2,...}
countably infinite
24
Venn Diagram
25
Set Operations
If A B and B A, then A = B (equal)
A B contains all elements in A that are not in B
(difference)
~A (or A) is the set of all elements not in A
(complement)
26
Set Operations
Commutative law
AB = B A
AB = B A
Distributive law
A ( B C ) = ( A B) ( A C )
A ( B C ) = ( A B) ( A C )
Associative law
A ( B C ) = ( A B) C
A ( B C ) = ( A B) C
Week 01 Lecture 01: Statistics & Data Analysis, Probability
EEE 25: Probability and Statistics for E&E Engineers
27
DeMorgans Law
( A B) = A B
( A B) = A B
Duality Principle: If, in an identity, one replaces
by , by , S by , by S, and the sets by their
complements, the identity is preserved.
28
Events
Description
An event is certain to occur
An event that is impossible
Event A does not occur
Both events A and B occur
Either A or B or both occurs
If A occurs then B must also
occur
A and B are disjoint
~A
AB
AB
AB
AB=
29
Probability
Given an experiment and a sample space S, the
objective of probability is to assign to each event A
a number P(A), called the probability of the event
A, which will give a precise measure of the chance
that A will occur.
30
Axioms of Probability
AXIOM 1: For any event A , 1 P(A) 0 .
AXIOM 2: P(S) = 1.
AXIOM 3: If A1, A2, A3, is an infinite collection of
disjoint events, then
P ( A1 A2 A3 !) = P ( A1 ) + P ( A2 ) + P ( A3 ) +!
31
( )
P E = 1 P ( E )
S
E
x
y
32
P (E F ) = P (E) + P (F ) P (E F )
S
F
E
x
y
z
33
E2
E1
a
d
j
g
c
f
E3
34
Example
A coin is tossed twice.
What is the sample space?
What is the probability that at least 1 head occurs?
35
Example
What is the probability of getting a total of 7 or 11
when a pair of fair dice is tossed?
What is the sample space?
Let event A = total is 7. What is P(A)?
Let event B = total is 11. What is P(B)?
What is P(A or B)?
36
Homework
A box contains three 9-V batteries and two 1.5-V
batteries. A second box contains three 1-k
resistors and seven 10-k resistors. The voltages
and resistances are exact.
A battery from the first box and a resistor from the
second box are picked at random. The two are
connected to form a working circuit.
37
Homework
What is the probability that the battery chosen is
9V?
What is the probability that the resistor chosen is
10k?
What is the probability that the current is equal to
1.5 mA?
What is the probability that the current through the
circuit is less than 1 mA?
38
39