zhaokg / Rbeast

Bayesian Change-Point Detection and Time Series Decomposition
208 stars 36 forks source link

Segments #23

Open DanielaFe7-personal opened 5 months ago

DanielaFe7-personal commented 5 months ago

Hello, I was wondering if it is possible to obtain the segments of the Trend components given the break points?

zhaokg commented 4 months ago

Dear Daniela,

Thanks for the question, together with an apology for not getting a chance to respond earlier. Not sure if it is still relevant to you or not. If I got it correctly, you want to plot a true piecewise linear model rather than the averaged "nonlinear" version of the trend. If you are still interested, I am happy to learn more about what exact outputs you want: Do you want to just plot the segmented trend or need the specific numerical outputs?

In any case, thanks a lot for giving Rbeast a try! Kaiguang