Economics of agro-food safety and international market for agro-food products and legislation Antonio Stasi.

Slides:



Advertisements
Similar presentations
Chapter 12 Simple Linear Regression
Advertisements

Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
Statistics for Managers Using Microsoft® Excel 5th Edition
Statistics for Managers Using Microsoft® Excel 5th Edition
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 11 th Edition.
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
Chapter 6 (cont.) Regression Estimation. Simple Linear Regression: review of least squares procedure 2.
Relationships Among Variables
Copyright ©2011 Pearson Education 15-1 Chapter 15 Multiple Regression Model Building Statistics for Managers using Microsoft Excel 6 th Global Edition.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Lecture 15 Basics of Regression Analysis
Introduction to Linear Regression and Correlation Analysis
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 15-1 Chapter 15 Multiple Regression Model Building Statistics for Managers using Microsoft.
Linear Regression James H. Steiger. Regression – The General Setup You have a set of data on two variables, X and Y, represented in a scatter plot. You.
Regression. Population Covariance and Correlation.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Go to Table of Content Single Variable Regression Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Multiple Regression Model Building Statistics for Managers.
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Multiple Regression Model Building Basic Business Statistics 10 th Edition.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Multiple Regression Model Building Statistics for Managers.
The General Linear Model. Estimation -- The General Linear Model Formula for a straight line y = b 0 + b 1 x x y.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 15 Multiple Regression Model Building
Chapter 4: Basic Estimation Techniques
Chapter 4 Basic Estimation Techniques
CHAPTER 3 Describing Relationships
Statistics 101 Chapter 3 Section 3.
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Practice. Practice Practice Practice Practice r = X = 20 X2 = 120 Y = 19 Y2 = 123 XY = 72 N = 4 (4) 72.
Basic Estimation Techniques
Regression and Correlation
Simple Linear Regression
Basic Estimation Techniques
I271B Quantitative Methods
Regression Analysis Week 4.
AP Stats: 3.3 Least-Squares Regression Line
Simple Linear Regression
Least-Squares Regression
CHAPTER 3 Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
The Weather Turbulence
Undergraduated Econometrics
Economics of agro-food safety and international market for agro-food products and legislation Antonio Stasi.
Introduction to Regression
SIMPLE LINEAR REGRESSION
Product moment correlation
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Introduction to Regression
Sleeping and Happiness
Lesson 2.2 Linear Regression.
Chapters Important Concepts and Terms
CHAPTER 3 Describing Relationships
Presentation transcript:

Economics of agro-food safety and international market for agro-food products and legislation Antonio Stasi

INDEX Regression: a general set-up Linear regression Linear regression by OLS What about more variables Beyond the lines Measures of fit Variables selection How to run a linear regression

Regression: a general set-up You have a set of data on two variables, X and Y, represented in a scatter plot You wish to find a simple, convenient mathematical function that comes close to most of the points, thereby describing succinctly the relationship between X and Y

Linear Regression The straight line is a particularly simple function. When we fit a straight line to data, we are performing linear regression analysis.

Linear Regression The Goal: Find the “best fitting” straight line for a set of data. Since every straight line fits the equation: Y = bX + c with slope b and Y-intercept c, it follows that our task is to find a b and c that produce the best fit. There are many ways of operationalizing the notion of a “best fitting straight line.” A very popular choice is the “Least Squares Criterion.”

Linear Regression For every data point , define the X, Y “predicted score” to be the value of the straight line evaluated at . The “regression residual,” or “error of prediction” is the distance from the straight line to the data point in the up-down direction.

Linear Regression by OLS 40 20 10 20 X

Linear Regression by OLS 40 Y predicted 20 20 X

Error or “residual” Observation Prediction Figure 1: scatter(1:20,10+(1:20)+2*randn(1,20),'k','filled'); a=axis; a(3)=0; axis(a); 20

What about more variables? 26 24 Temperature 22 20 30 40 20 30 10 20 10

What about more variables? 10 20 30 40 22 24 26 Same Story, Same Procedure Temperature Y = c + b1X + b2 Temperature

Beyond lines still linear in X Y = c + b1 X + b2 X2 10 20 40 still linear in X everything is the same with

Beyond the lines Use of LOGARITHM Both sides of equality sign = b are elasticities Only left hand side = b are percentages of the Y

Measures of fit R-square St. error T-test and P-value Measures the percentage of data variability explained by the linear regression St. error Measures the dispersion (variability) of parameters T-test and P-value Measures whether that value of the parameter significantly predict the Y, the P- value indicates the probability of committing a mistake when I say that the parameter is significant F-test and P-value Measures whether the model is overall good

Variables selection Structural variables should be included in the model Variables from economic theory, e.g. education vrb when I wanna predict income For other variables One man One rule…When the P-value relative to the variable is < 0.15 I keep the variable

How to run a linear regression Download poptools from the internet http://www.cse.csiro.au/poptools/download.htm It is a add-in (componente aggiuntiva), so you must install it jointly with your excel software Go to extra-stats Select regression Select X variables matrix, select Y vector and run

Boosting Adult System Education In Agriculture – AGRI BASE Financed by: Partners: