eviews. agenda introduction eviews files and data examining the data estimating equations

17
EViews

Post on 22-Dec-2015

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

EViews

Page 2: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Agenda

• Introduction

• EViews files and data

• Examining the data

• Estimating equations

Page 3: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

What is EViews?

An econometrics package, which provides data analysis, regression and forecasting tools– Useful for many different analyses – Very user-friendly– Excellent help function

Page 4: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Eviews can read Excel and numerous other file types

Page 5: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

The data is stored in a workfile. Eviews holds other types of information in the

workfile as well

Page 6: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

It is often useful to transform existing variables for various purposes. This can be done in EViews using the [Genr] button in the top right hand corner of your workfile

Page 7: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Copying output

• Any graph or equation output can easily be copied into a Word document for example.

• To copy a table, simply select the area you want to copy and click Edit Copy. A dialog box should appear, where you would usually select the first option: Formatted – copy numbers as they appear in table.

• Then you go to Word and paste the selected area and change the size of the output until it suits your document.

Page 8: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Examining the data

EViews can be used for examining the data in a variety of ways. In the following we will only demonstrate a few.

• Displaying line graphs• Drawing a scatter plot• Obtaining descriptive statistics and

histograms• Displaying correlation and covariance

matrices

Page 9: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Displaying line graphs - Open the series and click the [View] button. Choose graph or multiple graph depending on whether you have opened a group.

Page 10: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Drawing a scatterplot - Click the [View] button and choose Graph Scatter Regression Line.

Page 11: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Obtaining descriptive statistics and histograms. Click the [View] button. Choose Descriptive Statistics Histogram and Stats

Page 12: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Displaying correlation and covariance matrices

• The easiest way to display correlation and covariance matrices is to highlight the relevant series (using the mouse and the [Ctrl] key) and then click Quick Group Statistics Correlations (or Covariances if you want a covariance matrix).

Page 13: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

Estimating equations

• When you have opened your workfile you click on the [Objects] button. Select New Object Equation and the following dialog box should appear

Page 14: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

• You can enter the model in two ways:

1. List the dependent variable followed by C for the intercept term and then the independent variable(s).

2. In the same window you type the model as a true equation, where each coefficient is written as C(k) with k = 1, 2, 3, ….

Page 15: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

1. log(m1) c log(gdp) rs dlog(pr)

2. log(m1)= c(1)+c(2)*log(gdp)+c(3)*rs+c(4)*dlog(pr)

When you have entered the equation you select the estimation Method (default is Least Squares) and your Sample (default is the entire sample).

Page 16: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

The [Options] button gives you the opportunity to change the estimation procedure further. For example you can choose the White correction if the dataset has problems with heteroscedasticity.

Page 17: EViews. Agenda Introduction EViews files and data Examining the data Estimating equations

• Click OK and get the following output.