Breakls - how is no. of breaks stored?

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Pawel_S
Posts: 22
Joined: Sun Jan 05, 2014 5:18 am

Breakls - how is no. of breaks stored?

Postby Pawel_S » Sun Jan 05, 2014 5:30 am

Hi,

I'm Eviews 8 user. I've performed sequential Bai-Perron test for multiple breaks. I would like to know where is the information of the number of breaks stored, i.e. what is the name of variable with the number of breaks? I want to perform the test on different samples, thus I need to access the information of breaks from the programme-level.

So far, I've tried freezing the table with the output and extracting the information from the cell that contains information with the number of breaks. However, this method does not always work for me. Instead of number of breaks I sometimes get NA. I presume that the reason is that since I've been working with different samples the output table does not always look the same and the information with the number of breaks is sometimes located in different cell than I've assumed.

I'd be grateful for any suggestions.

Kind regards,
Pawel

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Breakls - how is no. of breaks stored?

Postby EViews Gareth » Sun Jan 05, 2014 5:53 am

I'm not at my computer at the moment, so can't look up if we do actually store the number of breaks or not, but I think you can probably calculate the number of breaks from the number of coefficients @ncoefs

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Breakls - how is no. of breaks stored?

Postby EViews Gareth » Sun Jan 05, 2014 8:31 am

Now that I am at a computer, I can see that @nregimes will tell you the number of subsamples, which is the number of breaks+1

Pawel_S
Posts: 22
Joined: Sun Jan 05, 2014 5:18 am

Re: Breakls - how is no. of breaks stored?

Postby Pawel_S » Sun Jan 05, 2014 9:08 am

Many thanks. This is the variable that I was looking for.

Btw. I find it really a pity that information like this are not easy to find in EView's help at all.

Thanks again,

Pawel

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Breakls - how is no. of breaks stored?

Postby EViews Gareth » Sun Jan 05, 2014 9:23 am

Open up the Object Reference PDF, open Chapter 1, Equation section and scroll down to the list of data members


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest