Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
EViews Guides BITCH / EViews_Illustrated.pdf
Скачиваний:
244
Добавлен:
03.06.2015
Размер:
13.69 Mб
Скачать

Chapter 15. Super Models

Most of EViews centers on using data to estimate something we’d like to know, often the parameters of an equation. The model object turns the process around, taking a model made up of linear or nonlinear, (possibly) simultaneous equations and finding their solution. We begin the chapter with the solution of a simple, familiar model. Next, we discuss some of the ways that models can be used to explore different scenarios. Of course, we’ll link the models to the equations you’ve already learned to estimate.

Your First Homework—Bam, Taken Up A Notch!

Odds are that your very first homework assignment in your very first introductory macroeconomics class presented a model something like this:

Y C + I + G

C = C + mpc × Y

Your assignment was to solve for the variables Y (GDP), and C (consumption), given information about I (investment) and G (government spending).

Cultural Imperialism Apologia: If you took the course outside the United States, the national income identity probably included net exports as well.

But that consumption function is econometrically pretty unsophisticated. (We’ll carefully avoid any questions about the sophistication of a model consisting solely of a national income identity and a consumption function.) A more modern consumption function might look like this:

lnCt = a + l lnCt – 1 + b lnYt

(Ct – 1)
( lnYt)

366—Chapter 15. Super Models

The page Real in the workfile “Keynes.wf1” contains annual national income accounting data for the U.S. from 1959 through 2000. It also includes an estimated equation, , for this more modern consumption function.

Creating A Model

This model isn’t so easy to solve as is the Keynesian cross. The consumption function introduces both nonlinear and dynamic

elements. Fortunately, this sort of number-crunching is a breeze with EViews’ modeling facility.

To get started with making an EViews model, use Object/New Object… to generate a model named KEYNESCROSS.

The new model object opens to an empty window, as shown. We’re going to type the first equation in manually, so hit the button.

Type in the national income accounting identity. When you’re done, the window should look something like the picture shown to the right.

Hint: Since C is a reserved name in EViews, we’ve substituted CONS for C.

Hint: In this example, we typed in one equation and copied another from an estimated equation in the workfile. You’re free to mix and match, although in real work most equations are estimated. In addition to linking in an equation object, you can also link in SYS and VAR objects.

Your First Homework—Bam, Taken Up A Notch!—367

Let’s find out whether we and EViews have had a meeting of the minds on how to interpret the model. Click to switch to the equations view, which tells us what EViews is thinking. (You may get a warning mes-

sage about recompiling the model. It can be ignored.) One line appears for each equation. (So far, there is only one equation.)

Double-click on an equation for more information; for example, the Properties of the first equation are shown to the right. Since this is the national income accounting identity, it should really be marked as an identity. Click the Identity radio button on the lower right of the dialog, and then to return to the equations view.

To complete the model, we

need to bring in the consumption function. The estimated consumption function is stored in the workfile as . Select this equation in the workfile window, and then copy-and-paste or drag-and-drop it into the model window. EViews

checks to be sure that you really want to link the estimated consumption function into the model. Since you do, choose .

The model is now complete.

368—Chapter 15. Super Models

Solving the Model

So what’s the homework answer? Click . The Model Solution dialog appears with lots and lots of options. We’re not doing anything fancy, so just hit . EViews will find a numerical solution for the simultaneous equation model we’ve specified.

Two windows display new information. The model solution messages window (below right) provides information about the solution. The workfile window (below left) has

acquired two series ending with the suffix “__0.”

The model window gives details of the solution technique used. Complicated models can be hard for even a computer to solve, but this model is not complex, so the details aren’t very interesting. Note at the bottom of the window that EViews solved the model essentially instantly.

Wow hint: The model is nonlinear. There is no closed form solution. This doesn’t bother EViews in the slightest! (Admittedly, some models are harder for a computer to solve.)

The model solver created new series containing the solution values. To distinguish these series from our original data, EViews adds “_0” to the end of the name for each solved

Your First Homework—Bam, Taken Up A Notch!—369

series. That’s the source of the series CONS_0 and Y_0 that now appears in the workfile window.

Hint: EViews calls a series with the added suffix an alias.

Open a group in the usual way to look at the solutions. The solution for GDP is close to the real data, although it isn’t perfect.

Making A Better Model

If we’d like the solution to be closer to the real data, we need a better model. In the example at hand, we know that we’ve left exports and imports out of the model. Switch to the text view and

edit the identity so it looks as shown here.

Hint: Discrepancy? What discrepancy? Well for our data, consumption, investment, government spending, and net exports don’t quite add up to GDP.

Welcome to the real world.

Click again.

Соседние файлы в папке EViews Guides BITCH