Beruflich Dokumente
Kultur Dokumente
Yoav Gordon
1|Page
MAM Compendium
Show workings for mathematical elements some marks will be provided for starting in the
right direction
Use diagrams and charts where possible normal distribution curve, forecasting trend lines etc
Read the question they often pose tricky ones to confuse (bastards)
What are the underlying techniques used in the model? (eg simulation, regression, LP, etc)
2|Page
Conceptual modelling
Model coding
Experimentation
Implementation
3|Page
Conceptual modelling
why conceptual modelling is useful in the modelling process
Below is the model answer to this question (from exam solution to specimen exam in front of module)
Influence diagrams
Uses / advantages
General
Can be more than one way of drawing the loop: the key thing is you give a good explanation of
how the loop functions
If asked to say whether main loop positive or negative: comment only on main loop
Could be no single, main loop: could be composed of several mini-loops, as shown below (L7,
p.16):
4|Page
Signs
Calculating the overall sign of a loop (Pidd, p.179): simply sum up the +ve signs
odd number = negative feedback loop
even number or 0 = positive feedback loop
If loop has several sub-loops, then may need to show each overall sub-loop sign
5|Page
A delay signals that a considerable delay occurs before a change in the tail variable causes a
corresponding change in the head variable (L7, p24).
Delays usually occur between somethings production rate being increased/decreased and the
resultant increase/decrease in output. See diagram above & L7, p17.
6|Page
If negative feedback loop: this is a vicious circle ie as time progresses the level
of the element decreases. Can be described as a growth-limiting loop. (Note
that in diagram below, horizontal line is only shown if a target level is
mentioned).
If negative feedback loop with delay: then the element under consideration will
oscillate over time.
If asked about what is missing in the diagram (using diagram from L7, p.17 as an example):
Mention influences on the outside element; in the L7 example, this is traffic volume ie
what could the influences on traffic volume be?
Also mention major things which are missing from the main loop; in the L7 example, this
is influence of public transport and investment in public transport.
7|Page
Theoretical elements
Key elements that must be satisfied to be able to make inferences about population using a sample;
The normal distribution is a theoretical probability distribution and is represented by the Bell Curve. To
determine ND two variables are required;
Mean and Standard Deviation a measure of variation - as we move away from the mean, it is the SD
that describes how far away a particular value lies
The area occupied by the curve is probability with the total area summing 1 or 100%
68% of the data will be within 1 SD of mean
95% of the data will be 2 SD from mean
99.7% of the data will be 3 SD from mean
8|Page
Distribution Tables are used to calculate the proportion of distribution that falls within any part of the
curve what is the probability of an event to occur this is commonly known as the Z SCORE
Z Score determined by: z= x-m/s this gives a percentage which tells us how many SDs the value lies
from the average
NOTE: some exam questions will ask you to find other elements of the Z score formula;
Sampling Distribution of Percentages: Frequency distribution of the percentages of all possible samples
of size n that can be selected from a given population.
Mean of Distribution = P for example population size is 200 sample is 60 so P = 60/200*100 or 30%
SD is determined by =
differ from the mean.
9|Page
Confidence Intervals: used to evaluate sample results in the context of the population?
We determine this by returning to Z scores and look for a value as close to 2.5 % (as we are looking for
95% shared across both tails of the curve) or 1.96
Confidence interval can be used in similar way to above with Z score of 1.96
However! What if we wanted to know mean within X cents? This can be done by increasing the sample
size but by how much?
Sample size N is unknown
Confidence interval must be 1.96 standard errors so n can be determined as;
N= zxs/x where x is the mean that we have been asked to look at
We then square the answer to provide sample size needed
10 | P a g e
Then need to turn decimal figures back into minutes and seconds
Note: you multiply decimalised parts by 60 ie .64 and .86 by 60 to give you: 2mins 38 secs to 2
mins 52 secs
Internet usage
Part of a pilot study conducted by a marketing department indicates that about 70% of homes in a
particular area have access to the internet from home.
(a) How many homes should be randomly sampled in a proper survey if it is desired to get an estimate of
the true percentage of homes with access to the internet that is 95% certain to be within 5% of the true
value for the population of the area?
Answer
This is about determining sampling size but will need algebraic analysis as much of the data is
unavailable. This is determined by;
11 | P a g e
Note: easy to mess up calculations here so make sure you square relevant variables first then
build into the equation. Look at the answer and make sure decimal point is moved appropriately
12 | P a g e
Forecasting
Forecasting plays a critical role in the strategy and decisions making of most organisations
although no single and ideal approach exists to address it.
Time-Series Decomposition
The Trend: the long term underlying movement in the variable can be upward or downward moving
and is an indication of the long term direction of variable
Seasonal Components: variability occurring within series during a time period and is repeated i.e.
electricity use during the day
The Random Element: difference between actual series and expected series based on trend and seasonal
component. Relates to random and unpredictable events any shock event.
Exam Issues
Trend draw trend line and range if applicable (see below)
Seasonality
Any other factors noted in introductory text i.e. product type, country etc and any factor which
might influence it i.e. drinks at xmas
Oscillations
13 | P a g e
Indicate any problems with data ie length of time and seasonality issue also consider impact of
random factors
14 | P a g e
Why has there been a change what are the influences government legislation
through price controls or taxation? Curbing demand by wine producers to push up
vintage values etc?
(b) You try to decide whether the information would be useful for forecasting the likely demand for
champagne for 1999 and 2000 what do you decide and explain your reasoning?
Yes we would hope that 7 years worth of monthly data showing clear seasonality cycle
Last two years are area of concern as they only show two cycles which isnt enough to
work with
Consider planning horizon of 2 years and problem of uncertainty as forecasts move from
most recent horizon
What is the impact of the millennium celebration end of 1999 likely to be atypical with
extra demand for champagne
15 | P a g e
Linear Regression
Regression Analysis is used to determine and quantify the relationship between two variables. It
concerns itself with how changes in one variable will impact on another specific variable
simple linear regression
The use of regression is not only used for forecasting or prediction but can also be applied to
the measurement or quantification of the impact that a change in one variable will have on
another
Regression can be understood through Excel table called ANOVA where independent and dependant
variables are shown X independent and Y dependant
16 | PMPG=
a g e 1.890-0.138*39.0 = 14.64mpg
Note: Remember to be clear on which is the dependant and independent variable and watch for
decimals!!
17 | P a g e
SHOULD BE LOW
SHOULD BE HIGH
SMALL IS GOOD
18 | P a g e
Simulation
Simulation models are concerned with looking for optimum solutions to given problems and are
primarily descriptive rather than deterministic.
Concerned with describing in modelling terms the business problem and generally provide
additional information about a problem.
Allows managers to experiment with alternative courses of action and predict likely outcomes
Interaction: where components within a system interact with each other i.e. customers and
bank tellers
Complexity: where there is interaction between multiple actors in the real situation creating
unpredictable behaviour
19 | P a g e
Exam Application
A retail store has observed the following daily demand for a particular product that was introduced a
few months ago:
Demand (units)
Frequency (days) 4 19 25 18 16 12
6
6
Tasks:
1. What level of daily demand would you expect to see for this product on average?
2. Simulate daily demand over a 10 day period. Calculate the average daily demand for the product.
How does this figure compare to your answer to question 1?
Demand (units)
Frequency (days) 4 19 25 18 16 12
Total demand
0 19
6
6
Total = 100
50 54 64 60 36
Total = 283
Demand
Probability = Freq/SUMfreq*100
Frequency
Prob
4%
4%
0-3
19
19%
23%
4 - 22
25
25%
48%
23 - 47
18
18%
66%
48 - 65
16
16%
82%
66 - 81
12
12%
94%
82 - 93
6%
100%
94 - 99
20 | P a g e
Cum Prob
Cumulative percentages ie
4+19=23 must always be
found
Rand No
Day
1
2
3
4
5
6
7
8
9
10
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Monday
Tuesday
Wednesday
Random
Number
Daily Demand
46
78
70
13
92
6
91
40
55
80
2
4
4
1
5
1
5
2
3
4
Create a 10
day series
Average daily demand from the simulation = total demand/number of days or 31/10 = 3.1
Comment: compared with averge demand of 2.8 worked out initially this is very close to actual mean
using greater iterations will bring it closer.
Why Simulate?
Risk reduction
Greater understanding
21 | P a g e
Repeatability: use of random numbers allows for alternative situations to be tested under same
conditions impossible in real life
Non-Standard Distributions: simulations can use both theoretical and historical distribution
Dynamic and Transient Effects: simulations allow for a better understanding of how a system
operates under more extreme conditions
Interaction of Random Events: simulation allows for an understanding of the impact from
random factors such as machine breakdowns and knock on effects
Endorsement by Management
The ability of management to view and understand the model is likely to result in greater acceptance of
the results;
Simulation Promotes Total Solutions: VIS provides big picture solutions relevant to an entire
organisation
Simulation Fosters Creativity: what if questions and engagement from all involved
Simulation Makes People Think: both the building and development of the simulation will
encourage people to consider the issue in greater depth
22 | P a g e
Relevance does the simulation accurately reflect the real world situation?
A replication is a run of a simulation model that utilises specific streams of random numbers. By
changing the streams of random numbers another replication is performed, from which a slightly
different result will be obtained. In statistical terms this is similar to taking multiple samples in order to
improve the accuracy of the estimate. An Experimentation is a run of a simulation model where random
numbers dont change but inputs do.
Replication Example
Replication
Average time
Mean
Deviation
Deviation SQR
26
28.7
-2.7
7.29
30.2
28.7
1.5
2.25
29.2
28.7
0.5
0.25
27.1
28.7
-1.6
2.56
31
28.
2.3
5.29
Totals
143.5
17.64
23 | P a g e
Confidence interval =
Mean + t n-1, /2 standard deviation
n
n = number of replications
t n-1, /2 = value from t-distribution for n-1
and the significance level /2
(t is like Z for normal distributions. Use t in this case since n is small and population std dev
unknown
n=5
=5% or 0.05, so /2 = 0.025
t n-1, /2 = t
4,0.025
= 2.776
Confidence Interval =
28.7 + 2.776 2.1 = 28.7 + 2.61
5
24 | P a g e
Linear Programming
Overview
Formulation
Solution
Sensitivty
Analysis
Key Assumptions
Linearity all relationships are assumed by the model to be linear in form assumption of
proportionality
Certainty we know for certain the numerical values of the linear relationships specified
Case Study
ClearGlass Windows and Conservatories is planning a local radio and television advertising campaign. They have
employed a marketing services firm to give advice on their advertising strategy. Their recommendations are as
follows:
ClearGlass has an advertising budget of 34,000. The local radio station has quoted 200 per advertisement,
while TV advertisements cost 800 each. The marketing services firm has rated the two
advertising media in terms of audience coverage and recall power, giving TV advertisements a rating of 600 and
radio advertisements a rating of 200.
25 | P a g e
How many TV and radio advertisements should ClearGlass use in order to maximise the overall rating of the
advertising campaign?
Formulation
Constraints
26 | P a g e
Objective Function
Maximise 200R+600T
Final Formulation should then read as follows;
Maximise 200R+600T such that;
R+T60
R50
RT
R-T0
200R+600T34000
R0
T0
Where R= number of radio advertisements and T = number of TV advertisements
27 | P a g e
Sample Questions
Answer
E Executive Home, F Family Home, S Starter Home
Maximise 170E+100F+50S
Subject to constraints:
Land Constraints: 100E+60F+180S110,000
Cost Constraints: 100E+60F+30S 10,000
Time Constraints: 800E+650F+400S100,000
Planning Constraints: S0.2(E+F+S)
Non Negativity Constraints E,F,S0
28 | P a g e
29 | P a g e
Answer
LN Local News, NN National News, W Weather, S- Sport
Minimise 150LN+250NN+75W+100S
Subject to
0.15LN 25
0.10W25
2NNLN= 2NN-LN0
SW = S-W0
SLN+NN = S-LN-NN0
Cost Constraints
LN150
NN250
W75
S100
Non Negativity Constraints LN,NN,W,S 0
30 | P a g e
31 | P a g e
Question A Answer
An additional table would therefore impact on overall profit (3900) as follows: Profit Shadow price or
3900-30=3870 an unadvisable action
9: SENSITIVITY ANALYSIS
32 | P a g e
Pidd gives two reasons for the importance of sensitivity analysis, p.213:
Precursor: In order to answer an excel solver question, sometimes need to go beyond simply
thinking about the information in excel solver
1 the world is dynamic and, therefore, things are constantly changing; thus it is
important to know what effect changes in the coefficients may have on the optimum
solution
2nd reason see Pidd, p.213. Dont fully comprehend this.
Precursor: looking at excel solver situations where are asked to comment on something
without resolving the LP model
33 | P a g e
Answer is as follows:
34 | P a g e
Decision variables
35 | P a g e
Initial values of
the decision
variables (always
zero)
Below is an abridged version of the answer report found on p.4 of Lesson 9 notes: the graphic
does not show the upper parts of the answer report (target cell and adjustable cells)
if constraint is binding, there is no slack (since as much (for constraints) or as little (for constraints) as
possible of the resource is used in the proposed solution. Means that if want to improve solution, the constraint
must be increased or decreased
>Wisniewski definition, p. 409: binding constraints: at the optimal solution they limit (or bind) the objective
function from taking an improved value
If constraint is not-binding , means there is some slack. In other words, not all of the resource is used (for
constraints) or more than the minimum allowable is used (for constraints). Note that if the slack refers to the
additional quantity of the resource that has been used above the minimum allowable, means that you have
leeway/scope to reduce the resource down to the minimum level required
>Wisniewski definition, p. 409: non binding: at the current optimal solution they do not prevent the objective
function from taking an improved value
If asked to state which constraints are binding and which are non-binding, and what
this tells us:
Answer would be something like this (answer to Q3a, SAA9):
36 | P a g e
37 | P a g e
4 key stages in the modelling process: Conceptual modelling, model coding, experimentation
and implementation.
Conceptual Modelling
Understanding the problem
Application
1.
2.
3.
4.
Model Definition
38 | P a g e
Pg8 case study: The task force was asked to recommend new product structures
and pricing options. It focused on two main options. The first was an assetbased pricing option. The second was a direct online pricing option.
The Management Science Group assessed more than 40 combinations of offer
architectures and pricing. Model would need to be flexible to be able to analyze
new scenarios with a new set of offerings quickly enough to meet self-imposed
deadlines.
Basic model approach was to simulate client choice behaviour. From an
initial set of system data and the resulting system output measures of
interest as a baseline.
Introducing change conditions to the data and applying business rules
to the clients to determine their reactions to the changes and calculate
the revised output measures.
The team had several different ideas about how to model these rules
and as a result, developed three different models:
1. Rational-economic-behaviour model (REB) (Total revenue at risk)
2. A financial-advisor-affinity model based on monte carlo simulation
a high affinity to their FAs would have a high level of price or economic
indifference)
Evaluation of an extensive volume of client-level data. A database was
constructed using data from 1998, which was the most recent full-year
data available and which provided a profile of client assets and trading
activity.
Information on five million clients, 10 million accounts, 100million
trade records, 250 million ledger records and 16,000 FAs.
Key Weaknesses/Criticisms
Were feedback loops incorporated in the models not clear. Feedback loops help answer
questions such as: Are the forecasts accurate\Comparing actual revenue with forecast
revenue/Simulation output and confidence intervals
What is the impact on output of extreme conditions? The model seems to be built for a stable /
average environment and doesnt appear to account for the impact of macro-economic shocks
such as economic downturn and increased competition on potential client responses to ML
product offerings, firm revenue etc. These external factors will influence which of the products
are chosen. Is one year of data statistically significant?
Very little verification/validation discussed in the case only mention is using these results,
executive management specified new pricing alternatives and arrangements for testing (p. 15)
Assumption that the Greedy approach is accurate as well as simplicity of other behavioural
approaches
Sensitivity analysis ie impact on revenues if different external factors exist such as economic
downturn, external crisis. SA tests the robustness of the solution- changing some of the models
inputs and seeing effect on output
39 | P a g e
Influence diagram: useful for determining cause and effect, and important variables. Eg.
Economic variables and client choice
Solution validation- Are the outcomes, in term of actual revenue (profitability), as predicted by
the model? [The rate of revenue expected and impact on FA remuneration predicted by the
model should be compared with actual results after implementation of new products]
Data validation: The data are probably reliable, but some effort should go into determining the
source of the data and checking whether the data are correct
Linear programming could have been used to find an optimum number of clients using the
integrated choice approach. This model could also take into account the number of FAs and
related costs and revenue from each customer type. Potentially there are limitations and
boundary conditions which would determine certain capacity limits and business cases. For
example:
Capital investment into the software and infrastructure for the integrated choice products
would require a certain number of clients to break-even. If this level is not reach then it would
not be in the best interest of the company to invest.
Increasing or decreasing the number of FAs to cope with the changes in demand could be a
limiting factor
External influences including inflation, base interest rates and unemployment could be
incorporated to the model.
40 | P a g e
Merrill Lynch
Conceptual model was right but there was the impact on the required
level of detail. For example undertaking the analysis on all 5million
accounts? Could a sample be used to speed up the whole project?
Given the levels of revenue concerned it was most likely that senior
management wanted the best possible, most accurate level of analysis,
hence all accounts were included.
Only taking one year into account could have missed certain trends in
the data. This was only a snap shot and could have significant
implications on the model and its ability to forecast the future.
ML did validate the data (pg 15) before analyzing a single record of
data, the group clarified the purpose of the analysis, the key
assumptions, the important deadlines, and the ultimate objectives.
As the source of the data was from MLs own client records it was
deemed to be accurate. There is no mention of checks being made on
the data in the case study.
There is some evidence that white box validation took place to
determine client. (pg15) Management science also worked closely with
market research and provided support for its conjoint-analysis survey.
how the internet and other new technologies can give a firm the ability to conduct business in
new and exciting ways - explores service pricing what new services should be offered and at
what price?
It is never a good idea to transfer models without assessing what the requirements/objectives of
the new system are and if they fit the new system
NB. If it was decided to transfer this model to another situation, the model would need to be
tested to ensure that the model fits the new environment and relevant changes would need to
be made to the different models within the model.
Product/Service characteristics
The application of the model is not appropriate for all industries. The characteristics can be used
to determine whether the model is appropriate for a particular product or service
Product/ service is perishable- This means that, at some point, the product becomes worthless
because it can no longer be sold, and it cannot be held in inventory for future demand, generally
because the time of its availability has passed eg FA knowledge, share prices, communications
bandwidth, seats on a bus
41 | P a g e
Market segmentation. The nature of the product is such that it can be priced to appeal and
target different market segments (. Price indifference/ price elasticity - customers willingness
to pay for different levels of service
The product or service can be sold in advance. Often this is done through reservation
systems which, when combined with other technologies, enable a system of forecasting
and control to manipulate demand and pricing.
The variable costs of the product are low. An incremental sale does not cost the
vendor much, but enables the product to be sold at a wide range of prices rather than
letting it spoil and go unsold. For example, a hotel operation has high fixed costs and
relatively low variable costs (Informs). High fixed costs - FAs
Airline industry to determine revenues from different product offerings- full service
(business/first class) and limited service (economy). Like ML offerings, price elasticity and price
indifference are key factors. (Price changes and effect on demand)
Transportation industry- eg a Bus company trying to decide how many buses to provide under a
new service, and the fare levels to charge see LBC bus example p. 91
Hotel industry Ritz hotel in Lisbon using models to determine room rates.
As with ML case, both assess demand for services and customers willingness to pay for used
to develop a user model of behaviour so as to predict the proportion of users who will accept a
price discount and delay use of the service. See A New Pricing Model for Competitive
Telecommunications Services Using Congestion Discounts Informs, vol 17, no. 2 Spring 200
Temporal Application: how would this problem be affected by c21 technology? Access to financial data,
different markets and customer groups, smaller asset allocations?
42 | P a g e