Maximum Likelihood Estimation of Utility Functions Using Stata

Slides:



Advertisements
Similar presentations
The Marginal Utility of Income Richard Layard* Guy Mayraz* Steve Nickell** * CEP, London School of Economics ** Nuffield College, Oxford.
Advertisements

L5: Dynamic Portfolio Management1 Lecture 5: Dynamic Portfolio Management The following topics will be covered: Will risks be washed out over time? Solve.
Paradoxes in Decision Making With a Solution. Lottery 1 $3000 S1 $4000 $0 80% 20% R1 80%20%
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved
Measuring and Estimating Risk Preferences February 21, 2013 Younjun Kim.
Managerial Decision Modeling with Spreadsheets
Glenn W. Harrison & E. Elisabet Rutström Economics, UCF
Nguyen Ngoc Anh Nguyen Ha Trang
Sensitivity and Scenario Analysis
Decision making and economics. Economic theories Economic theories provide normative standards Expected value Expected utility Specialized branches like.

Behavioral Finance and Asset Pricing What effect does psychological bias (irrationality) have on asset demands and asset prices?
Visual Recognition Tutorial
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter.
Decision-making II choosing between gambles neural basis of decision-making.
AN INTRODUCTION TO PORTFOLIO MANAGEMENT
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 16-1 Chapter 16 Decision Making Statistics for Managers Using Microsoft.
Portfolio Construction. Introduction Information analysis ignored real world issues. We now confront those issues directly, especially: –Constraints –Transactions.
Chapter 6 An Introduction to Portfolio Management.
Visual Recognition Tutorial
Behavior in the loss domain : an experiment using the probability trade-off consistency condition Olivier L’Haridon GRID, ESTP-ENSAM.
© 2012 Cengage Learning. All Rights Reserved. May not scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Chapter.
Version 1.2 Copyright © 2000 by Harcourt, Inc. All rights reserved. Requests for permission to make copies of any part of the work should be mailed to:
Portfolio Management-Learning Objective
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter 7.
Decision making Making decisions Optimal decisions Violations of rationality.
Some Background Assumptions Markowitz Portfolio Theory
Investment Analysis and Portfolio Management Chapter 7.
Agata Michalaszek Warsaw School of Social Psychology Information search patterns in risk judgment and in risky choices.
Thinking and Decision Making
Sequential Expected Utility Theory: Sequential Sampling in Economic Decision Making under Risk Andrea Isoni Andrea Isoni (Warwick) Graham Loomes Graham.
1 Chapter 7 Applying Simulation to Decision Problems.
John Hey LUISS, Italy and University of York, UK Gianna Lotito, University of Piemonte Orientale IAREP/SABE 2008 World Meeting at LUISS in Rome Naïve,
Investment Analysis and Portfolio Management First Canadian Edition By Reilly, Brown, Hedges, Chang 6.
Experiments on Risk Taking and Evaluation Periods Misread as Evidence of Myopic Loss Aversion Ganna Pogrebna June 30, 2007 Experiments on Risk Taking and.
Forecasting Choices. Types of Variable Variable Quantitative Qualitative Continuous Discrete (counting) Ordinal Nominal.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 16-1 Chapter 16 Decision Making Statistics for Managers Using Microsoft.
A Stochastic Expected Utility Theory Pavlo R. Blavatskyy June 2007.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 17-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 17-1 Chapter 17 Decision Making Basic Business Statistics 10 th Edition.
Data Mining in Finance, 1999 March 8, 1999 Extracting Risk-Neutral Densities from Option Prices using Mixture Binomial Trees Christian Pirkner Andreas.
Choice Behavior, Asset Integration and Natural Reference Points Steffen Andersen, Glenn W. Harrison & E. Elisabet Rutström.
Sequential decision behavior with reference-point preferences: Theory and experimental evidence - Daniel Schunk - Center for Doctoral Studies in Economics.
1 BA 555 Practical Business Analysis Linear Programming (LP) Sensitivity Analysis Simulation Agenda.
Logistic Regression Saed Sayad 1www.ismartsoft.com.
1 Chapter 8: Model Inference and Averaging Presented by Hui Fang.
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
BIL 104E Introduction to Scientific and Engineering Computing Lecture 4.
Markov Chain Monte Carlo in R
Supplementary Chapter B Optimization Models with Uncertainty
Logic of Hypothesis Testing
User-Written Functions
Deep Feedforward Networks
Decisions Under Risk and Uncertainty
CHAPTER 4 REPETITION CONTROL STRUCTURE / LOOPING
Equilibrium Asset Pricing
© 2016 Pearson Education, Ltd. All rights reserved.
Portfolio Risk Management : A Primer
The Last Race Effect Risk Preferences or Time Preferences
10701 / Machine Learning.
Lecture 07 More Repetition Richard Gesick.
Saif Ullah Lecture Presentation Software to accompany Investment Analysis and.
Lecture 4B More Repetition Richard Gesick
C++ for Engineers and Scientists Second Edition
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Some Design Recommendations For ASAP Studies
Chapter 17 Decision Making
Preference Modeling Lirong Xia. Preference Modeling Lirong Xia.
Panel Stochastic Frontier Models with Endogeneity in Stata
Presentation transcript:

Maximum Likelihood Estimation of Utility Functions Using Stata Glenn W. Harrison† May 2008 Presenter: Hanyu Xia

MLE of Utility Functions using Stata Estimating a CRRA Utility Function Extending the Economic Specification to Include Loss Aversion and Probability Weighting Adding Stochastic Errors Non-Parametric Estimation of the EUT Model Alternative Functional Forms for Utility Testing Non-Nested Models Mixture Models Maximum Simulated Likelihood We start with a standard Constant Relative Risk Aversion (CRRA) utility function and binary choice data over two lotteries, assuming expected utility theory (EUT). This step illustrates the basic economic and statistical logic, and introduces the core Stata syntax. We then consider an extension to consider loss aversion and probability weighting from Prospect Theory (PT)

Experiment design-Risk Averse Harrison and Rustrom [2005] 2 lotteries with “low” and “high” payoff Group 1X10X: provided the opportunity to give up the earnings in return for a chance with payments scaled up by 10 Group 10X: given only the 10X task Test whether the responses in the 10X task are affected by the prior experience of having seen the 1 X

Estimating a CRRA Utility Function Basic Stata Syntax

Estimating a standard CRRA Utility Function program define ML_eut0 Version 9.0 args lnf r * specify the arguments of this program tempvar choice prob0l prob1l prob2l prob3l prob0r prob1r prob2r prob3r endow m0 m1 m2 m3 y0 y1 y2 y3 euL euR euDiff * declare the temporary variables to be used quietly { * please do not display all these steps on the screen, for every ML iteration!

Estimating a standard CRRA Utility Function generate int `choice' = $ML_y1 * initialize the data generate double `prob0l' = $ML_y2 …… generate double `endow' = $ML_y14 replace `m0' = `endow'+`m0’ replace `m3' = `endow'+`m3’ generate double `y0' = `m0'^`r …… * evaluate the utility function generate double `y3' = `m3'^`r’ * construct the argument of the utility function

Estimating a standard CRRA Utility Function generate double `euL' = (`prob0l'*`y0')+(`prob1l'*`y1')+(`prob2l'*`y2')+(`prob3l'*`y3’) * calculate EU of each lottery generate double `euR' = (`prob0r'*`y0')+(`prob1r'*`y1')+(`prob2r'*`y2')+(`prob3r'*`y3') generate double `euDiff' = `euR' - `euL’ * get the index replace `lnf' = ln(normal( `euDiff')) if `choice’==1 …… * evaluate the likelihood replace `lnf' = ln(normal(-`euDiff')) if `choice'==0 replace ll = `lnf’ } end * save the calculated likelihood in an external storage variable (for post-processing, explained later)

Output ml model lf ML_eut0 (r: Choices P0left P1left P2left P3left P0right P1right P2right P3right prize0 prize1 prize2 prize3 stake = ), cluster(id) technique(nr) maximize initial: log pseudolikelihood = -10201.74 alternative: log pseudolikelihood = -10058.855 rescale: log pseudolikelihood = -10058.855 Iteration 0: log pseudolikelihood = -10058.855 (not concave) Iteration 1: log pseudolikelihood = -9617.4367 Iteration 2: log pseudolikelihood = -9512.9457 Iteration 3: log pseudolikelihood = -9512.8186 Iteration 4: log pseudolikelihood = -9512.8186 The “ml model” part invokes the Stata maximum likelihood model specification routine The “cluster(id)” command at the end tells Stata to treat the residuals from the same person as potentially correlated. with the “, maximize” option at the end to tell Stata to actually proceed with the optimization,

Output ml display “_cons” line, which displays the maximum-likelihood estimate and it’s standard error. Thus we have estimated that r^ = 0.792. This is the maximum likelihood CRRA coefficient in this case. This indicates that these subjects are risk averse.

Extending the Economic Specification to Include Loss Aversion and Probability Weighting Utility Fuction Tversky and Kahneman [1992] Weighting Function Tversky and Kahneman [1992]

Estimating a SPT Utility Function

Output ml model lf MLkt0 (alpha: Choices P0left P1left P2left P3left P0right P1right P2right P3right prize0 prize1 prize2 prize3 = ) (beta: ) (lambda: ) (gamma: ), cluster(id) technique(nr) maximize

Thank you for your attention!