First differenced equation

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

johnf
Posts: 9
Joined: Fri Dec 26, 2014 7:36 am

First differenced equation

Postby johnf » Fri Dec 26, 2014 7:49 am

Hi,

Can someone please help a beginner with the example from the book of Wooldridge "Introductory econometrics: a modern approach", 5th edition, page 462, equation 13.18. I don't know how to get those coefficients? He was using CRIME2.RAW file (in the attachment).

The first differenced estimated equation from the book looks like this: Δcrmrte = 15.40 + 2.22 Δunem.

I've been using following commands and OLS: D(crmrte) c D(unem).

What am I missing?

Many thanks.
Attachments
crime2.wf1
(36.81 KiB) Downloaded 194 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: First differenced equation

Postby startz » Fri Dec 26, 2014 8:31 am

You need to look more carefully at how your data is organized. Hint: How many observations do you have compared to Wooldridge?

johnf
Posts: 9
Joined: Fri Dec 26, 2014 7:36 am

Re: First differenced equation

Postby johnf » Fri Dec 26, 2014 9:05 am

There are total 92 observations in the CRIME2.RAW - crmrte and unem.

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: First differenced equation

Postby startz » Fri Dec 26, 2014 9:35 am

How many observations in the textbook equation?

johnf
Posts: 9
Joined: Fri Dec 26, 2014 7:36 am

Re: First differenced equation

Postby johnf » Fri Dec 26, 2014 11:14 am

If am right, what I actually need to do is to subtract row2-row1, row4-row3, etc. from crmrte and unem?

Can you help to do this in EViews?

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: First differenced equation

Postby startz » Fri Dec 26, 2014 12:28 pm

You probably want to set the sample to only include certain observations. Take a look at the smpl if command.

johnf
Posts: 9
Joined: Fri Dec 26, 2014 7:36 am

Re: First differenced equation

Postby johnf » Fri Dec 26, 2014 1:51 pm

Can you please suggest how to include every second value with smpl if?


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest