Sei sulla pagina 1di 117

Quantitative Analysis

Marc Aerts

Center for Statistics


Hasselt University

Preparation programme Master of Management Quantitative Analysis 1/117


General Information

Teaching team

Marc Aerts, E123, marc.aerts@uhasselt.be


Alvaro Florez, E101, alvaro.florez@uhasselt.be

Preparation programme Master of Management Quantitative Analysis 2/117


Quantitative Analysis

Major topics
Basic mathematics (lecture 1)
Basic probability theory (lecture 1)
Descriptive statistics (lecture 2)
Sampling: design and procedures (lecture 3 and 4)
Confidence intervals, hypotheses testing, sample size
determination (lecture 3 and 4)
Analysis of variance and covariance (lecture 5)
Correlation and regression (lecture 6)
Logit analysis (lecture 7)

Preparation programme Master of Management Quantitative Analysis 3/117


Quantitative Analysis

Miscellaneous
Software: SPSS
Main textbook
Malhotra, Nunan and Birks (2017)
Marketing Research, An Applied Approach, 5th Edition
Pearson
Other textbook
Anderson, Sweeney, Williams, Freeman and Shoesmith
(2017)
Statistics for Business and Economics, 4th Edition
CENGAGE Learning

Preparation programme Master of Management Quantitative Analysis 4/117


Quantitative Analysis

Evaluation
Final written exam 20/20
Open book
Written exam
No theory
Multiple choice questions
Open questions (exercises)

Preparation programme Master of Management Quantitative Analysis 5/117


Preparation programme Master of Management Quantitative Analysis 6/117
Quantitative Analysis

Basic mathematics

Preparation programme Master of Management Quantitative Analysis 7/117


Basic mathematics

Characteristics of basic mathematical functions


linear
quadratic
polynomial
exponential
logarithmic
sinusoidal
Illustrations with app ‘Graph’

Preparation programme Master of Management Quantitative Analysis 8/117


Preparation programme Master of Management Quantitative Analysis 9/117
Quantitative Analysis

Basic probability theory

Preparation programme Master of Management Quantitative Analysis 10/117


Basic probability theory

• Probability of an event and basic rules

• Random variables

• Discrete random variables and their distributions

• Continuous random variables and their distributions

Preparation programme Master of Management Quantitative Analysis 11/117


Assigning probabilities

Stochastic experiment with outcomes Ei , i = 1, ..., n

0 ≤ P (Ei ) ≤ 1

P (E1 ) + P (E2 ) + ... + P (En ) = 1

Preparation programme Master of Management Quantitative Analysis 12/117


Assigning probabilities

• Equally likely outcomes

• Relative frequencies

• Subjective

Preparation programme Master of Management Quantitative Analysis 13/117


Probability of an event

Event
A ⊂ {E1 , E2 , ..., En }

Probability P (A) is equal to the sum of the probabilities of the


outcomes constituting the event

Preparation programme Master of Management Quantitative Analysis 14/117


KPL example

Preparation programme Master of Management Quantitative Analysis 15/117


KPL example

Preparation programme Master of Management Quantitative Analysis 16/117


KPL example

? probability that the project will take ten months or less

Preparation programme Master of Management Quantitative Analysis 17/117


Basic rules of probability theory

ˉ = 1 − P (A)
P (A)

P (A ∪ B) = P (A) + P (B) − P (A ∩ B)

? probability that the project will take more than ten months

? probability that the project will take less than 11 months or


more than 9 months

Preparation programme Master of Management Quantitative Analysis 18/117


Conditional probability

Definition

P (A ∩ B)
P (A|B) =
P (B)

P (A ∩ B)
P (B|A) =
P (A)

Consequently

P (A ∩ B) = P (A|B)P (B)

P (A ∩ B) = P (A)P (B|A)

Preparation programme Master of Management Quantitative Analysis 19/117


Independent events

Definition

P (A|B) = P (A)

P (B|A) = P (B)

Consequently

P (A ∩ B) = P (A)P (B)

Preparation programme Master of Management Quantitative Analysis 20/117


Promotion example

? P (A), P (A|M ), P (A|W )

Preparation programme Master of Management Quantitative Analysis 21/117


Law of total probability
Mutually exclusive events whose union is the entire set of outcomes

A1 , ..., Ai , ..., An

Known probabilities

P (A1 ), ..., P (Ai ), ..., P (An )

and conditional probabilities for a event B of interest

P (B|A1 ), ..., P (B|Ai ), ..., P (B|An )

Then the unconditional ‘total’ probability on the event B

P (B) = P (B ∩ A1 ) + ... + P (B ∩ Ai ) + ... + P (B ∩ An )

P (B) = P (B|A1 )P (A1 )+...+P (B|Ai )P (Ai )+...+P (B|An )P (An )

Preparation programme Master of Management Quantitative Analysis 22/117


Bayes theorem

Same setting, but interest in the conditional probability P (Ai |B)

P (Ai ∩ B)
P (Ai |B) =
P (B)

P (B|Ai )P (Ai )
=
P (B)

P (B|Ai )P (Ai )
=
P (B|A1 )P (A1 ) + ... + P (B|An )P (An )

Preparation programme Master of Management Quantitative Analysis 23/117


Supplier example

Preparation programme Master of Management Quantitative Analysis 24/117


Supplier example

Preparation programme Master of Management Quantitative Analysis 25/117


Supplier example

Preparation programme Master of Management Quantitative Analysis 26/117


Random variables

Random variable:
A random variable is a numerical description of particular
outcomes of an experiment

Preparation programme Master of Management Quantitative Analysis 27/117


Random variables

Random variable:
A random variable is a numerical description of particular
outcomes of an experiment

Preparation programme Master of Management Quantitative Analysis 28/117


Discrete distributions
Discrete probability function

p(x) = P (X = x)

Properties
p(x) ≥ 0
P
p(x) = 1

Cumulative probability distribution


X
F (x) = p(y)
y≤x

Mean and variance


P
E(X) = μ = xp(x)
P
V ar(X) = σ2 = (x − μ)2 p(x)
Preparation programme Master of Management Quantitative Analysis 29/117
Uniform distribution

All outcomes equally likely

Probability function
p(x) = 1/n
with n the number of values the random variable may assume

Preparation programme Master of Management Quantitative Analysis 30/117


Binomial experiment

Preparation programme Master of Management Quantitative Analysis 31/117


Binomial distribution

Random variable

X = number of successes out of n trials

Probability function
 
n x
p(x) = π (1 − π)n−x , x = 0, 1, ..., n
x

Mean and variance

μ = nπ, σ 2 = nπ(1 − π)

Preparation programme Master of Management Quantitative Analysis 32/117


Marrine Clothing Store example

Preparation programme Master of Management Quantitative Analysis 33/117


Marrine Clothing Store example

Preparation programme Master of Management Quantitative Analysis 34/117


Marrine Clothing Store example

? E(X), V ar(X)

Preparation programme Master of Management Quantitative Analysis 35/117


Poisson experiment

Preparation programme Master of Management Quantitative Analysis 36/117


Poisson distribution

Random variable

X = number of events in a continuum

Probability function

μx e−x
p(x) = , x = 0, 1, ...
x!

Mean and variance


μ = μ, σ 2 = μ

Preparation programme Master of Management Quantitative Analysis 37/117


Cars example

X= number of cars arriving in any 15-minute period

The average is 10 cars in a 15-minute period

? probability of exactly five arrivals in 15 minutes

? mean number of arrivals per 15-minute period

? standard deviation of the number of arrivals per 15-minute


period

Preparation programme Master of Management Quantitative Analysis 38/117


Continuous distributions

Probability density function f (x)

Properties
f (x) ≥ 0
R
f (x)dx = 1

Cumulative probability distribution


Z
F (x) = f (y)dy
y≤x

Mean and variance


R
E(X) = μ = xf (x)dx
R
V ar(X) = σ2 = (x − μ)2 f (x)dx

Preparation programme Master of Management Quantitative Analysis 39/117


Uniform distribution

All outcomes equally likely

Density function
1
f (x) = , a≤x≤b
b−a
with a (b) the smallest (largest) possible value

Preparation programme Master of Management Quantitative Analysis 40/117


Normal distribution

Random variable

X → wide variety of variables

Density function

1 (x−μ)2
f (x) = √ e− 2σ2 , −∞ < x < ∞
σ 2π

Mean μ and variance σ 2

Standard normal
X −μ
Z=
σ

Preparation programme Master of Management Quantitative Analysis 41/117


Normal distribution

Preparation programme Master of Management Quantitative Analysis 42/117


Normal distribution

Preparation programme Master of Management Quantitative Analysis 43/117


Normal distribution

Preparation programme Master of Management Quantitative Analysis 44/117


Greer Tyre Company example

X = number of kilometres the tyre will last, is normally distributed

Preparation programme Master of Management Quantitative Analysis 45/117


Exponential distribution

Random variable

X = time until an event happens or time between two events

Density function
1 − μx
f (x) = e , 0<x<∞
μ

Mean μ and variance σ 2 = μ2

Cumulative distribution function


x
−μ
F (x) = 1 − e , 0<x<∞

Preparation programme Master of Management Quantitative Analysis 46/117


Schips loading dock example example

X = time it takes to load a truck at the Schips loading dock


with mean time to load a truck 15 minutes

Preparation programme Master of Management Quantitative Analysis 47/117


Preparation programme Master of Management Quantitative Analysis 48/117
Quantitative Analysis

Descriptive statistics

Preparation programme Master of Management Quantitative Analysis 49/117


Descriptive statistics

Plots, graphs, tables, summary measures

Bar charts, histograms, boxplots, ....

Frequency tables, contingency tables, ...

Mean, median, variance, standard deviation, ...

Illustrations in SPSS

Preparation programme Master of Management Quantitative Analysis 50/117


Preparation programme Master of Management Quantitative Analysis 51/117
Quantitative Analysis

Sampling: design and procedures

Preparation programme Master of Management Quantitative Analysis 52/117


The sampling design process

Preparation programme Master of Management Quantitative Analysis 53/117


A classification of sampling techniques

Preparation programme Master of Management Quantitative Analysis 54/117


Symbols for population and sample parameters

Preparation programme Master of Management Quantitative Analysis 55/117


Sampling distributions

Repeated sampling

Example: head of personnel services needs a profile of the


company’s 2500 managers
• annual salary
• management training programme status

Preparation programme Master of Management Quantitative Analysis 56/117


Sampling distributions

Preparation programme Master of Management Quantitative Analysis 57/117


Sampling distributions

Preparation programme Master of Management Quantitative Analysis 58/117


Sampling distributions

ˉ and sample proportion P as random variables


Sample mean X

Preparation programme Master of Management Quantitative Analysis 59/117


Sampling distributions

Repeated sampling:
ˉ random variable
sample mean X

Preparation programme Master of Management Quantitative Analysis 60/117


Sampling distributions

Repeated sampling:
ˉ and sample proportion P as random variables
sample mean X

Preparation programme Master of Management Quantitative Analysis 61/117


ˉ
Sampling distribution of X

Preparation programme Master of Management Quantitative Analysis 62/117


ˉ
Sampling distribution of X

• Population normally distributed ⇒ X ˉ normally distributed


• Population not normally distributed but sample size is large
enough (at least 30)

Xˉ approximately normally distributed

Preparation programme Master of Management Quantitative Analysis 63/117


Central limit theorem

Preparation programme Master of Management Quantitative Analysis 64/117


Sampling distribution of P

Preparation programme Master of Management Quantitative Analysis 65/117


Preparation programme Master of Management Quantitative Analysis 66/117
Quantitative Analysis

Confidence intervals, hypotheses testing,


sample size determination

Preparation programme Master of Management Quantitative Analysis 67/117


Confidence intervals for the mean

Preparation programme Master of Management Quantitative Analysis 68/117


Confidence intervals for the mean

Preparation programme Master of Management Quantitative Analysis 69/117


Confidence intervals for the mean

Preparation programme Master of Management Quantitative Analysis 70/117


Confidence intervals for the proportion

Preparation programme Master of Management Quantitative Analysis 71/117


Data example: confidence intervals for the mean
• Javed Manufacturing is considering a new computer-assisted
program to train maintenance employees to do machine repairs.

• To fully evaluate the program, the manufacturing manager


requested an estimate of the population mean time required for
maintenance employees to complete the training.

• A sample of 20 employees is selected, with each employee in the


sample completing the training programme.

• Data on the training time in days for the 20 employees are shown
in the following table

Preparation programme Master of Management Quantitative Analysis 72/117


Data example: confidence intervals for the mean

Sample mean and standard deviation

95% confidence interval for the mean of the training time (in days)

Preparation programme Master of Management Quantitative Analysis 73/117


Determining the sample size

For the mean

For the proportion

Preparation programme Master of Management Quantitative Analysis 74/117


Example: determining the sample size

Preparation programme Master of Management Quantitative Analysis 75/117


Testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 76/117


Testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 77/117


Testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 78/117


Testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 79/117


Testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 80/117


Testing hypothesis for the mean
Two sided (two-tailed) testing

Variance σ 2 unknown

Preparation programme Master of Management Quantitative Analysis 81/117


Testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 82/117


Example: testing hypothesis for the mean

Preparation programme Master of Management Quantitative Analysis 83/117


Testing hypothesis for the proportion

Preparation programme Master of Management Quantitative Analysis 84/117


Example: testing hypothesis for the proportion

Preparation programme Master of Management Quantitative Analysis 85/117


Preparation programme Master of Management Quantitative Analysis 86/117
Quantitative Analysis

Analysis of variance and covariance

Preparation programme Master of Management Quantitative Analysis 87/117


Analysis of variance (ANOVA)

Preparation programme Master of Management Quantitative Analysis 88/117


Example: analysis of variance
The effect of dealership promotion X on the sales of new cars Y

Preparation programme Master of Management Quantitative Analysis 89/117


Analysis of variance

Preparation programme Master of Management Quantitative Analysis 90/117


Analysis of variance

Preparation programme Master of Management Quantitative Analysis 91/117


Analysis of variance

Preparation programme Master of Management Quantitative Analysis 92/117


Analysis of variance
H0 ; no effect of dealership promotion X on the sales of new cars Y

Preparation programme Master of Management Quantitative Analysis 93/117


Analysis of variance

Preparation programme Master of Management Quantitative Analysis 94/117


Analysis of variance

Preparation programme Master of Management Quantitative Analysis 95/117


Analysis of variance

f test
mean squareof between groups /
mean sum of square within groups

Preparation programme Master of Management Quantitative Analysis 96/117


Analysis of variance

Preparation programme Master of Management Quantitative Analysis 97/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 98/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 99/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 100/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 101/117


Two-way analysis of variance

Preparation programme Master of Management Quantitative Analysis 102/117


Two-way analysis of variance

Preparation programme Master of Management Quantitative Analysis 103/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 104/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 105/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 106/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 107/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 108/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 109/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 110/117


Analysis of covariance (ANCOVA)

Preparation programme Master of Management Quantitative Analysis 111/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 112/117


SPSS: car sales example

Preparation programme Master of Management Quantitative Analysis 113/117


Preparation programme Master of Management Quantitative Analysis 114/117
Quantitative Analysis

Correlation and regression

Preparation programme Master of Management Quantitative Analysis 115/117


Preparation programme Master of Management Quantitative Analysis 116/117
Quantitative Analysis

Logit analysis

Preparation programme Master of Management Quantitative Analysis 117/117

Potrebbero piacerti anche