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

st: Re: unit root test for panel data

From   "Gaetano Coletta" <>
To   <>
Subject   st: Re: unit root test for panel data
Date   Tue, 20 Sep 2005 11:53:06 +0200

You have first to install the commands levinlin and ipshin on your stata version typing "ssc install levinlin", for example.
Then, to estimates the panel unit root test developed by Levin, Lin and Chu (LLC, 2002) for the variablle lfdi you have just to type a line like this
"levinlin lfdi, lag(1)"


----- Original Message ----- From: "Ping Zheng" <>
To: <>
Sent: Tuesday, September 20, 2005 11:39 AM
Subject: st: unit root test for panel data

By following the suggestions from the people, tsset has been done
firstly, then I've tried several ways to do unit root test but
unsuccessful (please see below). what is the commands for dfuller test?
I've also tried "levinlin", "ipshin", but didn't work either.

Many thanks for your help

tsset id year, yearly
panel variable: id, 1 to 28
time variable: year, 1984 to 2002

. edit
- preserve

. dfuller
varlist required

. dfuller lfdi lex lim
too many variables specified

. dfuller lfdi
sample may not include multiple panels

. dfuller lfdi lex
too many variables specified

. edit
- preserve

. update query
connection timed out -- see help r(2) for troubleshooting did not respond or is not a valid update site

. update

Stata executable
folder: L:\win32apps\stata9\
name of file: wsestata.exe
currently installed: 22 Apr 2005

Ado-file updates
folder: L:\win32apps\stata9\ado\updates\
names of files: (various)
currently installed: 04 May 2005

Type -update query- to compare these dates with what is available

Click to edit automatic update checking preferences

. levinlin
unrecognized command: levinlin

. ipshin
unrecognized command: ipshin

. madfuller
unrecognized command: madfuller


* For searches and help try:
*   For searches and help try:

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