|
-
May 1st, 2015, 05:15 AM
#1
Fitting linear models on time series
Hello to the dear forum.
I'm trying to describe a time-series using multiple linear models.
sample_result.jpg
My initial approach (result shown in the image above) was to slice the data into multiple chunks using a greedy-algorithm that searches for the best r-value (or standard error). In a first glance it yields nice results, but looking more carefully into it, it poorly handles many cases (notably around x=700).
I'm looking for some advice on how to tackle this problem. I reckon the only challenge is the segmentation. I can try non-greedy approaches, perhaps dynamic programming. I also thought about trying to fit an high order polynomial curve, calculate it's derivative and use it's roots as segmentation indices... What do you think?
If anyone wants to try, here's a link to the data: http://pastebin.com/wYGLiHav
Thank you!
-
May 1st, 2015, 07:49 AM
#2
Re: Fitting linear models on time series
the most important thing is, what do you want to achieve ? are you interested in forecasting ? decimation ? clustering ? etc ...
-
May 1st, 2015, 08:50 AM
#3
Re: Fitting linear models on time series
It has many potential uses, from being a visual aid tool to feature extraction for further computations (trend correlations, momentum, etc.)
Here's a better result than the one before (requires filtering for non-significant results). I split segments where the (max) fitting error is greater than x * standard error.
sample_result_2.jpg
I found this paper: http://www.cis.umac.mo/~fstasp/paper/icsse2011.pdf - it has some nice ideas (=I think my initial approach wasn't good enough). Still looking for ideas/tips/etc.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|