Page 1 of 3
BPTest (Breusch-Pagan LM test for random effects)
Posted: Fri Apr 16, 2010 11:10 am
by EViews Gareth
This thread is about the
BPTest Add-in that calculates the Breusch-Pagan LM test for random effects.
Change Log- 2010/04/16 - Initial Release
- 2010/04/28 - Fixed documentation file name
- 2010/08/16 - Fix for unbalanced panels / equations that don't use every cross-section in the panel
- 2010/11/02 - Added an error message to indicate that the equation should be estimated without cross-section effects prior to running the test.
- 2010/11/24 - Added Honda (1985), King and Wu (1997), SLM (Moulton and Randolph, 1989), GHM (Gourierouxet al., 1982) LM tests.
- 2012/05/10 - Edited the BPtest documentation; Added a command for exclusion of tests.
- 2012/09/26 - Minor changes made.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Wed Apr 28, 2010 3:51 pm
by EViews Gareth
The documentation file in this add-in had the wrong name. That has now been fixed.
BP LM Test for Random Effects Add-in
Posted: Fri Aug 13, 2010 12:41 am
by y.khairulin
Hi guys,
I've just installed the LM test for Random Effects add-in .
When I run this add-in from equation object (Proc->Add-ins->Breusch-Pagan Random Effects LM test) it returns an error saying: Log or square root of negative number.
I do not understand where the problem may come from, any advice?
Thanks.
Re: BP LM Test for Random Effects Add-in
Posted: Fri Aug 13, 2010 4:36 am
by y.khairulin
Btw, I'm using 7th version of Eviews
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Fri Aug 13, 2010 8:03 am
by EViews Gareth
Could you post your workfile with the equation in question?
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Sat Aug 14, 2010 2:42 am
by y.khairulin
Hi,
Please find attached the workfile with equation.
Thanks.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Sat Aug 14, 2010 10:31 am
by EViews Gareth
There's something odd about that equation. Did you copy it from another workfile, or add data to the workfile after estimating it?
It is no longer estimatable.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Sat Aug 14, 2010 7:10 pm
by y.khairulin
I resampled it and included less periods due to large size of the file.
This is the workfile for the full sample, I used 7zip to compress, hope this works.
Btw, thx for the fast reply.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Mon Aug 16, 2010 7:18 am
by ralf
Hi, I have the same problem, is there already a solution? Thanks, Ralf
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Mon Aug 16, 2010 8:47 am
by EViews Gareth
Working on it...
The way it is currently calculating things will only work on panel equations that use every cross-section in the workfile. I'm trying to figure out how to get it to work on equations that only use some cross-sections.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Mon Aug 16, 2010 2:41 pm
by EViews Gareth
Try re-downloading the add-in. I think this one should work (for you both?)
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Tue Aug 17, 2010 2:00 am
by y.khairulin
Thanks for your help in resolving this problem Gareth.
Everything works fine.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Tue Aug 17, 2010 1:29 pm
by ralf
Yes, it's working. Thanks!
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Tue Aug 17, 2010 1:34 pm
by EViews Gareth
Great.
Re: BPTest (Breusch-Pagan LM test for random effects)
Posted: Wed Nov 24, 2010 11:52 am
by EViews Esther
[Updates in the BPtest add-in]
(1) Added Honda (1985), King and Wu (1997), SLM (Moulton and Randolph, 1989), GHM (Gourierouxet al., 1982) LM tests.
(2) Considered either joint test for both cross-section and period effects or one-sided test for one effect.