similar to: combining arima and ar function

Displaying 20 results from an estimated 6000 matches similar to: "combining arima and ar function"

2008 May 08
1
ARIMA, AR, STEP
Here is my problem: Autoregressive models are very interesting in forecasting consumptions (eg water, gas etc). Generally time series of this type have a long history with relatively simple patterns and can be useful to add external regressors for calendar events (holydays, vacations etc). arima() is a very powerful function but kalman filter is very slow (and I foun difficulties of estimation)
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
2005 Jul 08
1
help with ARIMA and predict
I'm trying to do the following out of sample regression with autoregressive terms and additional x variables: y(t+1)=const+B(L)*y(t)+C(1)*x_1(t)...+C(K)*x_K(t) where: B(L) = lag polynom. for AR terms C(1..K) = are the coeffs. on K exogenous variables that have only 1 lag Question 1: ----------- Suppose I use arima to fit the model:
2011 Jul 07
3
AR vs ARIMA question
Dear R People: Here is some output from AR and ARIMA functions: > xb <- arima.sim(n=120,model=list(ar=0.85)) > xb.ar <- ar(xb) > xb.ar Call: ar(x = xb) Coefficients: 1 0.6642 Order selected 1 sigma^2 estimated as 1.094 > xb.arima <- arima(xb,order=c(1,0,0),include.mean=FALSE) > xb.arima Call: arima(x = xb, order = c(1, 0, 0), include.mean = FALSE)
2011 Mar 29
1
Simple AR(2)
Hi there, we are beginners in R and we are trying to fit the following time series using ar(2): > x <- c(1.89, 2.46, 3.23, 3.95, 4.56, 5.07, 5.62, 6.16, 6.26, 6.56, 6.98, > 7.36, 7.53, 7.84, 8.09) The reason of choosing the present time series is that the we have previously calculated analitically the autoregressive coefficients using the direct inversion method as 1.1, 0.765, 0.1173.
2008 Nov 19
2
simulation of autoregressive process
Dear R users, I would like to simulate, for 20000 replications, an autoregressive process: y(t)=0.8*y(t-1)+e(t) where e(t) is i.i.d.(0,sigma*sigma), Thank you in advance ____________________________________________________ Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts musicaux
2007 Aug 07
1
Functions for autoregressive Regressionmodels (Mix between times series and Regression Models) ?
Hello everybody, I've a question about "autoregressive Regressionmodels". Let Y[1],.....,Y[n], be a time series. Given the model: Y[t] = phi[1]*Y[t-1] + phi[2]*Y[t-1] + ... + phi[p]*Y[t-p] + x_t^T*beta + u_t, where x_t=(x[1t],x[2t],....x[mt]) and beta=(beta[1],...,beta[m]) and u_t~(0,1) I want to estimate the coefficients phi and beta. Are in R any functions or packages for
2012 Jun 15
1
Replication of linear model/autoregressive model
Hi, I would like to make a replication of 10 of a linear, first order Autoregressive function, with respect to the replication of its innovation, e. for example: #where e is a random variables of innovation (from GEV distribution-that explains the rgev) #by using the arima.sim model from TSA package, I try to produce Y replicates, with respect to every replicates of e, #means for e[,1], I want
2010 Mar 01
2
Simple Linear Autoregressive Model with R Language
Hello - I need to do simple linear autoregressive model with R software for my thesis. I looked into all your documentation and I am not able to find anything too helpful. Can someone help me with the codes? Thanks Emil [[alternative HTML version deleted]]
2004 Jan 14
2
Fixed parameters in an AR (or arima) model
Hello I want to fit an AR model were two of the coefficients are fixed to zero (the second and third ar-coefficients). I used the "arima" function with the "fixed" argument but the ar3 coefficient is not set to zero: ============================================== > arima(Y, order=c(4,0,0), xreg=1:23, fixed=c(NA,0,0,NA,NA,NA)) Call: arima(x = Y, order = c(4, 0, 0), xreg =
2003 Apr 07
1
filtering ts with arima
Hi, I have the following code from Splus that I'd like to migrate to R. So far, the only problem is the arima.filt function. This function allows me to filter an existing time-series through a previously estimated arima model, and obtain the residuals for further use. Here's the Splus code: # x is the estimation time series, new.infl is a timeseries that contains new information # a.mle
2005 Apr 20
2
fSeries Technical Analysis rsiTA problem
fSeries Technical Analysis rsiTA problem Hello, I?m trying to use the rsiTA() function but keep getting this error: >rsiTA(tsx,14) Error in "[.timeSeries"(close, 1:(length(close) - 1)) : only 0's may be mixed with negative subscripts Here?s is the first three lines of my data: >tsx[1:3,] close 2004-04-18 20:00:00 8702.82 2004-04-19
2008 May 30
1
Alternative options: nonlinear model &autocorrelation?
Dear R community, Using nlme library I have developed a nonlinear mixed model. Incorporating an autoregressive model gives me an error that I can't allocate vector of size X. The problem is that my computer does not have enough physical memory most probably due to a large number of observations (17,000). I was wondering what alternative options I might use: 1) To use ARIMA and
2005 Jun 17
1
About simulations
Hello I would like to generate covariance matrix with autoregressive structure. I saw some functions in nlme such as corAR1 for example but I don't know how to use it for my goal. Could someone help me or advise me another function? Thank you in advance Caroline
2017 Nov 14
1
Live migration haswell, broadwell
Hi I wonder, if live migration (back and forth) is possible on mixed Haswell (Xeon V3) and Broadwell (Xeon V4) installations. The only notable difference between the two is apparently a working TSX implementation on V4, which got disabled on V3 due to bugs. The rest (VMCS-shadowing, posted interrupts) should not apply to our environment, as we do not run nested-vmx nor device-passthrough on
2010 Nov 18
1
how do I build panel data/longitudinal data models with AR terms using the plm package or any other package
Hi All, I am doing econometric modeling of panel data (fixed effects). We currently use Eviews to do this, but I have discovered a bug in Eviews 7 and am exploring the use of R to build panel data models / longitudinal data models. I looked at the plm package but do not see how I can incorporate AR terms in the model using the plm package. I have an Eviews model with two AR terms, AR(1) and
2007 Oct 22
0
beginner's tutorial, books, etc re: time-series analysis, ARMA/ARIMA models...
Thomas, may I also suggest, from the Documentation>Contributed section of CRAN, "Econometrics in R" by Grant Farnsworth http://cran.at.r-project.org/doc/contrib/Farnsworth-EconometricsInR.pdf (see the chapter on Time series) and, in case you can read Italian, "Analisi delle serie storiche con R" by Vito Ricci http://cran.at.r-project.org/doc/contrib/Ricci-ts-italian.pdf
1997 Apr 14
1
R-beta: arima
Has anybody ported the `arima'-package to R? I'm specially interested in the `arima.mle'-thingy. Fredrik =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To:
2007 May 24
1
lme with corAR1 errors - can't find AR coefficient in output
Dear List, I am using the output of a ML estimation on a random effects model with first-order autocorrelation to make a further conditional test. My model is much like this (which reproduces the method on the famous Grunfeld data, for the econometricians out there it is Table 5.2 in Baltagi): library(Ecdat) library(nlme) data(Grunfeld)
2007 May 11
1
Create an AR(1) covariance matrix
Hi All. I need to create a first-order autoregressive covariance matrix (AR(1)) for a longitudinal mixed-model simulation. I can do this using nested "for" loops but I'm trying to improve my R coding proficiency and am curious how it might be done in a more elegant manner. To be clear, if there are 5 time points then the AR(1) matrix is 5x5 where the diagonal is a constant