When do you detrend data or remove the mean?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a question regarding data sets and how to make a decision about detrending data or removing the mean. These two options can be used in the identfication toolbox and I wonder for which cases you might use these options?
For example I have a big data set on temperature values of a heat process in the industry and I want to identify a model against validation data.
Would it be a good choice to detrend the data? I tried a few times, but all the models slightly worse, most of the time.
0 comentarios
Respuestas (1)
Star Strider
el 17 de Ag. de 2019
Both detrending and removing the mean are essentially removing low-frequency baseline variations or a constant offset, respectively (or both). If these are not part of the process you are modeling (so are instead properties of the data acquisition equipment for instance) removing them would be useful.
For both of these, I generally use a highpass or bandpass digital filter (bandpass also to remove high-frequency noise) on the data first, since the filter design permits filtering the the mean as well as specifying the low-frequency cutoff. There may be advantages to using detrend for this, however for me, using a filter is easier. Filters are also relatively straightforward to design in MATLAB.
0 comentarios
Ver también
Categorías
Más información sobre Linear Model Identification en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!