01 Introduction
01 Introduction
What is Analytics?
Review of Syllabus
Instructor Information
Class Information
Course Outcomes
By the end of the semester you will be able to:
Compute probabilities, percentiles, expected values, and
variances for different probability distributions
Summarize and interpret a data set using descriptive statistics;
Estimate parameters of a distribution based on a random
sample;
Construct confidence intervals for parameters of a distribution;
Make a decision about a population based on a random
sample;
Determine a probability distribution for a population based on
a random sample;
Predict a response variable based on one or more predictor
variables;
Identify important factors influencing a response variable.
©2023 M. J. Feizollahi, All Rights Reserved Introduction 9 / 52
Syllabus Basics Objectives Probability Conditional
Grading
Please carefully read the class, exam, HW, and quiz rules in
the syllabus.
And respect them.
You are encouraged to discuss homework and learn from each
other, but each person must submit his/her own work.
Students copying from their classmates or from previous years’
assignments, or from any source will receive a zero score. In
addition, the student who let others copy from her/his
assignment will receive a zero score. There are no exceptions
to this rule! Further consequences are possible.
Any queries on homework, quiz or exam grades must be
submitted in writing via email to the instructor, together with
the scan of the homework in question.
Model
What is a model?
Types of Models
Physical models: A smaller or larger
physical copy of an object
4.62 3.49 4.21 4.2 5.55 5.71 6.28 5.93 5.04 3.75
6.46 3.99 2.9 4.5 4.2 5.47 4.81 3.82 4.98 4.44
2.23 6.48 5.99 7.08 5.66 4.25 3.44 5.81 6.04 5.58
5.18 5.2 5.88 5.93 7.12 4.22 5.33 4.13 4.85 6.87
4.59 4.54 7.45 4.65 4.36 6.33 3.34 3.56 2.81 5.59
Course Objectives
Type of emergency cares
Physicians’ experience and skills
Time of day → Waiting time in ER
Number of nurses
Capacity of ER
Data Collection
Three basic methods for collecting data:
A retrospective study using historical data
A lot of data
Relatively little useful information
Missing data
Transcription or recording errors
Other important factors may not have been collected
An observational study
The process or population is observed with as little as possible
disturbance, and the quantities of interest are recorded.
Variables that are not routinely measured can be included.
A designed experiment
The engineer or designer makes deliberate or purposeful
changes in the controllable variables of the system or process,
observes the resulting system output data, and then makes an
inference or decision about which variables are responsible for
the observed changes in output performance.
©2023 M. J. Feizollahi, All Rights Reserved Introduction 26 / 52
Syllabus Basics Objectives Probability Conditional
Data Collection
Probability Theory
Sets
N⊂Z⊂Q⊂R
©2023 M. J. Feizollahi, All Rights Reserved Introduction 31 / 52
Syllabus Basics Objectives Probability Conditional
Uncertainty
Probability
Study of uncertainty
Examples:
Coin flips
Product life time
Demand for a service
Car crash
...
Chance of an event occurrence
A real number between 0 and 1
The closer to 1, the more likely the event
Probability
Addition Rules
For any pair of events A and B:
Two dice
Conditional Probability
P(E ∩ F )
P(E |F ) = .
P(F )
Example 4.27
Example 4.29
Example 4.29
Independence
Example
In a certain county
60% of registered voters are Republicans
30% are Democrats
10% are Independents.
When those voters were asked about increasing military
spending
40% of Republicans opposed it
65% of the Democrats opposed it
55% of the Independents opposed it.
What is the probability that a randomly selected voter in this
county opposes increased military spending?
Example (cont.)
Example (cont.)
P(B|D)P(D)
P(D|B) =
P(B|R)P(R) + P(B|D)P(D) + P(B|I )P(I )
0.65 × 0.3
=
0.195
= = 0.398
0.49
Random Variable
A random variable is a function that assigns a real number to
each outcome in the sample space of a random experiment.
A random variable is denoted by an uppercase letter such as
X.
After an experiment is conducted, the measured value of the
random variable is denoted by a lowercase letter such as
x = 70 milliamperes.
A discrete random variable is a random variable with a finite
(or countably infinite) range. Examples are: number of
patients admitted to ER, number of defected goods produced,
number of transmitted bits received in error.
A continuous random variable is a random variable with an
interval (either finite or infinite) of real numbers for its range.
Examples are: electrical current, length, pressure,
temperature, time, voltage, weight.
©2023 M. J. Feizollahi, All Rights Reserved Introduction 52 / 52