Displaying 20 results from an estimated 381 matches for "acf".
Did you mean:
ac
2006 Aug 18
3
Query: how to modify the plot of acf
I need to modify the graph of the autocorrelation. I tried to do it through plot.acf but with no success.
1. I would like to get rid of the lag zero
2. I would like to have numbers on the x-axis only at lags 12, 24, 36, 48, 60, ...
Could anybody help me in this?
Any help will be appreciated
Thank you for your attention
Stefano
[[alternative HTML version deleted]]
2010 Dec 08
1
Newbie trying to understand $ so I can understand acf function in stats
I am trying to understand the function acf
stats:::acf shows me the function
I am having trouble understanding the usage "$acf" in the following
acf <- array(.C(R_acf, as.double(x), as.integer(sampleT),
as.integer(nser), as.integer(lag.max), as.integer(type ==
"correlation"), acf = double((l...
2004 Apr 29
1
accessing information in lists
I've created a dataframe containing multiple ACF lists through the command
rev.acf<-apply(rev.matrix, 2, acf, na.action=na.contiguous, lag.max=12, plot=FALSE)
where rev.matrix is an n by t matrix containing n time series in columns. I'd now like to pull out only the ACF information and store it in a seperate n by 12 matrix. So far the...
2006 Nov 13
1
bug in acf (PR#9360)
Full_Name: Ian McLeod
Version: 2.3.1
OS: Windows
Submission from: (NULL) (129.100.76.136)
> There is a simple bug in acf as shown below:
>
> z <- 1
> acf(z,lag.max=1,plot=FALSE)
> Error in acf(z, lag.max = 1, plot = FALSE) :
> 'lag.max' must be at least 1
>
This is certainly a bug.
There are two problems:
(i) the error message is wrong since lag.max is set to 1. Perhaps, if th...
2010 Nov 07
1
When using ACF, receive error: no applicable method for 'ACF' applied to an object of class "c('double', 'numeric')"
I am guessing this is a very simple question, but this is only my second day
with R so it is all still a bit imposing.
I am trying to run an autocorrelation.
I imported a CSV file, which has one column labeled "logistic".
I ran the command:
ACF(data$logistic,maxLag=10)
However, I received the error:
Error in UseMethod("ACF") :
no applicable method for 'ACF' applied to an object of class "c('double',
'numeric')"
I am thinking perhaps I need to change the data type, but I really don't
kno...
2009 Aug 05
2
acf Significance
Hi List,
I'm trying to calculate the autocorrelation coefficients for a time
series using acf at various lags. This is working well, and I can get
the coefficients without any trouble. However, I don't seem to be able
to obtain the significance of these coefficients from the returned acf
object, largely because I don't know where I might find them.
It's clear that the acf funct...
2007 Feb 08
2
Newbie: Acf function
Hi, I would like to use acf.plot on a correlogram that is computed
externally. In other words, I would like to "fake out" the acf object.
Is this possible?-- any help would be appreciated.
TIA
Martin
2010 Sep 26
1
acf function
Hi,
Im new to R so this question is quite fundamental.
Im trying to compare some autocorrelations generated by the acf function to some theoretical correlations. How can I have acces to just the autocorrelations, for computation?
This is some of my code:
> acf.data<-c(acf(x))
> acf.data
This is the R output:
$acf
, , 1
[,1]
[1,] 1.000000000
[2,] 0.746183669
[3,] 0.55121781...
2002 May 08
1
ts acf accessing to values
Hi,
I don't quite understant how can I access to the acf values from the
list produced by the acf function
Example:
library(ts)
t <- acf(ts.union(ts(1:10), ts(11:20)))
t$acf
> tmp$acf
, , 1
[,1] [,2]
[1,] 1.00000000 1.00000000
[2,] 0.70000000 0.70000000
[3,] 0.41212121 0.41212121
[4,] 0.14848485 0.14848485
[5,] -0.07878...
2005 May 12
3
acf problem ?
Hi
I'm getting the following error that do not make sense to me, what am
Idoing wrong ?
> acf(Recsim[1,], lag.max=1)
Error in acf(Recsim[1, ], lag.max = 1) : 'lag.max' must be at least 1
Regards
EJ
2012 Mar 02
1
acf() plot of matrix cuts y-axis labels
Hello all,
I found a funny problem with y-axis labels when plotting acf(matrix) -
the labels are too close to one of the margins and cut in half.
Here's the problem:
test<-matrix(rnorm(200),ncol=4)
acf(test)
This doesn't fix the problem:
test<-matrix(rnorm(200),ncol=4)
par(mar=c(3,3,2,0.2),oma=c(0,0,0,0))
acf(test)
This does fix the margin. I understan...
2005 Nov 28
3
How Can I change the acf's plot type?
In the R Document, the usage of the acf() is as follow:
acf(x, lag.max = NULL,
type = c("correlation", "covariance", "partial"),
plot = TRUE, na.action = na.fail, demean = TRUE, ...)
But now I want to get the result picture like:
plot(x,type="l")
or
plot(x,type="p")
How can...
2009 May 20
1
stationarity tests
How can I make sure the residual signal, after subtracting the trend extracted through some technique, is actually trend-free ?
I would greatly appreciate any suggestion about some Stationarity tests.
I'd like to make sure I have got the difference between ACF and PACF right.
In the following I am citing some definitions. I would appreciate your thoughts.
ACF(k) estimates the correlation between y(t) and y(t-k) like an ordinary correlation coefficient.
ACF is the simple ( i.e. unconditional ) correlation between a time series and it's lags thus
y(t...
2007 Mar 07
2
Calculating confidence limits on acf graphs
Hello,
I was wondering if anybody could help me with this?
I have plotted an acf function for a time series and am very happy with it.
Now I am interested in calculating for myself the two values for the confidence
intervals that are plotted on the graph of the acf.
The confidence intervals do not appear to be returned from the acf function (is this true?).
So far I haven'...
2006 Mar 24
3
bug in plot.acf (PR#8705)
(Moved from r-devel to r-bugs)
On 3/24/2006 5:03 AM, Antonio, Fabio Di Narzo wrote:
> Hi all.
> There's a bug in plot.acf, when plotting acf for multivariate time series.
> Here a reproducible example:
>
> X <- rnorm(1000)
> Y <- -X + rnorm(1000, sd=0.6)
> Z <- cbind(X,Y)
>
> In
> acf(Z)
> cross-correlation plot y-axis is limited to 0-1. But:
> acf(Z, ylim=c(-1,1))
> shows t...
2008 Aug 06
1
using acf() for multiple columns
Hi everyone,
I'm trying to use the acf() function to calculate the autocorrelation of
each column in a matrix. The trouble is that I can only seem to get the
function to work if I extract the data in the column into a separate matrix
and then apply the acf() function to this column.
I have something like this: acf(mat,lag.max=10,na.act...
2016 Mar 23
3
ACF retardos múltiplos del periodo
Hola,
Estoy visualizando una serie temporal para determinar sus órdenes ARIMA y
no consigo lo siguiente: ¿Cómo puedo sacar la ACF de los retardos múltiplos
del periodo? Es decir, sólo ver en el gráfico ACF los retardos 12, 24, 36...
Gracias!!
David
[[alternative HTML version deleted]]
2008 May 25
2
A small modification of plot.acf (patch)
In one of my scripts I used plot.acf function, but I had to modify it
a little to suit my needs. Although my modifications are minor, I
believe some people might benefit from it.
The problem: currently, in cross-correlation plots main title captions
are constructed of 2 names separated by '&' symbol. Such captions
occupy...
2009 Dec 22
2
ACF normalization.
Hi,
Can anyone please provide the formula used to compute ACF(nlme). I believe the one that is used in R is of the type mentioned on the website. Please correct me if I am wrong. The normalization of the numerator (Ch) has been done by 'N' where as I would like to do it by 'N-k'. Is there anyway in the present implementation of ACF to normaliz...
2007 Nov 12
2
graphical parameters and acf
...omes out fine. However, for
each plot, it prints a title on top of each plot that says
Series followed by the variable name used in the plot. I
want to suppress those titles, but I also want a general
figure title on the bottom of the page. I've looked at the
Murrell book as well as the acf documentation and can't seem
to figure that out. Any suggestions?
Thanks in advance,
David
--
=======================================================================
David Kaplan, Ph.D.
Professor
Department of Educational Psychology
University of Wisconsin - Madison
Educational Sciences,...