Re: [R] Segmented (piecewise linear) regression/cointegration

2015-03-18 Thread Vito M. R. Muggeo
dear jpm, segmented can't deal with I(1) regression.. However the segmented default method could be used on objects fitted by any function which fits I(1) *linear* regression, Please contact me off list for details, best, vito Il 18/03/2015 2.16, jpm miao ha scritto: Hi, If the relati

[R] Segmented (piecewise linear) regression/cointegration

2015-03-17 Thread jpm miao
Hi, If the relation between y and x is piecewise linear, the package "segmented" can be used to model it. It works pretty well. My situation is a little different: y and x are both I(1). Is there an R-package dealing with this situation? If not, is there an econometrics paper on this issue?