Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: : "year not regularly spaced" and newey

From   M Quagliariello <>
To   <>
Subject   st: RE: : "year not regularly spaced" and newey
Date   Fri, 26 Mar 2004 11:25:33 -0000

Dear Justina,
I think Newey is only suitable for time series.
Newey2 is the user-written extension for panel data.

Dear Statalisters,

may be someone can help me with the following (hopefully small and easy)

I have a panel with 26 panel units and a time variable from 1 - 19 (
1984 to 2001, respectively). 
I have tsset-ed the data and tried to run the following regression

newey logKrimrate1a ........... year1986 - year1997 if year > 1985 &
year < 1999 , lag(1)

which resulted in the message:

"year is not regularly spaced"

There are some missing values in my dataset, but not for the time period
under investigation (1986 - 1998). year1986 - year1997 are time dummies.

This message occurs independently of if I use a year variable (1984 -
2001) or a time period variable running from 1 to 19.
If I use newey2 ( instead of newey), however, a regression result is

So my question is, why does this message above occur ????
Or is 'newey' inappropriate for panel data ?

Yours sincerely,


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index