Econ 8208 Homework 2 Due Date: May 7

Size: px
Start display at page:

Download "Econ 8208 Homework 2 Due Date: May 7"

Transcription

1 Econ 8208 Homework 2 Due Date: May 7 1 Preliminaries This homework is all about Hierarchical Linear Bayesian Models (HLBM in what follows) The formal setup of these can be introduced as follows Suppose there are j = 1,, m regressions you would like to estimate Assume there are i = 1,, n j data points for each of the m regressions We specify equations as follows: y i,1 = X i,1 β 1 + ε i,1, ε 1 iid N ( 0, σ1i 2 ) n1 y i,j = X i,j β j + ε i,j, ε j iid N ( 0, σj 2 ) I nj y i,m = X i,m β m + ε i,m, ε m iid N ( 0, σmi 2 ) nm Denote by y j is n j 1 column vector that contains values for dependent variable in equation j, and X j is the n j k matrix of regressors for equation j We assume errors ε j are not correlated across j: ε = ε 1 0 σ1i 2 n1 0 0 ε j N 0, 0 σ j 2I n j σmi 2 nj ε m 1

2 Instead, we capture the correlation across equations via the prior structure: β 1,1 = δ 1,1 z 1,1 + δ 2,1 z 1,2 + + δ nz,1z 1,nz + v 1,1 β 2,1 = δ 1,1 z 2,1 + δ 2,1 z 2,2 + + δ nz,1z 2,nz + v 2,1 β m,1 = δ 1,1 z m,1 + δ 2,1 z m,2 + + δ nz,1z m,nz + v m,1 β 1,2 = δ 1,2 z 1,1 + δ 2,2 z 1,2 + + δ nz,2z 1,nz + v 1,2 β 2,1 = δ 1,2 z 2,1 + δ 2,2 z 2,2 + + δ nz,2z 2,nz + v 2,1 β m,2 = δ 1,2 z m,1 + δ 2,2 z m,2 + + δ nz,2z m,nz + v m,2 β 1,k = δ 1,k z 1,1 + δ 2,k z 1,2 + + δ nz,kz 1,nz + v 1,k β 2,k = δ 1,k z 2,1 + δ 2,k z 2,2 + + δ nz,kz 2,nz + v 2,k β m,k = δ 1,k z m,1 + δ 2,k z m,2 + + δ nz,kz m,nz + v m,k (1) where ν j iid N (0, V β ), j = 1,, m Equations (1) specify a normal prior on β This prior can be rewritten more succintly as a multivariate regression: B = Zδ + V, B = β 1, Z = z 1 [, δ = δ 1 δ k ], V = ν 1 (2) β m z m ν m In the above, B is m k, Z is m n z, and δ is n z k Each column of δ has coefficients which describe how the mean of k coefficients varies as a function of z It will be convenient to assume independent priors on each σ 2 j : To complete the hierarchical model, we need priors on δ and V β : σ 2 j ν js 2 0j χ 2 ν j (3) V β IW (v, V ), (4) vec [δ] V β N ( vec [ δ], Vβ A 1) Here IW stands for Inverse Wishart distribution, and vec [A] is the vectorize function that turns a matrix into a column vector: ξ = ξ 11 ξ 12 ξ 21 ξ 22 vec [ξ] = ξ 11 ξ 21 ξ 12 ξ 22 2

3 In principle, these priors depend on other parameters (which are v, V, vec [ δ], and A) and one could in turn impose priors on those parameters as well For practical purposes, we stop here and refer to these as hyperparameters in what follows We pick those priors since those are the natural conjugate priors for multivariate regression model (2) 2 Application to Simulated Data The HLBM from part 1 can be estimated if one has the following data on y, X and z For this exercise, the data comes in a csv file named hw2 data simulatedcsv This file was generated by the following model: m = 2, so there are two equations to estimate; k = 3, so there are 3 regressors in each main equation of interest (including the constant), and n z = 2, so there are 2 auxilliary regressors in the mean equations (again, including the constant) There are n j = 5000 data points for each j The following example will help to think about the data: a single firm, call it Southwest Airlines, is interested in estimating demands for two of its products: tickets in couch class (equation 1) and tickets in business class (equation 2) 1 There regressors in X j can be thought of as measures of ticket prices and other observable attributes like trip mileage or service quality measures Finally, the variables in Z represent some relevant demographics, that presumably has an impact on distribution of tastes for attributes There are 8 columns in the csv file, each representing a specific variable The first two colums contain y 1 and y 2, the dependent variables for each of the two equations (quantities demanded) The next two columns have x 1,2 and x 1,3, which are the regressors for the first equation You can think of these as the 2nd and the 3rd column of X 1 (the first column being the constant) In columns 5 and 6 you can find x 2,2 and x 2,3, the regressors for the second equation of interest The final two columns contain z 1,2 and z 2,2 These are the second columns of matrix Z j for each of the two equations (the first column will again be a constant) You will notice that the only values in these two columns that are not equal to zero appear in the first row The zeros are completely irrelevant and they are there just to facilitate the data reading and writing from/to Matlab Only the two numbers from the first rows of z are of interest to you Your main equations will thus look like: y 1,i = β 1,1 + β 1,2 x 1,2,i + β 1,3 x 1,3,i + ε 1,i y 2,i = β 2,1 + β 2,2 x 2,2,i + β 2,3 x 2,3,i + ε 2,i 1 I fully admit this example does not account for any possible kind of endogeneity between p and q in demand curves 3

4 and your prior on β will look (by equation) as: β 1,1 = δ 1,1 + z 1 δ 2,1 + v 1,1 β 1,2 = δ 1,2 + z 1 δ 2,2 + v 1,2 β 1,3 = δ 1,3 + z 1 δ 2,3 + v 1,3 β 2,1 = δ 1,1 + z 2 δ 2,1 + v 2,1 β 2,2 = δ 1,2 + z 2 δ 2,2 + v 2,2 β 2,3 = δ 1,3 + z 2 δ 2,3 + v 2,3 with all appropriate distributions and parametrizations from the previous section Your primary goal is to simulate the posterior distribution for each β and σ 2 You will find parts and 37 of the Rossi, Allenby, and McCullogh s book extremely helpful in doing this See part 4 at the end of the assignment for details on the form of answer that is expected from you 3 Application to Actual Data Your next task involves applying the HLBM from part 1 to some real data We are interested in promotional response modeling Borden, a company producing sliced cheese, has data on some of its key accounts, which are defined as a combination of retailer and market area The data comes in the csv file hw2 data cheesecsv, which has four columns: 1 First colimn is the key account identifier, call it retailer There is information on 88 retailers for an average of 65 weeks (that is, for a given value of retailer, each observation is data on weekly sales) 2 Second column is the sales volume, call it volume 3 Third column is the measure of display activity, call it disp (more about this below) 4 Last, fourth column is sales price in dollars, call it price Thus weekly observations on sales volume and dollar price, as well as for the measure of display activity, are available Displays are a form of in-store advertising that consists of displaying given merchandise in a particular hot location in the store The available measure of display activity is the percentage of inventory that was on display, which varies from 0 to 1 The data is described in somewhat greater detail in the Rossi s book on pp Your primary goal is to estimate a model similar to the one discussed in the book and come up with your own version of Figure 37 from the book See part 4 below for details on the form of answer that is expected from you 4

5 4 Submission Requirements After you are done with programming, I want you to write a 5-7 page document that succintly summarizes your work Describe briefly how your programs work, and demonstrate some program output that would convince the reader that your work had been successful In particular, for every β i,j and for every σj 2, do the following: 1 Report the simulated means and standard deviations of the corresponding posterior distributions 2 Plot the figure similar to the one in the bottom panel of Rossi s Figure 34 to demonstrate convergence of your simulated Markov chain 3 Construct the autocorrelation function to formally test for convergence For the posteriors obtained in part 3 of this homework, also do the following Assume that you happen to control the cheese manufacturer Borden Your job is to determine the optimal decision on promotional measures for your products Specifically, you want to maximize the following profit function: π (q, θ disp ) = p (q, θ disp ) q c (q) where q is the number of products you consider promoting (assume it is a continuous variable for simplicity) and θ disp is the parameter that measures demand response to display activity The functions p ( ) and c ( ) are the inverse demand function and the total cost function, respectively, and they are assumed to take the following form: p (q, θ disp ) = 100 θ disp q and c (q) = 20q In case θ disp is deterministic, this profit maximization problem would be fairly straightforward However, you only know the posterior distribution for θ disp (call it f (θ disp ), so you will need to maximize the expected profit: max q π (q, θ disp ) f (θ disp ) dθ disp Θ disp (5) 4 Solve the problem in (5) and report your results Also, plot the expected profits as a function of q 5

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions 11. Consider the following linear program. Maximize z = 6x 1 + 3x 2 subject to x 1 + 2x 2 2x 1 + x 2 20 x 1 x 2 x

More information

Online Appendix. Online Appendix A: MCMC Algorithm. The model can be written in the hierarchical form: , Ω. V b {b k }, z, b, ν, S

Online Appendix. Online Appendix A: MCMC Algorithm. The model can be written in the hierarchical form: , Ω. V b {b k }, z, b, ν, S Online Appendix Online Appendix A: MCMC Algorithm The model can be written in the hierarchical form: U CONV β k β, β, X k, X β, Ω U CTR θ k θ, θ, X k, X θ, Ω b k {U CONV }, {U CTR b }, X k, X b, b, z,

More information

Partial derivatives, linear approximation and optimization

Partial derivatives, linear approximation and optimization ams 11b Study Guide 4 econ 11b Partial derivatives, linear approximation and optimization 1. Find the indicated partial derivatives of the functions below. a. z = 3x 2 + 4xy 5y 2 4x + 7y 2, z x = 6x +

More information

School of Business. Blank Page

School of Business. Blank Page Maxima and Minima 9 This unit is designed to introduce the learners to the basic concepts associated with Optimization. The readers will learn about different types of functions that are closely related

More information

2 Integration by Substitution

2 Integration by Substitution 86 Chapter 5 Integration 2 Integration by Substitution (a) Find a function P(x) that satisfies these conditions. Use the graphing utility of your calculator to graph this function. (b) Use trace and zoom

More information

Competition Between Networks: A Study in the Market for Yellow Pages Mark Rysman

Competition Between Networks: A Study in the Market for Yellow Pages Mark Rysman Competition Between Networks: A Study in the Market for Yellow Pages Mark Rysman 1 Network effects between consumers and advertisers. Consumers: Choose how much to use the yellow page directory j, given

More information

Bayesian Analysis of Multivariate Normal Models when Dimensions are Absent

Bayesian Analysis of Multivariate Normal Models when Dimensions are Absent Bayesian Analysis of Multivariate Normal Models when Dimensions are Absent Robert Zeithammer University of Chicago Peter Lenk University of Michigan http://webuser.bus.umich.edu/plenk/downloads.htm SBIES

More information

STA414/2104 Statistical Methods for Machine Learning II

STA414/2104 Statistical Methods for Machine Learning II STA414/2104 Statistical Methods for Machine Learning II Murat A. Erdogdu & David Duvenaud Department of Computer Science Department of Statistical Sciences Lecture 3 Slide credits: Russ Salakhutdinov Announcements

More information

Index. Pagenumbersfollowedbyf indicate figures; pagenumbersfollowedbyt indicate tables.

Index. Pagenumbersfollowedbyf indicate figures; pagenumbersfollowedbyt indicate tables. Index Pagenumbersfollowedbyf indicate figures; pagenumbersfollowedbyt indicate tables. Adaptive rejection metropolis sampling (ARMS), 98 Adaptive shrinkage, 132 Advanced Photo System (APS), 255 Aggregation

More information

What Happens When Wal-Mart Comes to Town. Panle Jia. A some earlier literature of comparative statics and market size

What Happens When Wal-Mart Comes to Town. Panle Jia. A some earlier literature of comparative statics and market size What Happens When Wal-Mart Comes to Town Panle Jia Review Breshnahan and Reiss A some earlier literature of comparative statics and market size Q = s(a P )sop = a 1 sq (s is market size) C i (q) =f + cq,

More information

ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS

ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS 1. THE CLASS OF MODELS y t {y s, s < t} p(y t θ t, {y s, s < t}) θ t = θ(s t ) P[S t = i S t 1 = j] = h ij. 2. WHAT S HANDY ABOUT IT Evaluating the

More information

Lecture Notes: Estimation of dynamic discrete choice models

Lecture Notes: Estimation of dynamic discrete choice models Lecture Notes: Estimation of dynamic discrete choice models Jean-François Houde Cornell University November 7, 2016 These lectures notes incorporate material from Victor Agguirregabiria s graduate IO slides

More information

DM559/DM545 Linear and integer programming

DM559/DM545 Linear and integer programming Department of Mathematics and Computer Science University of Southern Denmark, Odense March 26, 2018 Marco Chiarandini DM559/DM545 Linear and integer programming Sheet 1, Spring 2018 [pdf format] This

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 (Second Group of Students) Students with first letter of surnames G Z Due: February 12, 2013 1. Each

More information

Modeling conditional distributions with mixture models: Theory and Inference

Modeling conditional distributions with mixture models: Theory and Inference Modeling conditional distributions with mixture models: Theory and Inference John Geweke University of Iowa, USA Journal of Applied Econometrics Invited Lecture Università di Venezia Italia June 2, 2005

More information

The value of competitive information in forecasting FMCG retail product sales and category effects

The value of competitive information in forecasting FMCG retail product sales and category effects The value of competitive information in forecasting FMCG retail product sales and category effects Professor Robert Fildes r.fildes@lancaster.ac.uk Dr Tao Huang t.huang@lancaster.ac.uk Dr Didier Soopramanien

More information

ORI 390Q Models and Analysis of Manufacturing Systems First Exam, fall 1994

ORI 390Q Models and Analysis of Manufacturing Systems First Exam, fall 1994 ORI 90Q Models and Analysis of Manufacturing Systems First Exam, fall 1994 (time, defect rate) (12,0.05) 5 6 V A (16,0.07) (15,0.07) (5,0) M 1 1 2 M1 M2 O A (10,0.1) 7 8 V B (8,0.2) M4 2 4 M5 The figure

More information

A Note on Bayesian analysis of the random coefficient model using aggregate data, an alternative approach

A Note on Bayesian analysis of the random coefficient model using aggregate data, an alternative approach MPRA Munich Personal RePEc Archive A Note on Bayesian analysis of the random coefficient model using aggregate data, an alternative approach German Zenetti Goethe-University Frankfurt, School of Business

More information

Gibbs Sampling in Endogenous Variables Models

Gibbs Sampling in Endogenous Variables Models Gibbs Sampling in Endogenous Variables Models Econ 690 Purdue University Outline 1 Motivation 2 Identification Issues 3 Posterior Simulation #1 4 Posterior Simulation #2 Motivation In this lecture we take

More information

Marketing Research Session 10 Hypothesis Testing with Simple Random samples (Chapter 12)

Marketing Research Session 10 Hypothesis Testing with Simple Random samples (Chapter 12) Marketing Research Session 10 Hypothesis Testing with Simple Random samples (Chapter 12) Remember: Z.05 = 1.645, Z.01 = 2.33 We will only cover one-sided hypothesis testing (cases 12.3, 12.4.2, 12.5.2,

More information

Competitive Equilibrium

Competitive Equilibrium Competitive Equilibrium Econ 2100 Fall 2017 Lecture 16, October 26 Outline 1 Pareto Effi ciency 2 The Core 3 Planner s Problem(s) 4 Competitive (Walrasian) Equilibrium Decentralized vs. Centralized Economic

More information

Session IV Instrumental Variables

Session IV Instrumental Variables Impact Evaluation Session IV Instrumental Variables Christel M. J. Vermeersch January 008 Human Development Human Network Development Network Middle East and North Africa Middle East Region and North Africa

More information

Classical and Bayesian inference

Classical and Bayesian inference Classical and Bayesian inference AMS 132 January 18, 2018 Claudia Wehrhahn (UCSC) Classical and Bayesian inference January 18, 2018 1 / 9 Sampling from a Bernoulli Distribution Theorem (Beta-Bernoulli

More information

Social Science/Commerce Calculus I: Assignment #10 - Solutions Page 1/15

Social Science/Commerce Calculus I: Assignment #10 - Solutions Page 1/15 Social Science/Commerce Calculus I: Assignment #10 - Solutions Page 1/15 1. Consider the function f (x) = x - 8x + 3, on the interval 0 x 8. The global (absolute) maximum of f (x) (on the given interval)

More information

Bayesian Regression Linear and Logistic Regression

Bayesian Regression Linear and Logistic Regression When we want more than point estimates Bayesian Regression Linear and Logistic Regression Nicole Beckage Ordinary Least Squares Regression and Lasso Regression return only point estimates But what if we

More information

Unit 1- Function Families Quadratic Functions

Unit 1- Function Families Quadratic Functions Unit 1- Function Families Quadratic Functions The graph of a quadratic function is called a. Use a table of values to graph y = x 2. x f(x) = x 2 y (x,y) -2-1 0 1 2 Verify your graph is correct by graphing

More information

The Diffusion of Wal-Mart and Economies of Density. by Tom Holmes

The Diffusion of Wal-Mart and Economies of Density. by Tom Holmes The Diffusion of Wal-Mart and Economies of Density by Tom Holmes Economies of Density: network of stores. Cost savings achieved by having a dense Logistics of deliveries Save on trucking costs Facilitates

More information

Gibbs Sampling in Linear Models #2

Gibbs Sampling in Linear Models #2 Gibbs Sampling in Linear Models #2 Econ 690 Purdue University Outline 1 Linear Regression Model with a Changepoint Example with Temperature Data 2 The Seemingly Unrelated Regressions Model 3 Gibbs sampling

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 (First Group of Students) Students with first letter of surnames A F Due: February 12, 2013 1. Each student

More information

OPTIMIZATION UNDER CONSTRAINTS

OPTIMIZATION UNDER CONSTRAINTS OPTIMIZATION UNDER CONSTRAINTS Summary 1. Optimization between limits... 1 2. Exercise... 4 3. Optimization under constraints with multiple variables... 5 Suppose that in a firm s production plan, it was

More information

NETWORK EFFECTS: THE INFLUENCE OF STRUCTURAL CAPITAL ON OPEN SOURCE PROJECT SUCCESS

NETWORK EFFECTS: THE INFLUENCE OF STRUCTURAL CAPITAL ON OPEN SOURCE PROJECT SUCCESS RESEARCH ARTICLE ETWORK EFFECTS: THE IFLUECE OF STRUCTURAL CAPITAL O OPE SOURCE PROJECT SUCCESS Param Vir Singh David A. Tepper School of Business, Carnegie Mellon University, Pittsburgh, PA 15213 U.S.A.

More information

An empirical model of firm entry with endogenous product-type choices

An empirical model of firm entry with endogenous product-type choices and An empirical model of firm entry with endogenous product-type choices, RAND Journal of Economics 31 Jan 2013 Introduction and Before : entry model, identical products In this paper : entry with simultaneous

More information

Gaussian processes. Chuong B. Do (updated by Honglak Lee) November 22, 2008

Gaussian processes. Chuong B. Do (updated by Honglak Lee) November 22, 2008 Gaussian processes Chuong B Do (updated by Honglak Lee) November 22, 2008 Many of the classical machine learning algorithms that we talked about during the first half of this course fit the following pattern:

More information

Math 116: Business Calculus Chapter 4 - Calculating Derivatives

Math 116: Business Calculus Chapter 4 - Calculating Derivatives Math 116: Business Calculus Chapter 4 - Calculating Derivatives Instructor: Colin Clark Spring 2017 Exam 2 - Thursday March 9. 4.1 Techniques for Finding Derivatives. 4.2 Derivatives of Products and Quotients.

More information

MA Lesson 29 Notes

MA Lesson 29 Notes MA 15910 Lesson 9 Notes Absolute Maximums or Absolute Minimums (Absolute Extrema) in a Closed Interval: Let f be a continuous function on a closed interval [a, b].. Let c be a number in that interval.

More information

Math Introduction to Operations Research

Math Introduction to Operations Research Math 30210 Introduction to Operations Research Assignment 1 (50 points total) Due before class, Wednesday September 5, 2007 Instructions: Please present your answers neatly and legibly. Include a cover

More information

LP Definition and Introduction to Graphical Solution Active Learning Module 2

LP Definition and Introduction to Graphical Solution Active Learning Module 2 LP Definition and Introduction to Graphical Solution Active Learning Module 2 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material

More information

Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment

Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment problem. There are four people (1, 2, 3, 4) and four jobs (A, B,

More information

Machine Learning, Fall 2012 Homework 2

Machine Learning, Fall 2012 Homework 2 0-60 Machine Learning, Fall 202 Homework 2 Instructors: Tom Mitchell, Ziv Bar-Joseph TA in charge: Selen Uguroglu email: sugurogl@cs.cmu.edu SOLUTIONS Naive Bayes, 20 points Problem. Basic concepts, 0

More information

Forecasting with Bayesian Global Vector Autoregressive Models

Forecasting with Bayesian Global Vector Autoregressive Models Forecasting with Bayesian Global Vector Autoregressive Models A Comparison of Priors Jesús Crespo Cuaresma WU Vienna Martin Feldkircher OeNB Florian Huber WU Vienna 8th ECB Workshop on Forecasting Techniques

More information

Part 8: GLMs and Hierarchical LMs and GLMs

Part 8: GLMs and Hierarchical LMs and GLMs Part 8: GLMs and Hierarchical LMs and GLMs 1 Example: Song sparrow reproductive success Arcese et al., (1992) provide data on a sample from a population of 52 female song sparrows studied over the course

More information

Econometrics Problem Set 11

Econometrics Problem Set 11 Econometrics Problem Set WISE, Xiamen University Spring 207 Conceptual Questions. (SW 2.) This question refers to the panel data regressions summarized in the following table: Dependent variable: ln(q

More information

Econ 172A, Fall 2012: Final Examination (I) 1. The examination has seven questions. Answer them all.

Econ 172A, Fall 2012: Final Examination (I) 1. The examination has seven questions. Answer them all. Econ 172A, Fall 12: Final Examination (I) Instructions. 1. The examination has seven questions. Answer them all. 2. If you do not know how to interpret a question, then ask me. 3. Questions 1- require

More information

Module 11: Linear Regression. Rebecca C. Steorts

Module 11: Linear Regression. Rebecca C. Steorts Module 11: Linear Regression Rebecca C. Steorts Announcements Today is the last class Homework 7 has been extended to Thursday, April 20, 11 PM. There will be no lab tomorrow. There will be office hours

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 1 Second Group of Students (with first letter of surnames I Z) Problem Set Rules: Due: February 12, 2013 1. Each student should

More information

Metropolis Hastings. Rebecca C. Steorts Bayesian Methods and Modern Statistics: STA 360/601. Module 9

Metropolis Hastings. Rebecca C. Steorts Bayesian Methods and Modern Statistics: STA 360/601. Module 9 Metropolis Hastings Rebecca C. Steorts Bayesian Methods and Modern Statistics: STA 360/601 Module 9 1 The Metropolis-Hastings algorithm is a general term for a family of Markov chain simulation methods

More information

Econ Some Bayesian Econometrics

Econ Some Bayesian Econometrics Econ 8208- Some Bayesian Econometrics Patrick Bajari Patrick Bajari () Econ 8208- Some Bayesian Econometrics 1 / 72 Motivation Next we shall begin to discuss Gibbs sampling and Markov Chain Monte Carlo

More information

Empirical Industrial Organization (ECO 310) University of Toronto. Department of Economics Fall Instructor: Victor Aguirregabiria

Empirical Industrial Organization (ECO 310) University of Toronto. Department of Economics Fall Instructor: Victor Aguirregabiria Empirical Industrial Organization (ECO 30) University of Toronto. Department of Economics Fall 208. Instructor: Victor Aguirregabiria FINAL EXAM Tuesday, December 8th, 208. From 7pm to 9pm (2 hours) Exam

More information

05 Regression with time lags: Autoregressive Distributed Lag Models. Andrius Buteikis,

05 Regression with time lags: Autoregressive Distributed Lag Models. Andrius Buteikis, 05 Regression with time lags: Autoregressive Distributed Lag Models Andrius Buteikis, andrius.buteikis@mif.vu.lt http://web.vu.lt/mif/a.buteikis/ Introduction The goal of a researcher working with time

More information

COS513 LECTURE 8 STATISTICAL CONCEPTS

COS513 LECTURE 8 STATISTICAL CONCEPTS COS513 LECTURE 8 STATISTICAL CONCEPTS NIKOLAI SLAVOV AND ANKUR PARIKH 1. MAKING MEANINGFUL STATEMENTS FROM JOINT PROBABILITY DISTRIBUTIONS. A graphical model (GM) represents a family of probability distributions

More information

Statistics & Data Sciences: First Year Prelim Exam May 2018

Statistics & Data Sciences: First Year Prelim Exam May 2018 Statistics & Data Sciences: First Year Prelim Exam May 2018 Instructions: 1. Do not turn this page until instructed to do so. 2. Start each new question on a new sheet of paper. 3. This is a closed book

More information

Statistical learning. Chapter 20, Sections 1 4 1

Statistical learning. Chapter 20, Sections 1 4 1 Statistical learning Chapter 20, Sections 1 4 Chapter 20, Sections 1 4 1 Outline Bayesian learning Maximum a posteriori and maximum likelihood learning Bayes net learning ML parameter learning with complete

More information

Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment

Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment problem. There are four people (1, 2, 3, 4) and four jobs (A, B,

More information

Introduction to Discrete Choice Models

Introduction to Discrete Choice Models Chapter 7 Introduction to Dcrete Choice Models 7.1 Introduction It has been mentioned that the conventional selection bias model requires estimation of two structural models, namely the selection model

More information

Notes on Heterogeneity, Aggregation, and Market Wage Functions: An Empirical Model of Self-Selection in the Labor Market

Notes on Heterogeneity, Aggregation, and Market Wage Functions: An Empirical Model of Self-Selection in the Labor Market Notes on Heterogeneity, Aggregation, and Market Wage Functions: An Empirical Model of Self-Selection in the Labor Market Heckman and Sedlacek, JPE 1985, 93(6), 1077-1125 James Heckman University of Chicago

More information

INFERENCE APPROACHES FOR INSTRUMENTAL VARIABLE QUANTILE REGRESSION. 1. Introduction

INFERENCE APPROACHES FOR INSTRUMENTAL VARIABLE QUANTILE REGRESSION. 1. Introduction INFERENCE APPROACHES FOR INSTRUMENTAL VARIABLE QUANTILE REGRESSION VICTOR CHERNOZHUKOV CHRISTIAN HANSEN MICHAEL JANSSON Abstract. We consider asymptotic and finite-sample confidence bounds in instrumental

More information

2. Linear Programming Problem

2. Linear Programming Problem . Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6

More information

General Mathematics 2018 Chapter 5 - Matrices

General Mathematics 2018 Chapter 5 - Matrices General Mathematics 2018 Chapter 5 - Matrices Key knowledge The concept of a matrix and its use to store, display and manipulate information. Types of matrices (row, column, square, zero, identity) and

More information

Homework 1 Solutions Probability, Maximum Likelihood Estimation (MLE), Bayes Rule, knn

Homework 1 Solutions Probability, Maximum Likelihood Estimation (MLE), Bayes Rule, knn Homework 1 Solutions Probability, Maximum Likelihood Estimation (MLE), Bayes Rule, knn CMU 10-701: Machine Learning (Fall 2016) https://piazza.com/class/is95mzbrvpn63d OUT: September 13th DUE: September

More information

Simplex tableau CE 377K. April 2, 2015

Simplex tableau CE 377K. April 2, 2015 CE 377K April 2, 2015 Review Reduced costs Basic and nonbasic variables OUTLINE Review by example: simplex method demonstration Outline Example You own a small firm producing construction materials for

More information

Timevarying VARs. Wouter J. Den Haan London School of Economics. c Wouter J. Den Haan

Timevarying VARs. Wouter J. Den Haan London School of Economics. c Wouter J. Den Haan Timevarying VARs Wouter J. Den Haan London School of Economics c Wouter J. Den Haan Time-Varying VARs Gibbs-Sampler general idea probit regression application (Inverted Wishart distribution Drawing from

More information

Introduction to Industrial Organization Professor: Caixia Shen Fall 2014 Lecture Note 12 Price discrimination (ch 10)-continue

Introduction to Industrial Organization Professor: Caixia Shen Fall 2014 Lecture Note 12 Price discrimination (ch 10)-continue Introduction to Industrial Organization Professor: Caixia Shen Fall 2014 Lecture Note 12 Price discrimination (ch 10)-continue 2 nd degree price discrimination We have discussed that firms charged different

More information

Machine Learning and Computational Statistics, Spring 2017 Homework 2: Lasso Regression

Machine Learning and Computational Statistics, Spring 2017 Homework 2: Lasso Regression Machine Learning and Computational Statistics, Spring 2017 Homework 2: Lasso Regression Due: Monday, February 13, 2017, at 10pm (Submit via Gradescope) Instructions: Your answers to the questions below,

More information

Bayesian spatial hierarchical modeling for temperature extremes

Bayesian spatial hierarchical modeling for temperature extremes Bayesian spatial hierarchical modeling for temperature extremes Indriati Bisono Dr. Andrew Robinson Dr. Aloke Phatak Mathematics and Statistics Department The University of Melbourne Maths, Informatics

More information

Efficient Bayesian Multivariate Surface Regression

Efficient Bayesian Multivariate Surface Regression Efficient Bayesian Multivariate Surface Regression Feng Li (joint with Mattias Villani) Department of Statistics, Stockholm University October, 211 Outline of the talk 1 Flexible regression models 2 The

More information

TESTING FOR CO-INTEGRATION

TESTING FOR CO-INTEGRATION Bo Sjö 2010-12-05 TESTING FOR CO-INTEGRATION To be used in combination with Sjö (2008) Testing for Unit Roots and Cointegration A Guide. Instructions: Use the Johansen method to test for Purchasing Power

More information

Appendix: Modeling Approach

Appendix: Modeling Approach AFFECTIVE PRIMACY IN INTRAORGANIZATIONAL TASK NETWORKS Appendix: Modeling Approach There is now a significant and developing literature on Bayesian methods in social network analysis. See, for instance,

More information

Efficient Bayesian Multivariate Surface Regression

Efficient Bayesian Multivariate Surface Regression Efficient Bayesian Multivariate Surface Regression Feng Li feng.li@cufe.edu.cn School of Statistics and Mathematics Central University of Finance and Economics Outline of the talk 1 Introduction to flexible

More information

Supplementary Appendix to Dynamic Asset Price Jumps: the Performance of High Frequency Tests and Measures, and the Robustness of Inference

Supplementary Appendix to Dynamic Asset Price Jumps: the Performance of High Frequency Tests and Measures, and the Robustness of Inference Supplementary Appendix to Dynamic Asset Price Jumps: the Performance of High Frequency Tests and Measures, and the Robustness of Inference Worapree Maneesoonthorn, Gael M. Martin, Catherine S. Forbes August

More information

Dynamic Models with Serial Correlation: Particle Filter Based Estimation

Dynamic Models with Serial Correlation: Particle Filter Based Estimation Dynamic Models with Serial Correlation: Particle Filter Based Estimation April 6, 04 Guest Instructor: Nathan Yang nathan.yang@yale.edu Class Overview ( of ) Questions we will answer in today s class:

More information

INTRODUCTION TO TRANSPORTATION SYSTEMS

INTRODUCTION TO TRANSPORTATION SYSTEMS INTRODUCTION TO TRANSPORTATION SYSTEMS Lectures 5/6: Modeling/Equilibrium/Demand 1 OUTLINE 1. Conceptual view of TSA 2. Models: different roles and different types 3. Equilibrium 4. Demand Modeling References:

More information

Handout 1: Introduction to Dynamic Programming. 1 Dynamic Programming: Introduction and Examples

Handout 1: Introduction to Dynamic Programming. 1 Dynamic Programming: Introduction and Examples SEEM 3470: Dynamic Optimization and Applications 2013 14 Second Term Handout 1: Introduction to Dynamic Programming Instructor: Shiqian Ma January 6, 2014 Suggested Reading: Sections 1.1 1.5 of Chapter

More information

Advances and Applications in Perfect Sampling

Advances and Applications in Perfect Sampling and Applications in Perfect Sampling Ph.D. Dissertation Defense Ulrike Schneider advisor: Jem Corcoran May 8, 2003 Department of Applied Mathematics University of Colorado Outline Introduction (1) MCMC

More information

Linear Models in Econometrics

Linear Models in Econometrics Linear Models in Econometrics Nicky Grant At the most fundamental level econometrics is the development of statistical techniques suited primarily to answering economic questions and testing economic theories.

More information

Dynamic Pricing in the Presence of Competition with Reference Price Effect

Dynamic Pricing in the Presence of Competition with Reference Price Effect Applied Mathematical Sciences, Vol. 8, 204, no. 74, 3693-3708 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/0.2988/ams.204.44242 Dynamic Pricing in the Presence of Competition with Reference Price Effect

More information

Bayesian Econometrics

Bayesian Econometrics Bayesian Econometrics Christopher A. Sims Princeton University sims@princeton.edu September 20, 2016 Outline I. The difference between Bayesian and non-bayesian inference. II. Confidence sets and confidence

More information

Econometric Analysis of Games 1

Econometric Analysis of Games 1 Econometric Analysis of Games 1 HT 2017 Recap Aim: provide an introduction to incomplete models and partial identification in the context of discrete games 1. Coherence & Completeness 2. Basic Framework

More information

Bayesian inference. Fredrik Ronquist and Peter Beerli. October 3, 2007

Bayesian inference. Fredrik Ronquist and Peter Beerli. October 3, 2007 Bayesian inference Fredrik Ronquist and Peter Beerli October 3, 2007 1 Introduction The last few decades has seen a growing interest in Bayesian inference, an alternative approach to statistical inference.

More information

Lecture 6. Xavier Gabaix. March 11, 2004

Lecture 6. Xavier Gabaix. March 11, 2004 14.127 Lecture 6 Xavier Gabaix March 11, 2004 0.0.1 Shrouded attributes. A continuation Rational guys U i = q p + max (V p, V e) + σε i = q p + V min (p, e) + σε i = U i + σε i Rational demand for good

More information

The Impact of Advertising on Media Bias. Web Appendix

The Impact of Advertising on Media Bias. Web Appendix 1 The Impact of Advertising on Media Bias Esther Gal-Or, Tansev Geylani, Tuba Pinar Yildirim Web Appendix DERIVATIONS OF EQUATIONS 16-17 AND PROOF OF LEMMA 1 (i) Single-Homing: Second stage prices are

More information

Lecture 6: Sections 2.2 and 2.3 Polynomial Functions, Quadratic Models

Lecture 6: Sections 2.2 and 2.3 Polynomial Functions, Quadratic Models L6-1 Lecture 6: Sections 2.2 and 2.3 Polynomial Functions, Quadratic Models Polynomial Functions Def. A polynomial function of degree n is a function of the form f(x) = a n x n + a n 1 x n 1 +... + a 1

More information

Oblivious Equilibrium: A Mean Field Approximation for Large-Scale Dynamic Games

Oblivious Equilibrium: A Mean Field Approximation for Large-Scale Dynamic Games Oblivious Equilibrium: A Mean Field Approximation for Large-Scale Dynamic Games Gabriel Y. Weintraub, Lanier Benkard, and Benjamin Van Roy Stanford University {gweintra,lanierb,bvr}@stanford.edu Abstract

More information

CEMMAP Masterclass: Empirical Models of Comparative Advantage and the Gains from Trade 1 Lecture 3: Gravity Models

CEMMAP Masterclass: Empirical Models of Comparative Advantage and the Gains from Trade 1 Lecture 3: Gravity Models CEMMAP Masterclass: Empirical Models of Comparative Advantage and the Gains from Trade 1 Lecture 3: Gravity Models Dave Donaldson (MIT) CEMMAP MC July 2018 1 All material based on earlier courses taught

More information

A Bayesian Perspective on Residential Demand Response Using Smart Meter Data

A Bayesian Perspective on Residential Demand Response Using Smart Meter Data A Bayesian Perspective on Residential Demand Response Using Smart Meter Data Datong-Paul Zhou, Maximilian Balandat, and Claire Tomlin University of California, Berkeley [datong.zhou, balandat, tomlin]@eecs.berkeley.edu

More information

ECON 331 Homework #2 - Solution. In a closed model the vector of external demand is zero, so the matrix equation writes:

ECON 331 Homework #2 - Solution. In a closed model the vector of external demand is zero, so the matrix equation writes: ECON 33 Homework #2 - Solution. (Leontief model) (a) (i) The matrix of input-output A and the vector of level of production X are, respectively:.2.3.2 x A =.5.2.3 and X = y.3.5.5 z In a closed model the

More information

Click to edit Master title style

Click to edit Master title style Impact Evaluation Technical Track Session IV Click to edit Master title style Instrumental Variables Christel Vermeersch Amman, Jordan March 8-12, 2009 Click to edit Master subtitle style Human Development

More information

Trip Generation Characteristics of Super Convenience Market Gasoline Pump Stores

Trip Generation Characteristics of Super Convenience Market Gasoline Pump Stores Trip Generation Characteristics of Super Convenience Market Gasoline Pump Stores This article presents the findings of a study that investigated trip generation characteristics of a particular chain of

More information

Homework 2 Solutions Kernel SVM and Perceptron

Homework 2 Solutions Kernel SVM and Perceptron Homework 2 Solutions Kernel SVM and Perceptron CMU 1-71: Machine Learning (Fall 21) https://piazza.com/cmu/fall21/17115781/home OUT: Sept 25, 21 DUE: Oct 8, 11:59 PM Problem 1: SVM decision boundaries

More information

Introduction to Operations Research. Linear Programming

Introduction to Operations Research. Linear Programming Introduction to Operations Research Linear Programming Solving Optimization Problems Linear Problems Non-Linear Problems Combinatorial Problems Linear Problems Special form of mathematical programming

More information

Masters Comprehensive Examination Department of Statistics, University of Florida

Masters Comprehensive Examination Department of Statistics, University of Florida Masters Comprehensive Examination Department of Statistics, University of Florida May 6, 003, 8:00 am - :00 noon Instructions: You have four hours to answer questions in this examination You must show

More information

Economics 203: Intermediate Microeconomics. Calculus Review. A function f, is a rule assigning a value y for each value x.

Economics 203: Intermediate Microeconomics. Calculus Review. A function f, is a rule assigning a value y for each value x. Economics 203: Intermediate Microeconomics Calculus Review Functions, Graphs and Coordinates Econ 203 Calculus Review p. 1 Functions: A function f, is a rule assigning a value y for each value x. The following

More information

This operation is - associative A + (B + C) = (A + B) + C; - commutative A + B = B + A; - has a neutral element O + A = A, here O is the null matrix

This operation is - associative A + (B + C) = (A + B) + C; - commutative A + B = B + A; - has a neutral element O + A = A, here O is the null matrix 1 Matrix Algebra Reading [SB] 81-85, pp 153-180 11 Matrix Operations 1 Addition a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn + b 11 b 12 b 1n b 21 b 22 b 2n b m1 b m2 b mn a 11 + b 11 a 12 + b 12 a 1n

More information

MS-E2140. Lecture 1. (course book chapters )

MS-E2140. Lecture 1. (course book chapters ) Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form Graphical representation

More information

Vector Auto-Regressive Models

Vector Auto-Regressive Models Vector Auto-Regressive Models Laurent Ferrara 1 1 University of Paris Nanterre M2 Oct. 2018 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions

More information

ST 740: Model Selection

ST 740: Model Selection ST 740: Model Selection Alyson Wilson Department of Statistics North Carolina State University November 25, 2013 A. Wilson (NCSU Statistics) Model Selection November 25, 2013 1 / 29 Formal Bayesian Model

More information

Massachusetts Institute of Technology

Massachusetts Institute of Technology Massachusetts Institute of Technology 6.867 Machine Learning, Fall 2006 Problem Set 5 Due Date: Thursday, Nov 30, 12:00 noon You may submit your solutions in class or in the box. 1. Wilhelm and Klaus are

More information

Stat 451 Lecture Notes Markov Chain Monte Carlo. Ryan Martin UIC

Stat 451 Lecture Notes Markov Chain Monte Carlo. Ryan Martin UIC Stat 451 Lecture Notes 07 12 Markov Chain Monte Carlo Ryan Martin UIC www.math.uic.edu/~rgmartin 1 Based on Chapters 8 9 in Givens & Hoeting, Chapters 25 27 in Lange 2 Updated: April 4, 2016 1 / 42 Outline

More information

Discussion Papers in Economics

Discussion Papers in Economics Discussion Papers in Economics No. 10/11 A General Equilibrium Corporate Finance Theorem for Incomplete Markets: A Special Case By Pascal Stiefenhofer, University of York Department of Economics and Related

More information

Regression Analysis. BUS 735: Business Decision Making and Research

Regression Analysis. BUS 735: Business Decision Making and Research Regression Analysis BUS 735: Business Decision Making and Research 1 Goals and Agenda Goals of this section Specific goals Learn how to detect relationships between ordinal and categorical variables. Learn

More information