On Fri, 16 Apr 2004 13:21:13 -0400 kjetil at entelnet.bo wrote:> Hola! > > I am using package strucchange, and encounters the following: > > > bp <- breakpoints(diesel90 ~ regress -1, h=NULL) > Error in La.chol2inv(x, size) : element (14, 14) is zero, so the > inverse cannot be computed > > The obvious problems have been checked, that is, the model matrix is > of full rank. What can be causing this?For segmenting the model each sub-model you are fitting has to have a regressor matrix of full rank. Is `regress' a factor? If so, the minimal segment size h has to be large enough that the corresponding coefficients can be estimated in each (potential) segment.> I can send some data if that can be of help.If you cannot solve the problem, you can also contact me off-list. hth, Z> Kjetil Halvorsen > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > R-project.org/posting-guide.html >
Hola! I am using package strucchange, and encounters the following:> bp <- breakpoints(diesel90 ~ regress -1, h=NULL)Error in La.chol2inv(x, size) : element (14, 14) is zero, so the inverse cannot be computed The obvious problems have been checked, that is, the model matrix is of full rank. What can be causing this? I can send some data if that can be of help. Kjetil Halvorsen
Seemingly Similar Threads
- 'breackpoints' (package 'strucchange'): 2 blocking error messages when using for multiple regression model testing
- Error with strucchange/breakpoints
- STRUCCHANGE DETECTING BREAKPOINTS IN A TIME SERIES
- strucchange breakpoints r-squared
- strucchange breakpoints (Bai and Perron, 1998, 2003)