TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Avoiding a Common Mistake with Time Series

161 点作者 davidkellis超过 10 年前

12 条评论

foobarian超过 10 年前
I'm not sure. The author says that adding a common component to two random time series doesn't make them correlated. But that's not true, by construction, at least using any of the simple correlation tests. It's a complicated subject explained in a confusing way.
评论 #8963803 未加载
评论 #8963988 未加载
评论 #8963940 未加载
评论 #8964520 未加载
评论 #8964521 未加载
评论 #8963729 未加载
photon137超过 10 年前
What the author is trying to explain are the concepts of cointegration and stationarity. A useful introduction here: <a href="http://www.uta.edu/faculty/crowder/papers/drunk%20and%20dog.pdf" rel="nofollow">http:&#x2F;&#x2F;www.uta.edu&#x2F;faculty&#x2F;crowder&#x2F;papers&#x2F;drunk%20and%20dog....</a>
评论 #8968568 未加载
omalleyt超过 10 年前
Never use first differencing, that&#x27;s crazy. It magnifies measurement error. Pass the signal through a high pass filter to remove trend
评论 #8965300 未加载
bbrazil超过 10 年前
Something I&#x27;ve repeatedly found useful is that when debugging and you have a conjecture, not only look for evidence that a correlation&#x2F;causation is present; but also look for evidence that it isn&#x27;t.<p>Doing a very quick A&#x2F;B test helps too.
评论 #8963575 未加载
评论 #8965285 未加载
评论 #8964585 未加载
esfandia超过 10 年前
Isn&#x27;t the author exaggerating in the other direction? There is obviously correlation between the two time series. Sure, who&#x27;s saying there is causation (as mentioned in the article there can be a third random variable that the first two depended on)? But also, who&#x27;s to say <i>there&#x27;s no causation</i>? Is it ok to always remove the correlated part of the two time series? What if that&#x27;s the interesting part and the explanation you&#x27;re looking for?
评论 #8964207 未加载
n00b101超过 10 年前
This is called spurious correlation. It&#x27;s well known in financial &#x2F; economic time-series analysis. The lesson is that you never measure the correlation between the PRICE LEVELS of products, instead you measure the correlation between the daily&#x2F;weekly&#x2F;etc CHANGE IN PRICE LEVELS.<p>A famous example of this:<p>The tale of David Leinweber, which is related in the excellent new book &quot;Quantitative Value,&quot; illustrates this point about &quot;stupid data miner tricks.&quot; Leinweber sifted through a United Nations CD covering the economic data of 140 countries. He found that butter production in Bangladesh explained 75 percent of the variation of the S&amp;P 500 Index. Not satisfied, he found that if he added a broader category of global dairy products, the correlation would rise to 95 percent. Then he added a third variable, the population of sheep, and found that he had now explained 99 percent of the variation in the S&amp;P 500 for the period 1983-&#x27;99.<p>(<a href="http://www.cbsnews.com/news/what-butter-production-means-for-your-portfolio/" rel="nofollow">http:&#x2F;&#x2F;www.cbsnews.com&#x2F;news&#x2F;what-butter-production-means-for...</a>)
SixSigma超过 10 年前
I ordered the book, Quantitative Forecasting Methods by Farnum and Stanton (PWS-KENT, 1989). it was only £2.81, sounds like money well spent.
评论 #8963969 未加载
评论 #8964067 未加载
nemo44x超过 10 年前
Does this mean that if I apply this algorithm and that 2 or more time series data sets are still similar that they are in fact correlated? I find this test fascinating.
eouw0o83hf超过 10 年前
Wow, and the graphs on <a href="http://www.tylervigen.com/" rel="nofollow">http:&#x2F;&#x2F;www.tylervigen.com&#x2F;</a> are just incredible.
plg超过 10 年前
also: statistical tests on correlation coefficients don&#x27;t test whether the correlation is &quot;significant&quot; or not --- they only test whether the correlation is reliably different than 0.00<p>So a small correlation (e.g. r=0.10) can still be &quot;statistically significant&quot; at p&lt;0.001 but all this means is that r is reliably different than 0.00 --- it doesn&#x27;t mean r is big
princeb超过 10 年前
perform a dickey fuller if you are unsure if a time series is nonstationary, perhaps.
gengkev超过 10 年前
where are the scrollbars??