similar to: R for arma mdel with constraints on parameters

Displaying 20 results from an estimated 2000 matches similar to: "R for arma mdel with constraints on parameters"

2005 Jun 14
1
using forecast() in dse2 with an ARMA model having a trend component
(My apologies if this is a repeated posting. I couldn't find any trace of my previous attempt in the archive.) I'm having trouble with forecast() in the dse2 package. It works fine for me on a model without a trend, but gives me NaN output for the forecast values when using a model with a trend. An example: # Set inputs and outputs for the ARMA model fit and test periods
2007 Oct 22
1
Newbie help: Data in an arma fit
I'd like to fit an ARMA(1,1) model to some data (Federal Reserve Bank interest rates) that looks like: ... 30JUN2006, 5.05 03JUL2006, 5.25 04JUL2006, N <---- here! 05JUL2006, 5.25 ... One problem is that holidays have that "N" for their data. As a test, I tried fitting ARMA(1,1) with and without the holidays deleted. In other words, I fit the above data
2004 Oct 25
1
output processing / ARMA order identification
Dear R users, I need to fit an ARMA model. As far as I've seen, EACF (extended ACF) is not available in R. 1. Let's say I fit a series of ARMA models in a loop. Given the code/output included below, how do I pull 'Model' and 'Fit' (AIC) from each summary() so that I can combine them into an array/data frame to be sorted by AIC? 2. Apart from EACF, are you aware perhaps
2006 Nov 07
1
Comparison between GARCH and ARMA
Dear all R user, Please forgive me if my problem is too simple. Actually my problem is basically Statistical rather directly R related. Suppose I have return series ret with mean zero. And I want to fit a Garch(1,1) on this. my is r[t] = h[i]*z[t] h[t] = w + alpha*r[t-1]^2 + beta*h[t-1] I want to estimate the three parameters here; the R syntax is as follows: #
2008 Aug 20
2
arma: what is the meaning of Pr(>|t|)?
In the summary of the output of arma, there's a number Pr(>|t|), however, I don't know what is its meaning - at least, it doesn't _seem_ to be a Student's t distribution. Reproducible test case: x <- c(0.5, sin(1:9)) reg <- arma(x, c(1,0)) summary(reg) <output> Call: arma(x = x, order = c(1, 0)) Model: ARMA(1,0) Residuals: Min 1Q Median 3Q
2009 Apr 29
1
arma model with garch errors
Dear R experts, I am trying to estimate an ARMA 2,2 model with garch errors. I used the following code on R 2.9. #library library(fGarch) #data data1<-ts(read.table("C:/Users/falcon/Desktop/Time Series/exports/goods1.csv"), start=c(1992,1), frequency=12) head(data1) #garch garchFit(formula.mean= ~arma(2,2),formula.var=~garch(1,1), data=data1) but get this error: >
2003 May 16
3
ARMA.predict?
Hi there, Does anyone know how to predict ARMA? It doesn?t have either predict or forecast methods. I found couple of packages called fbasic and fseries at http://www.itp.phys.ethz.ch/econophysics/R/, which has ?arma.predict? in it, but it doesn?t seem to be working. Any help in this regard would be appreciated. Thanks in advance. Regards Skanda Kallur "Prediction is very difficult,
2006 Aug 14
1
ARMA(1,1) for panel data
Dear List, I am new to TS-Modeling in R. I would like to fit an ARMA(1,1) model for a balanced panel, running Y on a full set of unit and year dummies using an arma(1,1) for the disturbance: y_it=unit.dummies+yeardummies+e_it where: e_it=d*e_it-1+u_it+q*u_it-1 How can I fit this model in R? arma() does not seem to take covariates (or I don't understand how to specify the function so that
2010 Aug 23
1
Fitting a regression model with with ARMA error
Hi, I want to fit a regression model with one independent variable. The error part should be fitted an ARMA process. For example, y_t = a + b*x_t + e_t where e_t is modelled as an ARMA process. Please let me know how do I do this in R. What code should I use? TIA Aditya [[alternative HTML version deleted]]
2008 Mar 21
1
tseries(arma) vs. stats(arima)
Hello, The "arma" function in the "tseries" package allows estimation of models with specific "ar" and "ma" lags with its "lag" argument. For example: y[t] = a[0] + a[1]y[t-3] +b[1]e[t-2] + e[t] can be estimated with the following specification : arma(y, lag=list(ar=3,ma=2)). Is this possible with the "arima" function in the
2013 Apr 29
1
Arma - estimate of variance of white noise variables
Hi all, Suppose I am fitting an arma(p,q) model to a time series y_t. So, my model should contain (q+1) white noise variables. As far as I know, each of them should have the same variance. How do I get the estimate of this variance by running the arma(y) function (or is there any other way)? Appreciate your help. Thanks, Preetam -- Preetam Pal (+91)-9432212774 M-Stat 2nd Year,
2013 Jun 02
2
HELP: Ayuda URGENTE CON MODELO ARMA EN R y Autocorrelación.
> Cordial saludos a tod en s. > > Estoy leyendo un tema y tengo la siguiente necesidad. > > Los contacto para pedirles MUY ENCARECIDAMENTE ME AYUDEN con la > explicación DE CÓMO HACER EL MODELO ARMA en R DE UNA SEÑAL CUALQUIERA para > obtener de ella el modelo matemático fraccional aproximado, esto para > obtener el PSD de la señal (Power Density Spectrum). > > La
1999 Nov 14
1
bug in arma.sim (PR#322)
Dear Sir, I think I found a bug in the function arma.sim, which is defined in the help page of the function filter: arma.sim <- function(n, ar = NULL, ma = NULL, sigma = 1.0) { x <- ts(rnorm(n+100, 0, sigma^2), start = -99) if(length(ma)) x <- filter(x, ma, sides=1) if(length(ar)) x <- filter(x, ar, method="recursive") as.ts(x[-(1:100)]) } I am using R
2011 Jul 01
1
How to fit ARMA model
Hello, I am having some problems with fitting an ARMA model to my time series data (randomly generated numbers). The thing is I have tried many packages [tseries, fseries, FitARMA etc.] and all of them giving very different results. I would appreciate if someone could post here what the best package is for my purpose. Also, after having done the fitting, I would like to check for the model's
2007 Mar 07
1
good procedure to estimate ARMA(p, q)?
Hi all, I have some residuals from regression, and i suspect they have correlations in them... I am willing to cast the correlation into a ARMA(p, q) framework, what's the best way to identify the most suitable p, and q, and fit ARMA(p, q) model and then correct for the correlations in regression? I know there are functions in R, I have used them before, but I just want to see if I can do
2012 Aug 03
1
AR vs ARMA model
Hi I am trying to fit a time series data.It gives a AR(2) model using the ar function and ARMA(1,1) model using autoarmafit function in timsac package.How do I know which is the correct underlying model? pls help -- View this message in context: http://r.789695.n4.nabble.com/AR-vs-ARMA-model-tp4639015.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 19
1
using garchFit() to fit ARMA+GARCH model with exogeneous variables
Hello - Here's what I'm trying to do. I want to fit a time series y with ARMA(1,1) + GARCH(1,1), there are also an exogeneous variable x which I wish to include, so the whole equation looks like: y_t - \phi y_{t-1} = \sigma_t \epsilon_t + \theta \sigma_{t-1} \epsilon_{t-1} + c x_t where \epsilon_t are i.i.d. random variables \sigma_t^2 = omega + \alpha \sigma_{t-1}^2 + \beta
2002 Aug 05
1
Modified ARMA function
R-guRus , ARMA function in tseries, seems to be calculating the AR coeff 's as coef <- lm(xx[,1]~xx[,lag$ar+1])$coef [*snipped* from around line 77,] I'd like to modify this model with another term somewhat in these lines lm(xx[,1] ~xx[,lag$ar+1]+mvgsignal)$coef where mvgsignal is a moving average signal based on some indicators, the question is could i simply hack into
2004 Jul 25
1
Multivariate ARMA Model
Hi R-Community, so far I dealt with univariate processes and used the function "arima" to estimate an ARMA(1,1)-model. For multivariate processes there are the functions "estVARXar" and "estVARXls" from package "DSE". But how can I estimate an VARMA(1,1)-model, or even better determine the orders and estimate the parameters? Much thanks in advance, Hagen
2012 Mar 01
2
Robust ARMA Fitting in R?
Hello, BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } Does any one know if there are any functions/packages available in R for robust fitting of ARMA time series models (e.g., similar to the function arima.rob() in S-PLUS)? Many thanks and kind regards, Isabella Isabella R. Ghement, Ph.D. Ghement Statistical Consulting Company 301-7031 Blundell Road,