Displaying 20 results from an estimated 2000 matches similar to: "Partial structural Change in STRUCCHANGE PACKAGE"
2011 Nov 10
1
efpFunctional construction (strucchange package)
Hello,
to understand better how efpFunctional works, I'm trying to construct my own
functionals. But concerning already existing functionals I have some
questions. With maxBB it is clear:
functional = list(comp = function(x) max(abs(x)), time = max),
with rangeBB:
functional = list(time = function(x) max(x)-min(x), comp = max),
with meanL2BB, if I understood correctly:
functional =
2011 Jul 29
2
'breackpoints' (package 'strucchange'): 2 blocking error messages when using for multiple regression model testing
Good morning to all,
I am encountering a blocking issue when using the function 'breackpoints'
from package 'strucchange'.
*Context:*
I use a data frame, 248 observations of 5 variables, no NA.
I compute a linear model, as y~x1+...+x4
x4 is a dummy variable (0 or 1).
I want to check this model for structural changes.
*Process & issues:*
*First, I used function Fstats.* It
2005 Feb 17
1
Multiple Fstats/breakpoints test using Panel data
Hi,
I have recently use the strucchange package in R with a single time series observation. I found it extremely useful in the testing of change points.
Now, I am thinking of using the strucchange package with panel data (about 500 firms, with 73 monthly time series observations each). For each firm, I have to conduct the Fstats and breakpoints tests. Based on the test of each firm, I have to
2011 Nov 02
1
nproc parameter in efpFunctional
Hello all,
could anyone explain the exact meaning of parameter nproc? Why different
values of nproc give so different critical values, i.e.
meanL2BB$computeCritval(0.05,nproc=3)
[1] 0.9984853
meanL2BB$computeCritval(0.05,nproc=1)
[1] 0.4594827
The strucchange-package description gives "integer specifying for which
number of processes Brownian motions should be simulated" - do I need
2009 May 12
1
strucchange | weighted models
Greetings -
Am hoping to use the strucchange package to look for structural breaks
in some messy regression data. A series of preliminary analyses indicate
that BLUE for these data will involve some weighting the data (estimates
of a particular population parameter) by a function of the variance of
the estimate (say, inverse of the variance). While I've gone through the
docs for
2010 Jul 19
2
Help on R strucchange package
Hello,
Im using strucchange package in R software in order to apply Bai and
Peron (1998, 2003) structural break tests to a set of n=1671
observations with a constant term (no AR terms).
For that purpose I have read several papers, for instance Validating
Multiple Structural Change Models An Extended Case Study, in which
its aim is to replicate the results from Bai and Perron (2003) in R
2012 May 29
1
strucchange Fstats() example
Dear all,
I'm trying to understand how the strucchange package is working and I have been looking at the examples given for the Fstats() function.
The first example (Nile), shows one peak in the F-stats and one breakpoint is estimated, that can be plotted using the following code
## Nile data with one breakpoint: the annual flows drop in 1898
## because the first Ashwan dam was built
2011 Sep 13
1
estimating Fstats in strucchange
Hi,
I am new to R. It would be kind if I could get some help on this.
I am using R to estimate Fstats but I am getting following error. a3 is
annual GDP data from 1951 to 2010.
> fs<- Fstats(ecm.model, from=1954, to = 1975,data=a3)
Error in Fstats(ecm.model, from = 1954, to = 1975, data = a3) :
inadmissable change points: 'from' is larger than 'to'
In addition: Warning
2009 Jun 28
1
testing an ARFIMA model for structural breaks with unknown breakpoint
Dear R users,
I'm trying to use the "strucchange" package to determine structural breaks
in an ARFIMA model.
Unfortunately I'm not so familiar with this topic (and worse, I'm a beginner
in R), so I don't know exactly how to specify my model so that the
"Fstats","sctest" and "breakpoint" functions to recognize it and to
calculate the
2006 Feb 15
1
S3 generics without NS and cleanEx()
Good morning,
we recently observed a problem with importing S3 generics from a foreign
package (without namespace), defining a S3 method in a package _with_
namespace and the `cleanEx()' function which is automatically generated
and executed before examples are run by R CMD check.
To be more precise. Package `strucchange' defines a S3 generic
sctest <- function(x, ...)
2004 Aug 12
0
updated package strucchange 1.2-4
Dear useRs,
the strucchange package for testing for structural change
has been updated: the current version is 1.2-4.
The most significant additions were two functions gefp()
and efpFunctional().
gefp() implements a class of generalized M-fluctuation
tests for testing for parameter instability or structural
change in general parametric models including generalized
linear models (GLMs).
2004 Aug 12
0
updated package strucchange 1.2-4
Dear useRs,
the strucchange package for testing for structural change
has been updated: the current version is 1.2-4.
The most significant additions were two functions gefp()
and efpFunctional().
gefp() implements a class of generalized M-fluctuation
tests for testing for parameter instability or structural
change in general parametric models including generalized
linear models (GLMs).
2004 Jun 29
1
strucchange-esque inference for glms ?
hello R-world,
according to the strucchange package .pdf, "all procedures in this package are
concerned with testing or assessing deviations from stability in the classical
linear regression model."
i'd like to test/assess deviations from stability in the Poisson model.
is there a way to modify the strucchange package to suit my purposes, or should
i use be using another
2010 Sep 27
1
One-sided CUSUM / MOSUM Tests?
Dear R-help list members,
I have the following question concerning the strucchange()-package: is
it possible to get the boundaries for one-sided (upper / lower) CUSUM
and MOSUM tests?
Thank you in advance.
Julia
2009 Dec 22
1
strucchange | breakpoints - pure structural change model?
Dear R-Team,
Am I right supposing that the "breakpoints()" function in the strucchange
package is an implementation of the pure structural change model proposed
by Bai and Perron (1997, 2003)?
My question relates to a partial structural change model that Bai and
Perron formulate in their 2003 paper, e.g. formulated as
y = x' beta + z' delta_j + epsilon,
where beta and delta
2011 Oct 09
1
strucchange Nyblom-Hansen Test?
I want to apply Nyblom-Hansen test with the strucchange package, but I don't
know how is the correct way and what is the difference between the following
two approaches (leeding to different results):
data("longley")
# 1. Approach:
sctest(Employed ~ Year + GNP.deflator + GNP + Armed.Forces, data = longley,
type = "Nyblom-Hansen")
#results in:
# Score-based CUSUM
2009 May 17
2
Chow test(1960)/Structural change test
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,
2011 Aug 01
1
ivreg and structural change
Hello,
I am looking for some help with this question: how could I test structural
breaks in a instrumental variables´s model?
For example, I was trying to do something with my model with three time
series.
tax_ivreg <- ivreg(l_y ~ l_x2 + l_x1+ dl_y | lag(l_x2, -1)+lag(l_x2, -2)+
lag(l_x1, -1)+lag(l_x1, -2)+lag(l_y, -1)+lag(l_y, -2), data=tax1)
summary(tax_ivreg)
## after estimating it,
2007 Dec 12
1
OS-dependent behaviour of strucchange?
Using the following code:
library(strucchange)
load(file="y.rda")
ar1<-formula(y~lag(y,k=-1))
plot(Fstats(ar1))
(where the the data file can be downloaded from
www.ne.su.se/~mlu/downloads/y.rda) I have a problem replicating
identical plots on different implementations of R for different
operating systems; I get completely different results under Debian Linux
compared to Windows XP.
2010 Feb 12
2
Function Fstats and p value
Hello,
I used the function Fstats (in the package strucchange) and would like to
transform the F probability given by Fstats in P value. This transformation
can be made while making a plot, but I need to have the numerical P value
which are ploted... and I can't find out how to do.
Here a is an exemple, to plot the P value.
let's take data as a array
fs <-fstats(data ~ 1, from = 4,