Docsity

Introduction - Applied Regression Analysis - Lecture Slides, Slides of Data Analysis & Statistical Methods

Partial preview of the text

Download Introduction - Applied Regression Analysis - Lecture Slides and more Slides Data Analysis & Statistical Methods in PDF only on Docsity!

Applied Regression Analysis

4. Read the EViews Booklet

  • EViews is a statistical software that you

will be using in this course

  • Install it on your computer, if you wish.
  • Ask me questions via WebCt Discussion
    • Post your question under the topic Questions on EViews
    • For the subject put your name
  1. If your book is new, it comes with a little card entitled e-con@ppc
  • We will mainly use this source for data.
  • Don’t panic if you don’t have a new book.
  • We will find another way to get the data if we need it.

7. Another assignment

  • Go to WebCt’s Discussion and report your

weight (in ponds) and height (in inches)

  • Under the topic Weight-Height, post your height in inches and your weight in ponds
  • For the subject put your name

More on the model

  • Y = β 0 + β 1 X 1 + β 2 X 2 + e
    • Where
      • Y is GPA (our dependent variable)
      • β 0 is read beta null (or beta zero) is a constant that needs to be estimated.
      • β 1 (reads beta 1) measures the effect of X 1 (X 1 is hours of study) on Y. ß 1 is also called a coefficient.
      • β 2 (reads beta 2) measures the effect of X 2 (X 2 is the degree of intelligence) on Y. ß 2 is also called a coefficient.
      • e is the stochastic error term.

Why the Stochastic Error (e)?

  • Causes of error (PP 4 & 5)
    1. Measurement errors
    2. Captures the effects of other factors on GPA
    3. Captures the effects of random factors

Regression Analysis

  • Uses a data set to estimate the position of the theoretical line
  • A data set may be Cross–Section
    • Observation of many individuals (countries, items) at a given point in time.
  • A data set may be Time Series
    • Observation of one individual (country, item) over time
  • What kind of data set do we need to estimate our model?

In our case it is more feasible to

use a cross section data set

  • the data set may consists of 100 students

as of this point in time.

  • We collect information on each individual's
    • GPA
    • Hours of study per week
    • Degree of intelligence (say measured by each student’s IQ score)

Note: the theoretical line describing the relationship between height and weight is not observable.

  • That means that we don’t know the actual values of β 0 & β 1
  • But we try to estimate them.
  • β^ 0 “beta zero hat” is the estimated constant term (β 0 , the true constant) in a regression equation.
  • β^ 1 “beta one hat” is the estimated β 1 , the true coefficient of H (height in our model) in our regression equation
  • So the equation of our estimated line is
    • W^ = β^ 0 + β^ 1 H
      • Note: Once you put the value of say my height in the equation and alsoput the estimated values β may find a value for W that is not exactly the same as my weight. That is^0 and^ β^1 in the equation, and solve for W, you why we have W^ instead of W here. W^ is the estimated (predicted)value of W.

Say we collect some observations

on the height and weight of 200 individuals (is this a time series or cross sectional data set?)

  • And plot them on a two dimensional graph Like the one in Figure 1-2, Page 5
  • Where X will be height and Y will be weight.
  • No matter how hard we try, there is no way that we can fit a linear line through all these observation
  • We will try to fit a linear line that best describes these observations
  • Not all observations will be on the line
    • There is going to be some errors
    • We call these errors residuals
    • Residuals are the difference between the actual weight and the estimated weight

The OLS Method

  • Chooses the intercept (β^ 0 ) and β^ 1 (slope

coefficient) of the line (regression

equation) in such a way that the sum of

squared residuals is minimized

  • The formulas for calculating β^ 0 and β^ 1 are given on Page 8 (Equations 1-5 & 1-6)