Fun and Easy Kalman filter Tutorial - Using Pokemon ExampleRitesh Kanjee
Why You Should Use The Kalman Filter Tutorial- #Pokemon Example
Kalman filtering, also known as linear quadratic estimation, is an algorithm that uses a series of measurements observed over time, containing statistical noise and other inaccuracies, and produces estimates of unknown variables that tend to be more precise than those based on a single measurement alone, by using Bayesian inference and estimating a joint probability distribution over the variables for each timeframe. The filter is named after Rudolf E. Kálmán, one of the primary developers of its theory.
This tutorial breaks down the components of the Kalman filter making easy for anyone to understand. It introduces you to the concepts of the Kalman filter using the pokemon analogy.
To learn more on PCB Design, Kalman Filter Tutorial and FPGA's then Check out
http://www.arduinostartups.com/
Please like and Subscribe for more videos :)
This presentation is intended for giving an introduction to Genetic Algorithm. Using an example, it explains the different concepts used in Genetic Algorithm. If you are new to GA or want to refresh concepts , then it is a good resource for you.
Fun and Easy Kalman filter Tutorial - Using Pokemon ExampleRitesh Kanjee
Why You Should Use The Kalman Filter Tutorial- #Pokemon Example
Kalman filtering, also known as linear quadratic estimation, is an algorithm that uses a series of measurements observed over time, containing statistical noise and other inaccuracies, and produces estimates of unknown variables that tend to be more precise than those based on a single measurement alone, by using Bayesian inference and estimating a joint probability distribution over the variables for each timeframe. The filter is named after Rudolf E. Kálmán, one of the primary developers of its theory.
This tutorial breaks down the components of the Kalman filter making easy for anyone to understand. It introduces you to the concepts of the Kalman filter using the pokemon analogy.
To learn more on PCB Design, Kalman Filter Tutorial and FPGA's then Check out
http://www.arduinostartups.com/
Please like and Subscribe for more videos :)
This presentation is intended for giving an introduction to Genetic Algorithm. Using an example, it explains the different concepts used in Genetic Algorithm. If you are new to GA or want to refresh concepts , then it is a good resource for you.
In ancient cultures the favorite question of sishya to his guru was "Who Am I?" and in the end he learnt everything about Reality. If you want a similar question in mathematics, ask "Is Riemann Hypothesis true?", and you will learn almost everything about mathematics. This presentation gives an elementary introduction to zeta functions using natural functions.
Linear Regression Analysis | Linear Regression in Python | Machine Learning A...Simplilearn
This Linear Regression in Machine Learning Presentation will help you understand the basics of Linear Regression algorithm - what is Linear Regression, why is it needed and how Simple Linear Regression works with solved examples, Linear regression analysis, applications of Linear Regression and Multiple Linear Regression model. At the end, we will implement a use case on profit estimation of companies using Linear Regression in Python. This Machine Learning presentation is ideal for beginners who want to understand Data Science algorithms as well as Machine Learning algorithms.
Below topics are covered in this Linear Regression Machine Learning Tutorial:
1. Introduction to Machine Learning
2. Machine Learning Algorithms
3. Applications of Linear Regression
4. Understanding Linear Regression
5. Multiple Linear Regression
6. Use case - Profit estimation of companies
What is Machine Learning: Machine Learning is an application of Artificial Intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.
- - - - - - - -
About Simplilearn Machine Learning course:
A form of artificial intelligence, Machine Learning is revolutionizing the world of computing as well as all people’s digital interactions. Machine Learning powers such innovative automated technologies as recommendation engines, facial recognition, fraud protection and even self-driving cars.This Machine Learning course prepares engineers, data scientists and other professionals with knowledge and hands-on skills required for certification and job competency in Machine Learning.
- - - - - - -
Why learn Machine Learning?
Machine Learning is taking over the world- and with that, there is a growing need among companies for professionals to know the ins and outs of Machine Learning
The Machine Learning market size is expected to grow from USD 1.03 Billion in 2016 to USD 8.81 Billion by 2022, at a Compound Annual Growth Rate (CAGR) of 44.1% during the forecast period.
- - - - - - -
Why learn Machine Learning?
Machine Learning is taking over the world- and with that, there is a growing need among companies for professionals to know the ins and outs of Machine Learning
The Machine Learning market size is expected to grow from USD 1.03 Billion in 2016 to USD 8.81 Billion by 2022, at a Compound Annual Growth Rate (CAGR) of 44.1% during the forecast period.
- - - - - - -
Who should take this Machine Learning Training Course?
We recommend this Machine Learning training course for the following professionals in particular:
1. Developers aspiring to be a data scientist or Machine Learning engineer
2. Information architects who want to gain expertise in Machine Learning algorithms
3. Analytics professionals who want to work in Machine Learning or artificial intelligence
4. Graduates looking to build a career in data science and Machine Learning
- - - - - -
In this section, we'll extend many of the definitions and concepts that we learned there to the case in which we have two random variables, say X and Y. More specifically, we will:
• extend the definition of a probability distribution of one random variable to the joint probability distribution of two random variables
• learn how to use the correlation coefficient as a way of quantifying the extent to which two random variables are linearly related
• extend the definition of the conditional probability of events in order to find the conditional probability distribution of a random variable X given that Y has occurred
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...Edureka!
** Python Data Science Training : https://www.edureka.co/python **
This Edureka Video on Logistic Regression in Python will give you basic understanding of Logistic Regression Machine Learning Algorithm with examples. In this video, you will also get to see demo on Logistic Regression using Python. Below are the topics covered in this tutorial:
1. What is Regression?
2. What is Logistic Regression?
3. Why use Logistic Regression?
4. Linear vs Logistic Regression
5. Logistic Regression Use Cases
6. Logistic Regression Example Demo in Python
Subscribe to our channel to get video updates. Hit the subscribe button above.
Machine Learning Tutorial Playlist: https://goo.gl/UxjTxm
In ancient cultures the favorite question of sishya to his guru was "Who Am I?" and in the end he learnt everything about Reality. If you want a similar question in mathematics, ask "Is Riemann Hypothesis true?", and you will learn almost everything about mathematics. This presentation gives an elementary introduction to zeta functions using natural functions.
Linear Regression Analysis | Linear Regression in Python | Machine Learning A...Simplilearn
This Linear Regression in Machine Learning Presentation will help you understand the basics of Linear Regression algorithm - what is Linear Regression, why is it needed and how Simple Linear Regression works with solved examples, Linear regression analysis, applications of Linear Regression and Multiple Linear Regression model. At the end, we will implement a use case on profit estimation of companies using Linear Regression in Python. This Machine Learning presentation is ideal for beginners who want to understand Data Science algorithms as well as Machine Learning algorithms.
Below topics are covered in this Linear Regression Machine Learning Tutorial:
1. Introduction to Machine Learning
2. Machine Learning Algorithms
3. Applications of Linear Regression
4. Understanding Linear Regression
5. Multiple Linear Regression
6. Use case - Profit estimation of companies
What is Machine Learning: Machine Learning is an application of Artificial Intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.
- - - - - - - -
About Simplilearn Machine Learning course:
A form of artificial intelligence, Machine Learning is revolutionizing the world of computing as well as all people’s digital interactions. Machine Learning powers such innovative automated technologies as recommendation engines, facial recognition, fraud protection and even self-driving cars.This Machine Learning course prepares engineers, data scientists and other professionals with knowledge and hands-on skills required for certification and job competency in Machine Learning.
- - - - - - -
Why learn Machine Learning?
Machine Learning is taking over the world- and with that, there is a growing need among companies for professionals to know the ins and outs of Machine Learning
The Machine Learning market size is expected to grow from USD 1.03 Billion in 2016 to USD 8.81 Billion by 2022, at a Compound Annual Growth Rate (CAGR) of 44.1% during the forecast period.
- - - - - - -
Why learn Machine Learning?
Machine Learning is taking over the world- and with that, there is a growing need among companies for professionals to know the ins and outs of Machine Learning
The Machine Learning market size is expected to grow from USD 1.03 Billion in 2016 to USD 8.81 Billion by 2022, at a Compound Annual Growth Rate (CAGR) of 44.1% during the forecast period.
- - - - - - -
Who should take this Machine Learning Training Course?
We recommend this Machine Learning training course for the following professionals in particular:
1. Developers aspiring to be a data scientist or Machine Learning engineer
2. Information architects who want to gain expertise in Machine Learning algorithms
3. Analytics professionals who want to work in Machine Learning or artificial intelligence
4. Graduates looking to build a career in data science and Machine Learning
- - - - - -
In this section, we'll extend many of the definitions and concepts that we learned there to the case in which we have two random variables, say X and Y. More specifically, we will:
• extend the definition of a probability distribution of one random variable to the joint probability distribution of two random variables
• learn how to use the correlation coefficient as a way of quantifying the extent to which two random variables are linearly related
• extend the definition of the conditional probability of events in order to find the conditional probability distribution of a random variable X given that Y has occurred
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...Edureka!
** Python Data Science Training : https://www.edureka.co/python **
This Edureka Video on Logistic Regression in Python will give you basic understanding of Logistic Regression Machine Learning Algorithm with examples. In this video, you will also get to see demo on Logistic Regression using Python. Below are the topics covered in this tutorial:
1. What is Regression?
2. What is Logistic Regression?
3. Why use Logistic Regression?
4. Linear vs Logistic Regression
5. Logistic Regression Use Cases
6. Logistic Regression Example Demo in Python
Subscribe to our channel to get video updates. Hit the subscribe button above.
Machine Learning Tutorial Playlist: https://goo.gl/UxjTxm
Please Subscribe to this Channel for more solutions and lectures
http://www.youtube.com/onlineteaching
Chapter 4: Probability
4.2: Addition Rule and Multiplication Rule
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Overview on Edible Vaccine: Pros & Cons with Mechanism
Ch04 Probability
1. Copyright 2011 John Wiley & Sons, Inc. 1
Copyright 2011 John Wiley & Sons, Inc.
Applied Business Statistics, 7Applied Business Statistics, 7thth
ed.ed.
by Ken Blackby Ken Black
Chapter 4Chapter 4
ProbabilityProbability
2. Copyright 2011 John Wiley & Sons, Inc. 2
Learning Objectives
Comprehend the different ways of assigning
probability.
Understand and apply marginal, union, joint, and
conditional probabilities.
Select the appropriate law of probability to use in
solving problems.
Solve problems using the laws of probability
including the laws of addition, multiplication and
conditional probability
Revise probabilities using Bayes’ rule.
3. Copyright 2011 John Wiley & Sons, Inc. 3
Probability
Probability – probability of occurrences are
assigned to the inferential process under
conditions of uncertainty
4. Copyright 2011 John Wiley & Sons, Inc. 4
Methods of Assigning Probabilities
Classical method of assigning probability
(rules and laws)
Relative frequency of occurrence
(cumulated historical data)
Subjective Probability (personal intuition
or reasoning)
5. Copyright 2011 John Wiley & Sons, Inc. 5
Number of outcomes leading to the event divided by
the total number of outcomes possible
P(E) = ne/N
where N = total number of outcomes, and
ne = number of outcomes in event E
Each outcome is equally likely
Applicable to games of chance
Objective -- everyone correctly using the method
assigns an identical probability
Classical Probability
6. Copyright 2011 John Wiley & Sons, Inc. 6
Subjective Probability - Comes from a person’s
intuition or reasoning
Subjective -- different individuals may (correctly or
incorrectly) assign different numeric probabilities to
the same event
Degree of belief in the results of the event
Useful for unique (single-trial) experiments
New product introduction
Site selection decisions
Sporting events
Subjective Probability
7. Copyright 2011 John Wiley & Sons, Inc. 7
Experiment – is a process that produces an outcome
Ex: Rolling two six-sided dice and calculating their sum
Event – an outcome of an experiment
Ex: The sum is at least 10
Elementary event – events that cannot be
decomposed or broken down into other events
Ex: The first die is a six
Sample Space – a complete roster/listing of all
elementary events for an experiment
Ex: {(1,1), (1,2), (1,3), …, (2,1), (2,2), …., (6,5), (6,6)}
Trial: one repetition of the process
Ex: Roll the dice…
Structure of Probability
8. Copyright 2011 John Wiley & Sons, Inc. 8
Mutually Exclusive Events – events such that the
occurrence of one precludes the occurrence of the
other
These events have no intersection
Independent Events – the occurrence or
nonoccurrence of one has no affect on the occurrence
of the others
Collectively Exhaustive Events – listing of all possible
elementary events for an experiment
Complementary Events – two events, one of which
comprises all the elementary events of an experiment
that are not in the other event
Structure of Probability
9. Copyright 2011 John Wiley & Sons, Inc. 9
The set of all elementary events for an experiment
Methods for describing a sample space
roster or listing
tree diagram
set builder notation
Venn diagram
Sample Space
10. Copyright 2011 John Wiley & Sons, Inc. 10
Experiment: randomly select, without replacement,
two families from the residents of Tiny Town
Each ordered pair in the sample space is an
elementary event, for example -- (D,C)
Sample Space: Roster Example
11. Copyright 2011 John Wiley & Sons, Inc. 11
S = {(x,y) | x is the family selected on the first draw,
and y is the family selected on the second draw}
Concise description of large sample spaces
Sample Space: Set Notation for
Random Sample of Two Families
12. Copyright 2011 John Wiley & Sons, Inc. 12
{ }
{ }
{ }9,7,6,5,4,3,2,1
6,5,4,3,2
9,7,4,1
=∪
=
=
YX
Y
X
{ }
{ }
{ }
C IBM DEC Apple
F Apple Grape Lime
C F IBM DEC Apple Grape Lime
=
=
∪ =
, ,
, ,
, , , ,
YX
The union of two sets contains an instance of each
element of the two sets.
Union of Sets
13. Copyright 2011 John Wiley & Sons, Inc. 13
{ }
{ }
{ }
X
Y
X Y
=
=
∩ =
1 4 7 9
2 3 4 5 6
4
, , ,
, , , ,
YX
{ }
{ }
{ }
C IBM DEC Apple
F Apple Grape Lime
C F Apple
=
=
∩ =
, ,
, ,
X ∩ Y
The intersection of two sets contains only those
element common to the two sets.
Intersection of Sets
14. Copyright 2011 John Wiley & Sons, Inc. 14
{ }
{ }
{ }
X
Y
X Y
=
=
∩ =
1 7 9
2 3 4 5 6
, ,
, , , ,
{ }
{ }
{ }=∩
=
=
FC
LimeGrapeF
AppleDECIBMC
,
,,
YX
0)( =∩ YXP
Events with no common outcomes
Occurrence of one event precludes the occurrence
of the other event
Mutually Exclusive Events
15. Copyright 2011 John Wiley & Sons, Inc. 15
Independent Events
P X Y P X and P Y X P Y( | ) ( ) ( | ) ( )= =
Occurrence of one event does not affect the
occurrence or nonoccurrence of the other event
The conditional probability of X given Y is equal to
the marginal probability of X.
The conditional probability of Y given X is equal to
the marginal probability of Y.
16. Copyright 2011 John Wiley & Sons, Inc. 16
Collectively Exhaustive Events
E1 E2 E3
Sample Space with three
collectively exhaustive events
Contains all elementary events for an experiment
17. Copyright 2011 John Wiley & Sons, Inc. 17
Complementary Events
Sample
Space
A
P Sample Space( ) = 1
P A P A( ) ( )′ = −1
′A
All elementary events not in the event ‘A’ are in its
complementary event.
18. Copyright 2011 John Wiley & Sons, Inc. 18
Counting the Possibilities
mn Rule
Sampling from a Population with Replacement
Combinations: Sampling from a Population without
Replacement
19. Copyright 2011 John Wiley & Sons, Inc. 19
mn Rule
If an operation can be done m ways and a second
operation can be done n ways, then there are mn
ways for the two operations to occur in order.
A cafeteria offers 5 salads, 4 meats, 8 vegetables, 3
breads, 4 desserts, and 3 drinks. A meal is two
servings of vegetables, which may be identical.
How many meals are available?
5 * 4 * 8 * 3 * 4 * 3 = 5760
20. Copyright 2011 John Wiley & Sons, Inc. 20
Combinations: Sampling from a
Population without Replacement
This counting method uses combinations
Selecting n items from a population of N
without replacement
21. Copyright 2011 John Wiley & Sons, Inc. 21
Combinations
Combinations – sampling “n” items from a
population size N without replacement provides the
formula shown below
A tray contains 1,000 individual tax returns. If 3
returns are randomly selected without replacement
from the tray, how many possible samples are there?
0166,167,00
)!31000(!3
!1000
)!(!
!
=
−
=
−
=
=
nNn
N
n
N
Crn
22. Copyright 2011 John Wiley & Sons, Inc. 22
Combinations: Sampling from a
Population without Replacement
For example, suppose a small law firm has 16
employees and three are to be selected randomly to
represent the company at the annual meeting of the
American Bar Association.
How many different combinations of lawyers could
be sent to the meeting?
Answer: NCn= 16C3= 16!/(3!×13!) = 560.
23. Copyright 2011 John Wiley & Sons, Inc. 23
Four Types of Probability
Marginal
The probability
of X occurring
Union
The probability
of X or Y
occurring
Joint
The probability
of X and Y
occurring
Conditional
The probability
of X occurring
given that Y
has occurred
YX YX
Y
X
)(XP P X Y( )∪ P X Y( )∩ P X Y( | )
24. Copyright 2011 John Wiley & Sons, Inc. 24
General Law of Addition
P X Y P X P Y P X Y( ) ( ) ( ) ( )∪ = + − ∩
YX
25. Copyright 2011 John Wiley & Sons, Inc. 25
General Law of Addition -- Example
)()()()( SNPSPNPSNP ∩−+=∪
81.0
56.67.70.)(
56.)(
67.)(
70.)(
=
−+=∪
=∩
=
=
SNP
SNP
SP
NPSN
.56
.67.70
26. Copyright 2011 John Wiley & Sons, Inc. 26
81.
56.67.70.
)()()()(
=
−+=
∩−+=∪ SNPSPNPSNP
.11 .19 .30
.56 .14 .70
.67 .33 1.00
Increase
Storage Space
Yes No Total
Yes
No
Total
Noise
Reduction
Office Design Problem Probability Matrix
27. Copyright 2011 John Wiley & Sons, Inc. 27
If a worker is randomly selected from the company
described in Demonstration Problem 4.1 (below),
what is the probability that the worker is either
technical or clerical? What is the probability that the
worker is either a professional or a clerical?
Demonstration Problem 4.3
Type of Gender
Position Male Female Total
Managerial 8 3 11
Professional 31 13 44
Technical 52 17 69
Clerical 9 22 31
Total 100 55 155
28. Copyright 2011 John Wiley & Sons, Inc. 28
Examine the raw value matrix of the company’s human
resources data shown in Demonstration Problem 4.1. In
many raw value and probability matrices like this one, the
rows are non-overlapping or mutually exclusive, as are
the columns. In this matrix, a worker can be classified as
being in only one type of position and as either male or
female but not both. Thus, the categories of type of
position are mutually exclusive, as are the categories of
sex, and the special law of addition can be applied to the
human resource data to determine the union
probabilities.
Demonstration Problem 4.3
29. Copyright 2011 John Wiley & Sons, Inc. 29
Demonstration Problem 4.3
Let T denote technical, C denote clerical, and P denote
professional. The probability that a worker is either
technical or clerical is
P(T U C) = P (T) + P (C) = 69/155 + 31/155 = 100/155 = .645
The probability that a worker is either professional or
clerical is
P (P U C) = P (P) + P (C) = 44/155 + 31/155 = 75/155 = .484
30. Copyright 2011 John Wiley & Sons, Inc. 30
P T C P T P C( ) ( ) ( )
.
∪ = +
= +
=
69
155
31
155
645
Demonstration Problem 4.3
Type of Gender
Position Male Female Total
Managerial 8 3 11
Professional 31 13 44
Technical 52 17 69
Clerical 9 22 31
Total 100 55 155
31. Copyright 2011 John Wiley & Sons, Inc. 31
Type of Gender
Position Male Female Total
Managerial 8 3 11
Professional 31 13 44
Technical 52 17 69
Clerical 9 22 31
Total 100 55 155
P P C P P P C( ) ( ) ( )
.
∪ = +
= +
=
44
155
31
155
484
Demonstration Problem 4.3
32. Copyright 2011 John Wiley & Sons, Inc. 32
)|()()|()()( YXPYPXYPXPYXP ⋅=⋅=∩
P M
P S M
P M S P M P S M
( ) .
( | ) .
( ) ( ) ( | )
( . )( . ) .
= =
=
∩ = ⋅
= =
80
140
0 5714
0 20
0 5714 0 20 0 1143
Law of Multiplication
Demonstration Problem 4.5
33. Copyright 2011 John Wiley & Sons, Inc. 33
Law of Multiplication
The intersection of two events is called the joint
probability
General law of multiplication is used to find the joint
probability
General law of multiplication gives the probability
that both events x and y will occur at the same time
P(x|y) is a conditional probability that can be stated
as the probability of x given y
34. Copyright 2011 John Wiley & Sons, Inc. 34
Law of Multiplication
If a probability matrix is constructed for a problem,
the easiest way to solve for the joint probability is to
find the appropriate cell in the matrix and select the
answer
35. Copyright 2011 John Wiley & Sons, Inc. 35
Total
.7857
Yes No
.4571 .3286
.1143 .1000 .2143
.5714 .4286 1.00
Married
Yes
No
Total
Supervisor
Probability Matrix
of Employees
20.0)|(
5714.0
140
80
)(
2143.0
140
30
)(
=
==
==
MSP
MP
SP
P M S P M P S M( ) ( ) ( | )
( . )( . ) .
∩ = ⋅
= =0 5714 0 20 0 1143
Law of Multiplication
Demonstration Problem 4.5
36. Copyright 2011 John Wiley & Sons, Inc. 36
Law of Conditional Probability
If X and Y are two events, the conditional probability
of X occurring given that Y is known or has occurred
is expressed as P(X|Y)
The conditional probability of X given Y is the joint
probability of X and Y divided by the marginal
probability of Y.
)(
)()|(
)(
)(
)|(
YP
XPXYP
YP
YXP
YXP
⋅
=
∩
=
37. Copyright 2011 John Wiley & Sons, Inc. 37
Law of Conditional Probability - Example
70% of respondents believe noise reduction would
improve productivity.
56% of respondents believed both noise reduction
and increased storage space would improve
productivity
A worker is selected randomly and asked about
changes in the office design
What is the probability that a randomly selected
person believes storage space would improve
productivity given that the person believes noise
reduction improves productivity?
38. Copyright 2011 John Wiley & Sons, Inc. 38
P N
P N S
P S N
P N S
P N
( ) .
( ) .
( | )
( )
( )
.
.
.
=
∩ =
=
∩
=
=
70
56
56
70
80
NS
.56
.70
Law of Conditional Probability
39. Copyright 2011 John Wiley & Sons, Inc. 39
Independent Events
Recall: Two events are independent when the
occurrence of one does not affect the probability of
occurrence of the other one
When X and Y are independent, the conditional
probability is equal to the marginal probability
40. Copyright 2011 John Wiley & Sons, Inc. 40
Geographic Location
Northeast
D
Southeast
E
Midwest
F
West
G
Finance A .12 .05 .04 .07 .28
Manufacturing B .15 .03 .11 .06 .35
Communications C .14 .09 .06 .08 .37
.41 .17 .21 .21 1.00
P A G
P A G
P G
P A
P A G P A
( | )
( )
( )
.
.
. ( ) .
( | ) . ( ) .
=
∩
= = =
= ≠ =
0 07
021
033 028
0 33 028
Independent Events
Demonstration Problem 4.10
41. Copyright 2011 John Wiley & Sons, Inc. 41
Revision of Probabilities: Bayes’ Rule
)()|()()|()()|(
)()|(
)|(
2211 nn
ii
i
XPXYPXPXYPXPXYP
XPXYP
YXP
⋅⋅⋅++
=
Allows for reversing the order of conditioning (i.e.
P(A|B) can be calculated if you know P(B|A) & P(A))
An extension to the conditional law of probabilities
42. Copyright 2011 John Wiley & Sons, Inc. 42
Bayes’ Rule
Note, the numerator of Bayes’ Rule and the law of
conditional probability are the same
The denominator is a collective exhaustive listing of
mutually exclusive outcomes of Y
The denominator is a weighted average of the conditional
probabilities with the weights being the prior probabilities
of the corresponding event