<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Autocorrelation in GAM and GRASP</title>
	<atom:link href="http://landshape.org/enm/autocorrelation-in-gam-and-grasp/feed/" rel="self" type="application/rss+xml" />
	<link>http://landshape.org/enm/autocorrelation-in-gam-and-grasp/</link>
	<description>The power of numeracy</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:43:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: David Stockwell</title>
		<link>http://landshape.org/enm/autocorrelation-in-gam-and-grasp/comment-page-1/#comment-2822</link>
		<dc:creator>David Stockwell</dc:creator>
		<pubDate>Tue, 19 Sep 2006 16:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://landshape.org/enm/autocorrelation-in-gam-and-grasp/#comment-2822</guid>
		<description>Thanks for the information on the tests Martin.  If I were writing a paper for a journal I would use them.  

I have been interested in building intution for LTP also, with posts like &lt;a href=&quot;http://landshape.org/enm/?p=13&quot; rel=&quot;nofollow&quot;&gt;Scale Invariance for Dummies&lt;/a&gt;.  The difference between LTP and AR(1) say is easily seen on a plot of log standard deviation vs log aggregation (i.e. daily, weekly, yearly averaging say).  LTP has this constant increasing relationship of variance to scale, but AR(1) (Markov or STP) the variance &#039;fades&#039; at the higher aggregations or longer time scales.  This shows clearly the danger in finding apparent &#039;trends&#039; that are really noise at longer scales.  

I would be interested in what you think of the arguments for LTP at a basic level.  For something like financial series that &#039;clear&#039; daily, one could imagine AR(1) applying, but for natural series the timing of measurements is arbitrary (above yearly).  So the argument is that AR(1) is a function of the observers arvbitrary choice of time scale.  Natural series can be imagined to be like AR(1) simultaneously at all time scales, a model approximated by fractional differencing.  &lt;a&gt;Random Numbers Predict Future Temperatures&lt;/a&gt;.  Thus there is an argument underpinning LTP similar to special relativity, i.e. Newtonain physics is based on an absolute inertial frame, Special relativity drops that assumption.  AR(1) is based on an absolute time scale, but dropping that assumption produces LTP behaviour. The evidence is that this is seen in all natural phenomena.

It terms of detecting LTP, another visual approach is the partial autocorrelation I showed in &lt;a href=&quot;http://landshape.org/enm/options-for-acf-in-r/&quot; rel=&quot;nofollow&quot;&gt;Options for ACF in R&lt;/a&gt; which shows you the possible order of the lags.  What do you think of partial ACF?

Thanks again Martin.</description>
		<content:encoded><![CDATA[<p>Thanks for the information on the tests Martin.  If I were writing a paper for a journal I would use them.  </p>
<p>I have been interested in building intution for LTP also, with posts like <a href="http://landshape.org/enm/?p=13" rel="nofollow">Scale Invariance for Dummies</a>.  The difference between LTP and AR(1) say is easily seen on a plot of log standard deviation vs log aggregation (i.e. daily, weekly, yearly averaging say).  LTP has this constant increasing relationship of variance to scale, but AR(1) (Markov or STP) the variance &#8216;fades&#8217; at the higher aggregations or longer time scales.  This shows clearly the danger in finding apparent &#8216;trends&#8217; that are really noise at longer scales.  </p>
<p>I would be interested in what you think of the arguments for LTP at a basic level.  For something like financial series that &#8216;clear&#8217; daily, one could imagine AR(1) applying, but for natural series the timing of measurements is arbitrary (above yearly).  So the argument is that AR(1) is a function of the observers arvbitrary choice of time scale.  Natural series can be imagined to be like AR(1) simultaneously at all time scales, a model approximated by fractional differencing.  <a>Random Numbers Predict Future Temperatures</a>.  Thus there is an argument underpinning LTP similar to special relativity, i.e. Newtonain physics is based on an absolute inertial frame, Special relativity drops that assumption.  AR(1) is based on an absolute time scale, but dropping that assumption produces LTP behaviour. The evidence is that this is seen in all natural phenomena.</p>
<p>It terms of detecting LTP, another visual approach is the partial autocorrelation I showed in <a href="http://landshape.org/enm/options-for-acf-in-r/" rel="nofollow">Options for ACF in R</a> which shows you the possible order of the lags.  What do you think of partial ACF?</p>
<p>Thanks again Martin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Ringo</title>
		<link>http://landshape.org/enm/autocorrelation-in-gam-and-grasp/comment-page-1/#comment-2801</link>
		<dc:creator>Martin Ringo</dc:creator>
		<pubDate>Sat, 16 Sep 2006 03:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://landshape.org/enm/autocorrelation-in-gam-and-grasp/#comment-2801</guid>
		<description>David,

Let me offer a little experiment.  Generate a series with LTP noise.  Now run a regression of it on a constant and linear trend.  Check the D-W stat.  It should generally be in the danger zone -- well below 2.0.  Now run the regression with the series on a constant, the linear time trend and the lagged value of the series.  This should remove almost all of your first order autocorrelation and give a commensurately pretty D-W stat.  

Take the residuals from that regression and run them on the trend and their lagged values up to, say, 10 to 20 lags.  Then do a Wald test of the constraint that all the coefficients of the lagged residuals are zero.  This is sort of rough version of the Breusch-Godfrey Serial Correlation LaGrangian Multiplier Test.  Run the regression on the squared residuals without the exogenous and you have the basic construct of the ARCM LM test.  For each there is test statistic that is asymptotically Chi Squared.  I am certain that these tests are somewhere in one of the R packages.

Anyway the purpose of this comment is note for many of the variables that you and others have expressed interest in the autocorrelations, e.g. temperature series, there is often more than first order autocorrelation, and it might be wise to use test statistics that a little more general.  (Note D&amp;W came up with a D-W stat for higher order autocorrelations but I forgot just what it was.  Also there are things more hip than the B-G and ARCH LM tests, but I wasn&#039;t impressed enough to bother to implement them into my regression routines.)

Also for cases where one is interested in LTP per se, the Andrew Lo (of Campbell, Lo and MacKinlay fame) paper &quot;Long-Term Memory in Stock Prices,&quot; Econometrica, Vol 59, No. 5,  Sep 1991 shows how to test for a function of a quasi Hurst exponent that accounts for the short term autocorrelation function.  (Lo and MacKinlay’s book “A Non-Random Walk Down Wall Street” shows the test in a somewhat more digestible form.) The trick Lo uses is part of several tests or adjusted estimates of standard errors including the Newey-West estimates (which correct for autocorrelation and heteroskedasticity -- well to a degree -- in the S.E.s of the regression coefficients).  Anyone who wants to assert long term persistence -- or correlation or memory or what have you -- needs to have a test that distinguishes from the “short term” correlation effects and the long term correlation affects.  Lo gives one.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Let me offer a little experiment.  Generate a series with LTP noise.  Now run a regression of it on a constant and linear trend.  Check the D-W stat.  It should generally be in the danger zone &#8212; well below 2.0.  Now run the regression with the series on a constant, the linear time trend and the lagged value of the series.  This should remove almost all of your first order autocorrelation and give a commensurately pretty D-W stat.  </p>
<p>Take the residuals from that regression and run them on the trend and their lagged values up to, say, 10 to 20 lags.  Then do a Wald test of the constraint that all the coefficients of the lagged residuals are zero.  This is sort of rough version of the Breusch-Godfrey Serial Correlation LaGrangian Multiplier Test.  Run the regression on the squared residuals without the exogenous and you have the basic construct of the ARCM LM test.  For each there is test statistic that is asymptotically Chi Squared.  I am certain that these tests are somewhere in one of the R packages.</p>
<p>Anyway the purpose of this comment is note for many of the variables that you and others have expressed interest in the autocorrelations, e.g. temperature series, there is often more than first order autocorrelation, and it might be wise to use test statistics that a little more general.  (Note D&amp;W came up with a D-W stat for higher order autocorrelations but I forgot just what it was.  Also there are things more hip than the B-G and ARCH LM tests, but I wasn&#8217;t impressed enough to bother to implement them into my regression routines.)</p>
<p>Also for cases where one is interested in LTP per se, the Andrew Lo (of Campbell, Lo and MacKinlay fame) paper &#8220;Long-Term Memory in Stock Prices,&#8221; Econometrica, Vol 59, No. 5,  Sep 1991 shows how to test for a function of a quasi Hurst exponent that accounts for the short term autocorrelation function.  (Lo and MacKinlay’s book “A Non-Random Walk Down Wall Street” shows the test in a somewhat more digestible form.) The trick Lo uses is part of several tests or adjusted estimates of standard errors including the Newey-West estimates (which correct for autocorrelation and heteroskedasticity &#8212; well to a degree &#8212; in the S.E.s of the regression coefficients).  Anyone who wants to assert long term persistence &#8212; or correlation or memory or what have you &#8212; needs to have a test that distinguishes from the “short term” correlation effects and the long term correlation affects.  Lo gives one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.383 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-30 13:47:58 -->
