Z-scores of time series data (temperatures)
3 次查看(过去 30 天)
显示 更早的评论
I need to compute the z-scores of daily temperature data. My data runs from 1975 - 2010, November - March. Each November - March is relates to each day of the season's average temperature (1 - 151 days of season, so 151 avg temperatures). For example, a z-score for day 1 of the season (November 1st) would begin with an average for all 35 Nov. 1st days (1975 - 2010). I computed this in Excel by fitting a polynomial regression to each day of the season's average (151 averages), then divided the output of the polynomial regression equation for each day by the standard deviation of that particular day, but this is quite taxing to compute over multiple large data sets. Any ideas on how to approach this would be great!
0 个评论
回答(1 个)
Chad Greene
2017-8-17
2 个评论
Chad Greene
2017-8-17
It sounds like you could loop through 1 to 151 and compute the z scores for each day? Alternatively, you could deseason the signal and then calculate the z scores for the whole dataset.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!