AAMP Training Materials Module 3.2: Measuring Food Price Transmission Nicholas Minot (IFPRI)

Slides:



Advertisements
Similar presentations
Cointegration and Error Correction Models
Advertisements

Agricultural Development Economics Division (ESA) Food and Agriculture Organization of the United Nations How did international price movements affect.
Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
Lesson 10: Linear Regression and Correlation
Applied Econometrics Second edition
13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Describing Relationships Using Correlation and Regression
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Data Freshman Clinic II. Overview n Populations and Samples n Presentation n Tables and Figures n Central Tendency n Variability n Confidence Intervals.
Examining Relationship of Variables  Response (dependent) variable - measures the outcome of a study.  Explanatory (Independent) variable - explains.
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
RESEARCH STATISTICS Jobayer Hossain Larry Holmes, Jr November 6, 2008 Examining Relationship of Variables.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 11 th Edition.
Correlation and Regression Analysis
Linear Regression and Correlation Topic 18. Linear Regression  Is the link between two factors i.e. one value depends on the other.  E.g. Drivers age.
Spreadsheet Problem Solving
Example 16.3 Estimating Total Cost for Several Products.
1 Chapter 10 Correlation and Regression We deal with two variables, x and y. Main goal: Investigate how x and y are related, or correlated; how much they.
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
Simple Linear Regression
Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and.
DISCLAIMER This guide is meant to walk you through the physical process of graphing and regression in Excel…. not to describe when and why you might want.
Lecture 3-2 Summarizing Relationships among variables ©
Inference for regression - Simple linear regression
Correlation Scatter Plots Correlation Coefficients Significance Test.
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 10-1 Review and Preview.
Chapter 6 & 7 Linear Regression & Correlation
Linear Trend Lines = b 0 + b 1 X t Where is the dependent variable being forecasted X t is the independent variable being used to explain Y. In Linear.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Copyright © 2010 Pearson Education, Inc Chapter Seventeen Correlation and Regression.
CHAPTER 14 MULTIPLE REGRESSION
Statistics for the Social Sciences Psychology 340 Fall 2013 Correlation and Regression.
Correlation is a statistical technique that describes the degree of relationship between two variables when you have bivariate data. A bivariate distribution.
Examining Relationships in Quantitative Research
Statistical analysis Outline that error bars are a graphical representation of the variability of data. The knowledge that any individual measurement.
Managerial Economics Demand Estimation & Forecasting.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
Time series Model assessment. Tourist arrivals to NZ Period is quarterly.
Trend Projection Model b0b0 b1b1 YiYi
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Correlation The apparent relation between two variables.
Correlation & Regression Analysis
Chapter 8: Simple Linear Regression Yang Zhenlin.
AAMP Training Materials Module 3.3: Household Impact of Staple Food Price Changes Nicholas Minot (IFPRI)
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.2 Prepared.
Discovering Mathematics Week 9 – Unit 6 Graphs MU123 Dr. Hassan Sharafuddin.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
INFLATION AND UNEMPLOYMENT - IS THERE A CORRELATION? 1 © Council for Economic Education.
Chapter 13 Linear Regression and Correlation. Our Objectives  Draw a scatter diagram.  Understand and interpret the terms dependent and independent.
Chapter 15 Multiple Regression Model Building
The simple linear regression model and parameter estimation
Statistical analysis.
Regression Analysis.
Inference for Least Squares Lines
Correlation and Simple Linear Regression
Statistical analysis.
Elementary Statistics
Chapter 15 Linear Regression
Regression and Residual Plots
Correlation and Simple Linear Regression
AAMP Training Materials
Correlation and Regression
Correlation and Simple Linear Regression
Simple Linear Regression and Correlation
Presentation transcript:

AAMP Training Materials Module 3.2: Measuring Food Price Transmission Nicholas Minot (IFPRI)

Objectives Understand what price transmission is and why it occurs Compute elasticity of price transmission Measure price transmission –Simple percentage changes –Correlation analysis –Regression analysis Examine non-stationary data

Background Material What is price transmission? Why is it important to study price transmission? Why does price transmission occur? Introduction to elasticity of price transmission

What is price transmission? Price transmission is when a change in one price causes another price to change Three types of price transmission: –Spatial: Price of maize in South Africa price of maize in Mozambique –Vertical: Price of wheat price of flour –Cross-commodity: Price of maize price of rice

Why is it important to study price transmission? Study of price transmission helps to understand causes of changes in prices, necessary to address root causes –Example: If little price transmission from world markets, then trade policy will not be effective in reducing volatility Study of price transmission may help forecast prices based on trends in related prices –Example: If changes in soybean prices transmitted to sunflower markets, then soybean futures markets may predict sunflower prices Study of price transmission helps diagnose poorly functioning markets –Example: If two markets are close together, but show little price transmission, this may indicate problems with transportation network or monopolistic practices

Why does price transmission occur? Spatial price transmission occurs because of flows of goods between markets –If price gap > marketing costs, trade flows will narrow gap –If price gap < marketing cost, no flows –Therefore, price gap <= marketing cost Maize prices in Maputo & Chokwe

Why does price transmission occur? Vertical price transmission occurs because of flows of goods along marketing channel Maize grain and maize meal prices in Kitwe, Zambia Maize meal Maize grain

Why does price transmission occur? Cross-commodity price transmission occurs because of substitution in consumption and/or production Price of maize and rice in Maputo

Why might price transmission not occur? High transportation cost makes trade unprofitable Trade barriers make trade unprofitable Goods are imperfect substitutes (e.g. imported rice and local rice) Lack of information about prices in other markets Long time to transport from one market to another (lagged transmission)

What is an elasticity of price transmission? Price transmission elasticity: % change in one price for each 1% increase in the other price Example: if a 10% increase in the world price of maize causes a 3% increase in the local price of maize, then price transmission elasticity is: 0.03 / 0.10 = 0.3

What is an elasticity of price transmission? Elasticity of 1.0 is not always perfect transmission Example: –World price = $200/ton –Local price = $400/ton –Perfect transmission would be if a $100 increase in world price caused a $100 increase in local price –But transmission elasticity in this case would be (100/400)/(100/200)=.25 /.50 = 0.50 For imports, perfect transmission elasticity are < 1.0 For exports, perfect transmission elasticity are > 1.0

Measuring price transmission There are several methods – four are discussed here –Ratio of percentage changes between two time periods –Correlation coefficient –Regression analysis –Co-integration analysis

Ratio of percentages Ratio of percentage changes between two time periods Elasticity of transmission is 1.34 (=.99 /.74) Note that both prices increased by about $120/ton Price of maize in Dar es SalaamPrice of US #2 Yellow Maize US$ / ton June June % Change99%74%

Ratio of percentages Very crude method: only uses two points in time and does not take trends into account

Correlation coefficient – What is it? Indicates the degree of relatedness of two variables Two related measures –Pearson correlation coefficient = r –Coefficient of determination = R 2 = r * r –In both cases –Correlation ranges between 0 and 1 –0 means no relationship, 1 means perfect correlation Advantage: Easy to calculate and understand R2 indicates share of variation in one variable explained by other variable Disadvantage: Only considers relationship between prices at same time, does not take into account lags

Correlation coefficient – How to calculate? Two methods using Excel 1.Use function correl(range1, range2) where the range1 and range2 describe the cells containing the two variables –For example, type into a cell =correl(B4:B56, C4:C56) –This will give r, R 2 can be calculated by squaring r 2.Create scatterplot graph of the two variables, then add a trendline with R 2 –Click on graph, click Add trendline, then click Display R 2 –This will give R 2

Examples of correlation coefficients (hypothetical prices) Weak correlationStrong correlation Medium correlation

Correlation coefficient – Exercises 1)In Worksheet 1 [Tanzania example], type =CORREL(B5:B51,C5:C51) into cell F21 to calculate r 2)Then in F22 cell, type =F21*F21 (or = F21^2) to calculate R 2 3)In Worsheet 8 [Data], calculate the value of R 2 for the following pairs of prices: a)Maize in Nampula and rice in Nampula b)Rice in Nampula and rice in Maputo c)Maize in Nampula and rice in Maputo

Regression analysis Multiple regression analysis finds the equation that best fits the data: Y = a + b*X 1 + c*X 2 … Advantages –Gives information to calculate transmission elasticity –Can test relationships statistically –Can take into account lagged effects, inflation, and seasonality –can analyze relationship of > 2 prices Disadvantages –Awkward to do in Excel (easier with Stata or SPSS) –Misleading results if data are non-stationary

Regression analysis Using Excel 2003 Mark columns with 2 prices Insert/Chart/XY (Scatter) / Finish Chart/Add trendline/ Linear Click Options, then Display equation Using Excel 2007 Mark columns with 2 prices Insert/Scatter graph Chart tools/Layout/Trendline/More Click box for Display equation on chart Note: only one x allowed with this method Method 1: The Scatter Graph

Regression analysis Method 1: The Scatter Graph

Regression analysis 1.= linest (y range, x range,1,1) 2.Mark 5x2 block around formula 3.F2 shift-control-enter =linest(.. ba Coef SE R ,112 Method 2: Linear Estimation Note: Can use multiple xs with this method

Regression analysis – Elasticity of Transmission Calculating the elasticity of transmission from P1 to P2 –Regression analysis of P2 = a + bP1 –Regression coefficient b is ΔP2 / ΔP1 –Transmission elasticity is (ΔP2 / P2) / (ΔP1 / P1) –So transmission elasticity = b * (AVP1 / AVP2) where b = regression coefficient AVP2 = average of P2 AVP1 = average of P1

Regression analysis Is the relationship between prices statistically significant? The t statistic indicates whether a relationship between two variables is statistically significant or not The t statistic is calculated as t = b/SE where b is the coefficient and SE is the standard error of the coefficient In general, a t statistic above 2 or below -2 is statistically significant To get the t statistics, it is necessary to use Method 2 and calculate t In this example t > 2, so there is a statistically significant relationship ba Coef SE R ,112 t stat

Regression analysis – Exercise Notes In Worksheets 2-7, The yellow cells (B4 – B9) define the characteristics of the random data generated, the true value of the parameters. Columns B and C contain the prices generated Graphs show the patterns in the price data The scatter graph includes a trendline – the line best describing the relationship between the two prices The green box shows the result of regression analysis on the price data, the estimated values of the parameters. Each time you press F9, it will regenerate new prices, graphs, and regression results

Regression analysis – Exercise 1 In Worksheet 2, Change the coefficient in the yellow box (cell B8) from 1 to 3 and observe the effect on the graphs and the regression results, particularly the estimated coefficient in cell F32 Notice that the estimated coefficient (F32) is similar to but not exactly equal to the true coefficient (F8) Change the standard deviation of e (cell B9) from 10 to 40 and observe the effect on the graphs and the regression results, particularly the R 2 In Worksheet 3, –Repeat the exercises above –Notice that the estimated coefficient is less accurate (ie not as close to the true value) as in Worksheet 2

Regression analysis – Exercise 2 In Worksheet 8 [Data], Use regression analysis to examine the relationship between rice prices in Nampula and rice prices in Maputo What is the coefficient? This question can be answered using either Method 1 (graph) or Method 2 (linest function) What is the value of R 2 ? This question can be answered using the correl function. Is the relationship statistically significant? In order to calculate the t statistic, you will need to use Method 2 (linest function) Note: A box has been created in sheet 8 [Data] to help with this exercise.

Non-stationarity – Definition What is a non-stationary variable? –A variable that does not tend to go back to a mean value over time, also called random walk Stationary variableNon-stationary variable Tends to go back toward meanDoes not tend to go back to mean Finite varianceInfinite variance Regression analysis is validRegression analysis is misleading

Non-stationarity – Problem Why are non-stationary variables a problem? –If prices are non-stationary, regression analysis will give misleading results –With non-stationary variables, regression analysis may indicate that there is a statistically significant relationship even when there is NO relationship

Non-stationarity – Diagnosis How do you identify non-stationarity? –Several tests, most common one is the Augmented Dickey-Fuller test –Cannot easily be done in Excel, but Stata and SPSS can do it easily –Price data are usually non-stationary Of 62 African staple food prices tested, most (60%) were non- stationary

Non-stationarity – Solution How do you analyze non-stationary prices? –Simple approach (with Excel) First differences (ΔP = P t – P t-1 ) are usually stationary Regress ΔP 1 on ΔP 2, possibly with lags Co-integration analysis (with Stata) –Test to see if prices are co-integrated, meaning that P2-b*P1-a is stationary –If prices are co-integrated, run error correction model (ECM) –ECM gives estimates of Long-run transmission Short-run transmission Speed of adjustment to long-run equilibrium

Non-stationarity – Exercise 1 Use Worksheet 4, which generates stationary data with no relationship between P1 and P2 Notice that the t statistic is small, indicating (correctly) that there is no relationship between P1 and P2 Use Worksheet 5, which generates non-stationary data with no relationship between P1 and P2 Notice that, although the graph shows that there is no relationship between P1 and P2, the t statistic is large, indicating (incorrectly) that there is a relationship

Non-stationarity – Exercise 2 Use Worksheet 6, which generates non-stationary data with no relationship between P1 and P2 Calculate ΔP 1 and ΔP 2 in columns D and E –In D15, type =B15-B14 –Copy and paste this equation to D15:E513 (cells in yellow) –The worksheet will automatically generate two graphs, correlation coefficient, and regression results –Verify that graphs of ΔP 1 and ΔP 2 correctly show no relationship between them –Verify that t statistic is high in spite of the fact that the prices are not related, confirming that regression results are misleading when data is non-stationary.

Non-stationarity – Exercise 3 Use Worksheet 7, which generates non-stationary data with a relationship between P1 and P2 Calculate ΔP 1 and ΔP 2 in columns D and E –In D15, type =B15-B14 –Copy this equation to D15:E513 –Worksheet will fill in the two blank graphs, correlation coefficient, and regression results –Verify that graphs of ΔP 1 and ΔP 2 correctly show a relationship between them –Verify that the R 2 is relatively high –Verify that t statistic is high, correctly indicating a relationship between ΔP 2 and ΔP 1

Conclusions Price transmission occurs between markets, between stages of a market channel, and between commodities… but not always Correlation coefficient is easy to calculate and interpret but gives limited info Regression analysis –Can be done in Excel but easier in Stata –Gives estimate of price transmission –Can take into account lagged effects –But is misleading if prices are non-stationary

Conclusions Non-stationarity –Means prices follow a random walk –Can be tested with Stata If prices are non-stationary, need to –At minimum, regress first-differences (can be done in Excel) –Preferably, carry out co-integration analysis (requires Stata)

References (1) Conforti, P Price Transmission in Selected Agricultural Markets. FAO Commodity and Trade Policy Research Working Paper No. 7. Rome. Dawe, D. (2008) Have Recent Increases in International Cereal Prices Been Transmitted to Domestic Economies? The experience in seven large Asian countries. ESA Working paper. Rome: FAO. Keats, S., S. Wiggins, J. Compton, and M. Vigneri Food price transmission: Rising international cereals prices and domestic markets. London: ODI.

References (2) Minot, N Transmission of world food price changes to markets in sub-Saharan Africa. Discussion Paper No International Food Policy Research Institute, Washington, DC. price-changes-markets-sub-saharan-africa price-changes-markets-sub-saharan-africa Rashid, S Spatial integration of maize markets in post- liberalized Uganda. Journal of African Economies, 13(1), Vavra, P. and B. K. Goodwin (2005), Analysis of Price Transmission Along the Food Chain, OECD Food, Agriculture and Fisheries Working Papers, No. 3, OECD. ilibrary.org/docserver/download/fulltext/5lgjlnpcnrvh.pdf?expi res= &id=0000&accname=guest&checksum=E74FD B4F6B AA5E7EF54E5http:// ilibrary.org/docserver/download/fulltext/5lgjlnpcnrvh.pdf?expi res= &id=0000&accname=guest&checksum=E74FD B4F6B AA5E7EF54E5