Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your...

169
Lecture -- 8 -- Start

Transcript of Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your...

Page 1: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Lecture -- 8 -- Start

Page 2: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Outline

1. Science, Method & Measurement2. On Building An Index3. Correlation & Causality4. Probability & Statistics5. Samples & Surveys6. Experimental & Quasi-experimental Designs7. Conceptual Models8. Quantitative Models9. Complexity & Chaos10. Recapitulation - Envoi

Page 3: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Outline

1. Science, Method & Measurement2. On Building An Index3. Correlation & Causality4. Probability & Statistics5. Samples & Surveys6. Experimental & Quasi-experimental Designs7. Conceptual Models8. Quantitative Models9. Complexity & Chaos10. Recapitulation - Envoi

Page 4: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Quantitative Techniques for Social Science Research

Ismail SerageldinAlexandria

2012

Lecture # 8:Quantitative Models

Page 5: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

1016/xxx

Models

Page 6: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

1017/xxx

Models

• Conceptual Models• Quantitative Models

– Static and Dynamic models– Continuous and Discrete change

models– Calibration and Forecasting

• Error terms• Agent-Based Models

Page 7: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Purely descriptive models can help in basic understanding of

possible causalities and identification of likely

intervention points

Page 8: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Examples: Models of Social Change and

Cultural Dynamics

Page 9: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Predictive models are needed for policy analysis. This requires quantification.

Page 10: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Quantitative Analysis complements Qualitative

analysis and frequently under-girds it.

Page 11: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Hard thinking on the substance is essential before, during, and after you build your quantitative model

Page 12: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Lets look at a simple physics model

Page 13: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The Interaction of Science and Math

Page 14: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Physics and math

• The physical world can be described by mathematical relationships .

• Mathematical arguments, being based on logic, are true whether a physical reality is represented or not.

• Physics comes in at the beginning and the end of the argument.

Page 15: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The part of physics

• First , the physical reality has to be expressed mathematically

• Then, the detailed mathematics are worked out.

• Finally , the resulting mathematical expression has to be interpreted in the physical world

Page 16: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Physics

Formulate

Calculate

Interpret

Math

Page 17: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Example: Vibration of a mass on a spring

Source: David Sands, Studying Physics, Palgrave MacM illan, 2004, pp. 115-117

Page 18: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

We can formulate the relationship

• Thus according to Newton’s second law, the Acceleration (a) is proportional to the Force (F) and inversely proportional to the mass (m), Thus:

• Further, we can describe the acceleration as the rate of change of velocity: dv/dt

Page 19: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

• But acceleration can be re-written as the rate of change of position over time in one dimension (x)

• But this is general and does not refer to a spring, so we need to modify it further…

Page 20: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

To describe the force on a spring:

• According to Hooke's law, the force is proportional to the to the extension of the spring and directed toward the centre. Putting the equilibrium position of the spring at x= 0 , the force can be written as:

• where (k) is a constant of proportionality, or the stiffness, and the force is negative because it is directed against the motion.

Page 21: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

At this point there is no net motion …

• so the downward force exerted by the mass, that is the weight, must equal the upward force exerted by the spring.

• As the spring extends the force increases but acts to direct the mass towards the centre of the motion; that is the rest position of the spring.

Page 22: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Putting the two pieces together:• Inserting this force into Newton’s second

law yields the equation of motion for the mass-spring system, that is:

• This equation now expresses the essential physics of the problem in mathematical form.

Page 23: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

This constitutes the first part of the process: Formulating.

• The forces acting have been described, and the resulting acceleration has been incorporated into the equation.

• So now we move to calculating the result…

Source: David Sands, Studying Physics, Palgrave MacM illan, 2004, pp. 115-117

Page 24: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Calculating• The solution of the equation, through

mathematics, yields:

• Where A is a constant called the amplitude.

Page 25: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

• The interpretation of this equation is based on the following:

• wt must have the units of an angle; • the angle increases with time; • the sine function is cyclic, varying

between + 1 and -1; • the extent of the motion therefore varies

between +A and –A; • the period of the oscillation, that is the

time for one complete cycle from say +A through 0 to –A and back again to +A is 2π/w;

Page 26: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

• The interpretation of this equation is based on the following:

• wt must have the units of an angle; • the angle increases with time; • the sine function is cyclic, varying

between + 1 and -1; • the extent of the motion therefore varies

between +A and –A; • the period of the oscillation, that is the

time for one complete cycle from say +A through 0 to –A and back again to +A is 2π/w; …… AND ?

Page 27: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

This motion will continue indefinitely!

Page 28: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

This motion will continue indefinitely!

Error!

Page 29: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

How come?

• The error is not in the solution… The math is correct.

• The error is in the formulation,

• There was a hidden assumption: namely, that the force exerted by the spring is the only significant force acting.

Page 30: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Physics

Formulate

Calculate

Interpret

Math

Page 31: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Physics

Formulate

Calculate

Interpret

Math

Page 32: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Reformulate

• Recognizing the hidden assumption we put a resistive force into the equation.

• The form of resistive force involves making another assumption. Many textbooks simply state that the resistive force is proportional to the velocity, which is true in many cases but not all.

• If the solution produces another error we can reformulate again.

Page 33: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

So, a modified formulation:

• We add the resistive force and write

• Again the negative sign in front of the resistive force indicates a force acting against the motion.

Page 34: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Recalculate…

• The result:

• The amplitude now contains a term that decreases as time progresses, and the rate of decrease depends on the strength of the resistive force via the constant ( γ)

Page 35: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

So

Page 36: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The interaction of science and math requires:

• Scientific understanding• The science dominates, the math is the

tool• Always look for hidden assumptions and

implications• The scientific interpretation of the math is

important• The experimental reality checks the

validity of the interpretation

Page 37: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Quantitative Models

Page 38: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Quantitative and Qualitative Analyses

Page 39: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

A model usually specifies (mathematically) the relationship

between a dependent variable and one or more independent

variables

Page 40: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The model is then used to predict the dependent variable from measured or estimated quantities of the independent

variables

Page 41: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

You can use special models to work with different kinds of

scales

Page 42: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Probit models

• In statistics, a probit model is a type of regression where the dependent variable can only take two values, for example married or not married.

• The name is from probability + unit.

Page 43: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

When to Use Probit models

• A probit model is a popular specification for an ordinal[2] or a binary response model that employs a probit link function.

• This model is most often estimated using standard maximum likelihood procedure, such an estimation being called a probit regression .

Page 44: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Probit models -- Origins

• Probit models were introduced by Chester Bliss in 1934 , and a fast method for computing maximum likelihood estimates for them was proposed by Ronald Fisher in an appendix to Bliss 1935 .

Page 45: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Building Mathematical Models

Page 46: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Additional Accumulation of Error

• Errors can also be increased by the manner in which the data is handled.

• Consider starting with data that is accurate to 2% margin.

• Depending how we write our equations we could transform that error term of 2% into 100 % or even 300% !

Page 47: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Example

• Assume a population of Sociology students (P 1) = 100 with an error of ±±±± 2%

• Assume a Population of Anthropology students (P 2) = 102 with an error of ±±±± 2%

• Further assume that error terms go in the same direction

Page 48: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Example (Cont’d)

• Now look at the errors if I seek an aggregate of the two or the difference between the two values

Page 49: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Example (Cont’d)

P1 = 100 ±±±± 2 (error term = 2%)

P2 = 102 ±±±± 2 (error term = 2%)

P2 ++++ P1 = 202 ±±±± 4 (error term ≈≈≈≈ 2%)

P2 −−−− P1 = 2 ±±±± 2 (error term ≈≈≈≈ 100%)

Page 50: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

If Z = f (x1, x2, ….xn)

Then the error term in the function Z will be given by the following equation:

=2ze ∑

i2ifx +

2

ixe ∑i∑

j ixfjxf

jxeixe ijr

Where

ze

ixf

ixe

ijr

= error term in Z

ix

f

∂∂

=

= measurement error in ix

= correlation betweenix and

jx

Error Terms

Page 51: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

If Z = f (x1, x2, ….xn)

Then the error term in the function Z will be given by the following equation:

=2ze ∑

i2ifx +

2

ixe ∑i∑

j ixfjxf

jxeixe ijr

Where

ze

ixf

ixe

ijr

= error term in Z

ix

f

∂∂

=

= measurement error in ix

= correlation betweenix and

jx

Error Terms

Page 52: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Hence…

Page 53: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

Es

Page 54: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

Em

Es

Page 55: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

E

Em

Es

Page 56: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

E

Em

Es

Page 57: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

E

Em

Es

Page 58: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

Better Data

E

Em

E*m

Es

Page 59: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

Better Data

E

E*Em

E*m

Es

Page 60: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

Better Data

E

E*Em

E*m

Es

Page 61: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Errors in Models

Complexity of Model

Error

Better Data

E

E*Em

E*m

Es

Page 62: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 63: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 64: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 65: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 66: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 67: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 68: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 69: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Seven Rules for Building Models

• Avoid inter-correlated variables• Add whenever possible• If not possible then multiply or divide• Avoid subtraction and exponentials• Avoid models that proceed in chains• Simpler partial models can be more robust

than one complex models• Always report predictable error (essential

for cases of asymmetrical costs)

Page 70: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

I learned these rules the hard way…

But I developed some of the most complex international labor

migration models in their day:

Page 71: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 72: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 73: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 74: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

I did simplify by using Markov Chains and discrete rather than

continuous variables…

Page 75: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Transitions can be cut up in discrete states

Page 76: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

But many transitions are really continuous

Page 77: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 78: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 79: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

This allowed me to use a Markov chain structure

Page 80: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 81: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 82: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 83: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 84: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

But simple models can be very useful in our everyday work…

Page 85: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The steps to building a model:

• Simplification • Building a decision model • Testing the model (calibration on historical

data) • Using the model to find the solution: • A good Model can be used again and again

for similar problems or can be modified.

Source: Source: http://home.ubalt.edu/ntsbarsh/Busi ness-stat/opre504.htm#rapplIndexnu,p.9

Page 86: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Why the Modeling exercise is useful• It is a simplified representation of the actual

situation • It need not be complete or exact in all respects • It concentrates on the most essential

relationships and ignores the less essential ones.

• It is more easily understood than the empirical (i.e., observed) situation, and hence permits the problem to be solved more readily with minimum time and effort.

Source: http://home.ubalt.edu/ntsbarsh/Business-sta t/opre504.htm#rapplIndexnu,p.12-13

Page 87: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Examples of Applications of Modeling in Business & Management

• An auditor can use random sampling techniques to audit the accounts receivable for clients.

• A plant manager can use statistical quality control techniques to assure the quality of his production with a minimum of testing or inspection.

• A financial analyst may use regression and correlation to help understand the relationship of a financial ratio to a set of other variables in busi ness.

• A market researcher may use test of significance to accept or reject the hypotheses about a group of buyers to which the firm wishes to sell a particula r product.

• A sales manager may use statistical techniques to forecast sales for the coming year.

Source: http://home.ubalt.edu/ntsbarsh/Business-sta t/opre504.htm#rapplIndexnu,p.9

Page 88: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 89: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Complex Models And Meta-Studies

Page 90: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Why Build Complex Models?

Page 91: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 92: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 93: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 94: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 95: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 96: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 97: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 98: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 99: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 100: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 101: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 102: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 103: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Inconsistency!Something is wrong!

Page 104: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 105: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 106: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Inconsistency!Something is wrong!

Page 107: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Back to the drawing Board…There is something wrong in those

partial studies…We missed something.

Page 108: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Some try to build complex models, but others do Meta -Studies

Page 109: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Why would we want to build one big complex model rather than a

few separate small ones?

Page 110: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

To try to ensure consistency and proper understanding.

Page 111: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

To avoid the same problem we showed before…

Page 112: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 113: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 114: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 115: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 116: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 117: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 118: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 119: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 120: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 121: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 122: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 123: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 124: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 125: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Oops! Error! Result is not what it should be.

Page 126: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

So instead of building super complex models, we do a

complex statistical Meta Study

Page 127: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

That’s how Meta Studies WorkThat how science advances

Page 128: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

BUT…

Page 129: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Complexity of the system

• Sometimes the system is so complex that we cannot visualize the relations to be able to construct a simplified model, conceptual or quantitative

• Or the relations change over time at various rates that we cannot predict

• Different techniques have been tried and Agent-based modeling is one of these…

Page 130: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The Stockmarket

Page 131: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Complex world, complex transactions

Page 132: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science
Page 133: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Agent -Based Models

Page 134: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Agent-based Computational Economic

(ACE) Modeling

Page 135: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The Complexity of decentralized market economies

• Large numbers of economic agents involved in distributed local interactions.

• Two-way feedback between micro -structure and macro -regularities mediated by agent interactions

• Potential for strategic behavior• Pervasive behavioral uncertainty• Possible existence of multiple equilibria• Critical role of institutional arrangements

Page 136: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Agent-Based Computational Economics (ACE)

• Culture Dish approach to the study of decentralized market economies

• Experimental study of economies computationally modeled as evolving systems of autonomous interacting agents with learning capabilities.

Source: http://www.econ.iastate.edu/tesfatsi/acecon struct.pdf

Page 137: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

The Culture Dish Approach

• Researchers construct virtual economic world populated by Agents types (economic, social, biological, physical)

• Sets initial conditions• World then develops over time without

external interventions• World is driven solely by agent

interactions

Source: http://www.econ.iastate.edu/tesfatsi/acecon struct.pdf

Page 138: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE Modeling: The Culture Dish Analogy

Source: http://www.econ.iastate.edu/tesfatsi/acecon struct.pdf

Page 139: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE Modeling

Page 140: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Key Characteristics of ACE Models (I)

• Agents are encapsulated software programs capable of:– Adaptation to environmental conditions– Social communication with other agents– Goal-directed learning– Autonomy (self-activation and self-

determinism based on private internal processes)

Page 141: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Key Characteristics of ACE Models (II)

• Agents can be situated in realistically rendered problem environments

• Agents’ behavior/interaction patterns can evolve over time

Page 142: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Increased Facility For Modeling Autonomous Agents

• Distributed agent control , not just distributed agent actions

• Agents can decide for themselves which actions they perform based on private internal processes.

• Implication: Major source of uncertainty for agents in ACE models is not knowing what other agents will do (jargon: unpredictable endogenous heterogeneity)

Page 143: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Three Typical Problems

• ACE and Macro -Regularities

• ACE and Market Design

• ACE and Qualitative Analysis

Page 144: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE and Macro -Regularities

• Key Issue : Is there a causal explanation for a persistently observed macro regularity?

• Conventional approach: theoretical model, calibrated to the observations, and then test various hypotheses, including some partial comparative observations.

Page 145: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE and Macro -Regularities

• Key Issue : Is there a causal explanation for a persistently observed macro regularity?

• Ace Approach:• Construct an agent-based world capturing

salient aspects of the empirical situation.• Investigate whether the observed macro

situation can be reliably generated “from the bottom up” in this agent based world

• (ref.: Epstein/Axtell, 1996)

Page 146: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE and Market Design

• Key Issue: Does a proposed or actual market design ensure efficient, fair, and orderly market outcomes over time --- despite repeated efforts by traders to game the design for their own personal advantage?

Page 147: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE and Market Design

• ACE approach: • Construct an agent-based world

capturing salient aspects of the market design.

• Introduce self-interested traders with learning capabilities .

• Let the world develop over time; and observe/evaluate resulting market outcomes.

Page 148: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE and Qualitative Analysis

• Key issue : Constructive Understanding

• Example : if we had to construct a profit-seeking firm capable of surviving and thriving in a realistically rendered decentralized market economy, how would you go about it?

Page 149: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

ACE and Qualitative Analysis

• Key issue : Constructive Understanding

• Question:• If economists are not capable of

rising to this constructive challenge, to what extent can we be said to have a scientific understanding of real-world market economies?

Page 150: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

But others are looking to the complexity of nature to learn the

lessons of a new understanding…

Page 151: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Data Mining & Neural Networks

Page 152: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Data Mining

Page 153: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Some Examples of Data Mining

• Link Analysis: Amazon.com: if you bought that you may like this

• Geometric Clustering: a special form of link analysis

• Software agents• Machine learning• Neural networks

Page 154: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Neural Networks

Page 155: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Neural Networks

Page 156: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Most conventional computing is based on von Neumann Machine concepts

Page 157: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Conventional (von Neumann) Computers are

• Good at: – Fast arithmetic – Doing precisely what the programmer

programs them to do

• Not so good at:– Interacting with noisy data or data from the

environment – Massive parallelism – Fault tolerance – Adapting to circumstances

Page 158: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Conventional (von Neumann) Computers are

• Good at: – Fast arithmetic – Doing precisely what the programmer

programs them to do

• Not so good at:– Interacting with noisy data or data from the

environment – Massive parallelism – Fault tolerance – Adapting to circumstances

Page 159: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Neural Networks

• Based on the parallel architecture of animal brains.

• A form of multiprocessor computer system, with – Simple processing elements – A high degree of interconnection – Simple (scalar) messages – Adaptive interaction between elements

Page 160: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Neurons can have 10,000 connections providing input s and send signals to 1000s of other neurons. Neurons ar e wired

up in a 3-dimensional pattern.

Page 161: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Where can neural network systems help?

• where we can't formulate an algorithmic solution.

• where we can get lots of examples of the behavior we require.

• where we need to pick out the structure from existing data.

Page 162: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Real brains, however, are orders of magnitude more complex than any artificial neural network so far

considered.

Page 163: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

But we are still at the beginning of our efforts to understand the

complexity and chaos in nature or in our socio -economic systems

Page 164: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

That will be the topic of the next lecture…

Page 165: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

For now,Let’s check one more time…

Page 166: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Are we sinking? Or Swimming?

Page 167: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

So is everybody swimming?

Page 168: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Let’s fly together

Page 169: Lecture -- 8 -- Startsuper7/51011-52001/51511.pdfessential before, during, and after you build your quantitative model Lets look at a simple physics model The Interaction of Science

Thank You