Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why...

44
Modeling Behavior Psychology 891C
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    0

Transcript of Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why...

Page 1: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Modeling Behavior

Psychology 891C

Page 2: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Agenda

• Syllabus• Introductions• Modeling

– What is a model?– Why use

mathematical models?

– How to evaluate a model.

• Octave– Installation– Tutorial – Assignment 1

• Readings for week 2– Go over math– Choose a presenter

• Auditors

Page 3: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Modeling

• What is a model?

• Why use mathematical models?

• How to evaluate a model.

Page 4: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.
Page 5: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.
Page 6: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Braking Distance

• d = V2/(2g(f + G))

• Where:– d = Braking Distance (ft)– g = Acceleration due to gravity (32.2 ft/sec2)– G = Roadway grade as a percentage; for 2% use

0.02– V = Initial vehicle speed (ft/sec)– f = Coefficient of friction between the tires and the

roadway

Page 7: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

A Blue Beetle

• Step on the gas pedal and the vehicle accelerates.

• Step on the brake and the vehicle decelerates.

• Turn the wheel left/right the front wheel turn left/right.

Page 8: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

A Model is an Analogy that

• represents certain aspects of complex systems.

• in some way resemble the thing being modeled.

• is made up of a set of assumptions about the thing being modeled together with implications drawn from those assumptions.

Page 9: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 10: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 11: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 12: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 13: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

As the plane angle rate increases, the plane angle increases, which in turn increases the pitch depth and therefore pitch and depth increases.

All of this is shown in the display which the planesman can use to control plane angle rate…

Page 14: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Fβ2

χ ∈θ

∏β

∫∫∫ ⊕ χ ⋅ ′ ′ ˆ ξ

Page 15: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

ANOVA

Page 16: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Models of Theory

Page 17: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (LZW) decompressor

are needed to see this picture.P

(Rec

all)

Time

P(Recall)=a exp(-b*Time)

Page 18: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

A

A

A

A A

B

B

B

B

Hei

ght

Angle

Page 19: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

A Model is Not

• any equation.

• a theory.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 20: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Modeling

• What is a model?

• Why use mathematical models?

• How to evaluate a model.

Page 21: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

What’s Wrong With Verbal Models?

• Implications can be difficult to derive.

Page 22: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Dissonance Theory Example"The amount of dissonance

experienced by the person depends on the ratio of dissonant to consonant elements, where each element is weighted according to its importance to him... In sum, the magnitude of the dissonance experienced depends directly on the number and/or importance of consonant cognitions."

"Many derivations follow from the above formulation. For example ..., with the relative attractiveness of the two alternatives held constant, the more attractive they both are, the greater is the magnitude of the dissonance.”

Brem & Cohen, 1963

Page 23: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Dissonance =Smoking- + Quit+

Smoking+ + Quit -

Total_Attractiveness = (Smoking+ + Quit+) - (Smoking- + Quit -)

Relative_Attractiveness = (Smoking+ + Quit -) − (Smoking- + Quit+)

so, (Smoking- + Quit+) = (Smoking+ + Quit -) - Relative_Attractiveness

so, Dissonance = 1 - Relative_Attractiveness

Smoking+ + Quit−

1) Increase Smoking+ & Quit+ by same amount.

Dissonance increases.

2) Decrease Smoking- & Quit - by same amount.

Dissonance decreases.

3) Increase Smoking+ & decrease Quit - by same amount.

Dissonance Stays the same.

Page 24: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• To understand the behavior of a complex system.– Mechanical rat.– Broadbent’s model

of human attention.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 25: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• Must be precise– Cognitive dissonance example.– Check on compelling ideas

• Prototype enhancement effect.• Serial vs. parallel systems.• "While adultery rates for men and women may be

equalizing, men still have more partners than women do, and they are more likely to have one-night stands" (Leahey & Harris, 1985 and Hintzman, p 41).

Page 26: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• More readily falsifiable– Better able to get rid of inadequate

models.– “All things that are stored in memory can

be retrieved; we never forget anything; apparent forgetting is really due to a lack of storage.”

Page 27: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• Can derive implications– Especially unexpected implications.– Can be used to design new experiments.– Example: Prototype enhancement effect.

Page 28: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• Helps avoid reasoning errors– Working memory capacity.– Confusion of similar concepts and

percepts.– Mapping of meanings to words is not 1-to-

1.– Humans are biased to accept familiar

ideas.– …

Page 29: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• Practical applications

Page 30: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Why Use Mathematical Models?

• "One of the reasons why scientists and engineers spend so much time with [models] is that they are fun. They are fun to design, fun to build, and fun to look at" (Chapanis, p. 125).

• Scientists model "simply because it is the thing to do" (Chapanis, p 114).

Page 31: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Dangers of Modeling

• Poor communication.• Models can magnify the confirmation bias.• Models invite overgeneralization.• Models may constrain our research.• A->B, B, A?• Most psychological data is ordinal.• Model building takes away time from more

productive activities.

Page 32: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

Modeling

• What is a model?

• Why use mathematical models?

• How to evaluate a model.

Page 33: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How Models are Used

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 34: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 35: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How NOT to Evaluate a Model

• Trying to prove the model correct.

• The sophistication of the math.

• Solely relying on the accuracy of the model.

Page 36: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• DID THE MODEL HELP US LEARN ANYTHING?– Human judgment.– Evaluating assumptions of a model, not its

implementation.– Models don’t have to be true, just useful.

Page 37: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Goodness of fit– How well do

the model predictions match the data?

Trial Obs. Pr(E1)

Pred. Pr(E1)

1 .36 .37

2 .50 .51

3 .62 .63

4 .79 .70

5 .66 .66

Page 38: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Interpretability– How plausible and explicit are the

psychological assumptions of the model?

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 39: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Explanatory adequacy– One model or model class can handle

easily.– Another model class can only handle with

ad hoc assumptions.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 40: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Simplicity– Whether the model’s description of the

observed data is achieved in the simplest possible manner.

– Easiest to judge relative to other models.

Page 41: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.
Page 42: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Falsifiability– Whether there exists potential observations

that are incompatible with the model.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 43: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Faithfulness– Assumptions, not instantiation.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 44: Modeling Behavior Psychology 891C. Agenda Syllabus Introductions Modeling –What is a model? –Why use mathematical models? –How to evaluate a model. Octave.

How to Evaluate a Model

• Generalizability– How well does the

model generalize across different stimulus sets and configurations, different tasks, or response types and measures.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.