Hi,
 
A question on something which normally should be easy !
 
I perform a linear regression using lm function:
 
> reg1 <- lm (a b+c+d, data = database1)
 
Then I try to perform the Chow (1960) test (structural change test) on my 
regression. I know the breakpoint date. I try the following code like it is 
described in the “Examples” section of the “strucchange” package :
 
> sctest(reg1, data = database1, type = "Chow",  point = 20, asymptotic = 
> FALSE)
 
Unfortunately, this does not work and I have the following error message:
 
Error in UseMethod("sctest") : No applied method for "sctest".
 
I guess that I should compute fs statistics first (Fisher statistics) but I’m 
not sure about my guess. Moreover, in case my guess is true I do know how to do 
it although I have read the package documentation!
On the basis of this documentation I’m able to perform other structural 
change test (CUSUM, MOSUM…) but I’m particularly interested in the Chow 
(1960) test. So please is there someone who can help me in implementing it. 
 
Many thanks in advance.
 
 


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to