LPUNIT—Lumsdaine-Papell Unit Root Test with 2 breaks

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

LPUNIT—Lumsdaine-Papell Unit Root Test with 2 breaks

Unread post by TomDoan »

@LPUNIT implements the Lumsdaine-Papell unit root test, allowing for two breaks in the intercept, the trend or both at unknown locations. Lumsdaine and Papell(1997), "Multiple trend breaks and the unit root hypothesis", Review of Economics and Statistics, vol 79, 212-218.

Detailed description
mbfakhry
Posts: 10
Joined: Tue Jul 23, 2013 2:05 am

Re: LPUNIT - Lumsdaine-Papell Unit Root Test with 2 breaks

Unread post by mbfakhry »

Dear Tom,

I've tried working with the LPUnit using the following options:
BREAK=TREND
NBREAKS=3
GRAPH

As i am uusing the entire observation i didn't include the start and end dates.

I tested for US and GERMANY Series

So the command is:
LPUnit(BREAK=TREND,NBREAK=3,GRAPH) US

After letting it run for several hour and no results, I had to cancel.

The funny thing is that when i tried the same test but with NBREAKS=2 and a smaller series the test took only 30 mins approximately..

So can you tell me if the error is in the NBREAKS or the size of the series.

I have attached both data files the first one is the longest and the second one is the shortest.

Many Thanks,

Bachar
Attachments
MPrice.RAT
The price is a 20 lags variance of the prices in the US sovereign debt market from 1st August 2007 to 31st March 2013
(73.75 KiB) Downloaded 1058 times
MPrice.RAT
The price is a 20 lags variance of the prices in the US sovereign debt market from 1st August 2002 to 31st December 2011
(121.75 KiB) Downloaded 1102 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: LPUNIT - Lumsdaine-Papell Unit Root Test with 2 breaks

Unread post by TomDoan »

If 2 breaks took 30 minutes, it's not a "funny thing" that 3 takes a very, very long time. That's the nature of the calculation. Given the size of your data set, a 3 break test will probably take somewhere around two months, give or take a few weeks. You might want to read Section 11.3 of the RATS User's Guide.
mbfakhry
Posts: 10
Joined: Tue Jul 23, 2013 2:05 am

Re: LPUNIT - Lumsdaine-Papell Unit Root Test with 2 breaks

Unread post by mbfakhry »

If I reduce it to 2 breaks given the size of my longest series, how long will it take?
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: LPUNIT - Lumsdaine-Papell Unit Root Test with 2 breaks

Unread post by TomDoan »

Read section 11.3 of the User's Guide. It explains how the complexity of the calculation changes with data set size and number of breaks.


Last bumped by TomDoan on Tue Aug 28, 2018 5:25 pm.
Post Reply