similar to: Easy acf and pacf for irregular time series in R

Displaying 20 results from an estimated 4000 matches similar to: "Easy acf and pacf for irregular time series in R"

2012 Dec 30
1
acf () and pacf()
I have used acf() and pacf() in R to get the acf and pacf values at max/lag=20 but the output did not show the values associated with lag numbers. lag numbers is shown in decimals. -- Rashid Ameer View my recent publication at * http://www.emeraldinsight.com/fwd.htm?id=aob&ini=aob&doi=10.1108/17538391211282854 * Details for my works are available directly at
2010 Feb 11
1
ACF and PACF
Hi helpers, can you help me in plotting acf and pacf functions in R. I am using the code acf(variable name) but it is not working. Expecting your reply. Thanks -- View this message in context: http://n4.nabble.com/ACF-and-PACF-tp1477149p1477149.html Sent from the R help mailing list archive at Nabble.com.
2007 Apr 27
1
acf and pacf plot
Hi, I noticed that whenever I ran acf or pacf, the plot generated by R always includes two horizontal blue doted lines. Furthermore, these two lines are not documented in the acf documentation. I don't know what they are for, but it seems that they are important. Could someone tell me what they are and how are they calculated? Thanks, -- Tom [[alternative HTML version deleted]]
2000 Jun 20
1
pacf
Dear list, according to the documentation of acf{ts} "the partial correlation coefficient is estimated by fitting autoregressive models of successively higher orders up to lag.max. " However, R seems to return the Yule-Walker estimates of the PACF by default. You can check this using c(1:10) as the series: the YW estimates are 0.7000000 and -0.1527035 for lags 1 and 2 . If the PACF
2003 Apr 02
2
pacf.mts
I am getting the following: *** Weave Errors *** Error in driver$runcode(drobj, chunk, chunkopts) : Error in eval(expr, envir, enclos) : couldn't find function "pacf.mts" *** Source Errors *** Error in eval(expr, envir, enclos) : couldn't find function "pacf.mts" make[1]: *** [checkVignettes] Error 1 I don't really understand the new namespace mechanism,
2007 Apr 28
1
pacf
Hi, I wanted to understand exactly how acf and pacf works, so I tried to calculate ac and pac manually. For ac, I used the standard acf formula: acf(k) = sum(X(t)-Xbar)(X(t-k)-Xbar))/sum(X(t)-Xbar)^2. But for pac, I could not figure out how to calculate it by hand. I understand that in both R and EVIEWS, it is done using the Durbin-Levinson algorithm by the computer. However, I don't
2006 Apr 27
0
What are the differences between ACF and PACF in time seriesanalysis?
Hello Michael, see as an online resource: http://www.statsoft.com/textbook/sttimser.html or get hold on a time series analysis textbook, like one of the monographies written by Hamilton; Luetkepohl; Brockwell & Davis; Harvey or Box & Jenkins, to name but a few. In a nutshell, PACF 'eliminates' intermediate autocorrelations compared to ACF, e.g. an AR(1) process will ordinarily
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
2010 Jul 22
0
Please advise acf and pacf in order to determine order of Arima
I have data as below.Please let me know how the ACF and Pacf used to determine the order od arima model. Is there any rules need to be followed to determine order.Please advise > turkey.price.ts Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2001 1.58 1.75 1.63 1.45 1.56 2.07 1.81 1.74 1.54 1.45 0.57 1.15 2002 1.50 1.66 1.34 1.67 1.81 1.60 1.70 1.87 1.47 1.59 0.74 0.82
2009 Sep 11
2
How to Label Certain Lags for a PACF Graph
When I use the command for PACF, lags 5, 10, 15, and 20 are labeled. I would like to label lag 1. I would greatly appreciate if someone could tell me how to do this. Below is the command that I am using: pacf(data$R1,main="Series R1 Residuals") [[alternative HTML version deleted]]
2004 Mar 09
2
corARMA and ACF in nlme
Hi R-sters, Just wondering what I might be doing wrong. I'm trying to fit a multiple linear regression model, and being ever mindful about the possibilities of autocorrelation in the errors (it's a time series), the errors appear to follow an AR1 process (ar(ts(glsfit$residuals)) selected order 1). So, when I go back and try to do the simultaneous regression and error fit with gls,
2008 Aug 28
3
Plots spanning columns
Hi! I want to plot three graphs (residuals, ACF and PACF of a model). Ideally I would use a c(2,2) disposition where the residuals plot would start at position 1,1 and span to position 1,2. Then I would plot the ACF in position 2,1 and the PACF in position 2,2. Maybe is clearer like this: -------------------------- | | | residuals | |
2004 Aug 17
1
suggestion for ARMAacf()
hi, in 1.9.1, the return value from ARMAacf(pacf=TRUE) is not named by lags, contrary to ?ARMAacf. the simple fix is to move names(Acf) <- down after if(pacf), with an appropriate starting lag as pacf=TRUE appears to start at lag 1 (whereas pacf=FALSE starts at lag 0). for consistency, one could argue to append 1 for lag 0 for pacf=TRUE (or start pacf=F at lag 1). however, given the
2018 Aug 30
2
Cambiar la escala del eje x
Estimados amigos Estoy dibujando las funciones acf y pacf de una variable de una serie "zoo": > ls.str(pat="T0.5") T0.5 : 'zoo' series from 2017-11-08 23:00:00 to 2017-11-15 06:59:00   Data: num [1:9120, 1:3] 55 49.8 51 50.1 36.5 ...   Index:  POSIXct[1:9120], format: "2017-11-08 23:00:00" "2017-11-08 23:01:00" "2017-11-08
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'
2003 Jun 19
3
acf inherits problem
I think this is a bug, but perhap someone could confirm that it is not just me doing something stupid. (I vaguely recall something like this previously getting fixed in 1.7.0.) R : Copyright 2003, The R Development Core Team Version 1.7.1 (2003-06-16) > z <-matrix(rnorm(100), 100,1) > acf(as.ts(z), type="partial") Error in inherits(x, "ts") : evaluation is nested
2006 Mar 23
2
Default lag.max in ACF
Hi, The default value for lag.max in ACF implementation is 10*log10(N) There several publications recommending setting lag.max to: - N/4 (Box and Jenkins, 1970; Chatfield, 1975; Anderson, 1976; Pankratz, 1983; Davis, 1986; etc.) - sqrt(N)+10 (Cryer, 1986) - 20<=N<=40 (Brockwell and Davis) Why R uses 10*log10(N) as a default? Please, give me a reference to a book or article where the
2003 Oct 15
2
R-WinEdt, 1.8, deprecating warning
When I load R-WinEdt (>library(RWinEdt), I get the warning: Warning message: multi-argument returns are deprecated in: return(InstallRoot, RWinEdtInstalled) I have upgraded to R 1. 8 on Windows, by copying non-base libraries into the 1.8 library folder and updating the help. I also reinstalled R-WinEdt from the zip file as detailed in RWinEdt ReadMe file using the recommend (A)
2011 Sep 16
3
question concerning the acf function
Hi everyone, I've got a question concerning the function acf(.) in R for calculating the autocorrelation in my data. I have a table with daily returns of several stocks over time and I would like to calculate the autocorrelation for all the series (not only for one time series). How can I do this? After that I want to apply an autoregressive model based on the estimated lag in the
2004 May 21
2
RQuantlib ?Windows Binary?
R: Is there a reason why there isn't a Windows Binary version of RQuantlib on CRAN? Usually when there is no binary, I just source the source code, but this one appears to have various calls and methods and things like that so I'm hesitant to do so. I know there has been a big discussion on why Rmetrics doesn't have source for unix/linux, but that isn't on CRAN. Through