Hi, I am using the Strucchange package in R to test for structural change in regression coeffcient. Given a model y = b0 + b1*X + b2*Z, the Fstats test whether there is a change in both b1 and b2 over a time period. Is there any way where I can restrict the test to hold b2 constant and test for break in only b1? That is, instead of a pure structural change, could I test for partial structural change in only one of the coefficient estimate? Warm Regards, Yen
Romain Francois
2005-Feb-18 19:14 UTC
[R] Partial structural Change in STRUCCHANGE PACKAGE
Hello, one way could be to compute the residuals of the regression y=b0 + b2*Z, let's call them U, and then test the structural change on the model U=c0+c1*X. Maybe there's a better way. Romain. Le 18.02.2005 20:03, Yen H., Tong a ?crit :> Hi, > > I am using the Strucchange package in R to test for structural change > in regression coeffcient. Given a model y = b0 + b1*X + b2*Z, the > Fstats test whether there is a change in both b1 and b2 over a time > period. > > Is there any way where I can restrict the test to hold b2 constant and > test for break in only b1? That is, instead of a pure structural > change, could I test for partial structural change in only one of the > coefficient estimate? > > Warm Regards, > > Yen-- Romain FRANCOIS : francoisromain at free.fr page web : http://addictedtor.free.fr/ (en construction) 06 18 39 14 69 / 01 46 80 65 60 _______________________________________________________ Etudiant en 3eme ann?e Institut de Statistique de l'Universit? de Paris (ISUP) Fili?re Industrie et Services http://www.isup.cicrp.jussieu.fr/
On Fri, 18 Feb 2005 11:03:13 -0800 (PST) Yen H., Tong wrote:> Hi, > > I am using the Strucchange package in R to test for structural change > in regression coeffcient. Given a model y = b0 + b1*X + b2*Z, the > Fstats test whether there is a change in both b1 and b2 over a time > period. > > Is there any way where I can restrict the test to hold b2 constant and > test for break in only b1? That is, instead of a pure structural > change, could I test for partial structural change in only one of the > coefficient estimate?Not in Fstats(). Fstats() computes a sequence of Wald statistics such that in the case of partial changes I would have to compute partially segmented models which I haven't implemented because I haven't seen a real application where a partial change approach is intuitive. (How do you know that the other coefficients are really stable?) However, you can compute a sequence of LM statistics using gefp() and selecting the coefficients you want to assess via the parm argument. The trick is that you only estimate the model once under the null and thus avoid the problem of partially segmented models. But I haven't provided an "efpFunctional" for the supLM test, yet. But if you want to use only a certain trimming parameter, that is very easy to set up. Contact me off-list, if you want to do so. Z> Warm Regards, > > Yen > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Possibly Parallel Threads
- efpFunctional construction (strucchange package)
- 'breackpoints' (package 'strucchange'): 2 blocking error messages when using for multiple regression model testing
- Multiple Fstats/breakpoints test using Panel data
- nproc parameter in efpFunctional
- strucchange | weighted models