Displaying 20 results from an estimated 700 matches similar to: "arima0 with unusual poly"
2011 Feb 13
1
calculate phase/amplitude of fourier transform function in R
I did a fourier transform on a function in time domain to get the following
functions in frequency domain (in latex):
$Y_1[\omega] = \frac{1}{1-\phi_1 e^{-jw}}$
$Y_2[\omega] = \frac{1}{1-(\phi_1 + \phi_2)e^{-jw} +\phi_1\phi_2e^{-2jw}}$
How do I find the spectrum of this function for given $\phi_1$ and $\phi_2$
coefficients and in the discretization interval $w = [-\pi:.1*\pi: \pi]$?
Then, how
2005 Jun 01
2
Fitting ARMA model with known inputs.
Hello!
Is it possible to use R time series to identificate a process which is
subjected to known input? I.e. I have 2 sequences - one is measurements
of black box's state and the second is the "force" by which this black
box is driven (which is known too) and I want to fit thist two series
with AR-process. The "ar" procedure from stats package expects that the
force is
2007 Apr 10
1
Testing invertibility of an AR model
I've looked around but I can't find the method in R for testing whether
the resulting estimated coefficients
of an AR model imply that the model is invertible.
To quote from eric zivot's blue book :
" the AR(p) is invertible provided the rots of the characteristic
equation
Phi(z) = 1 - phi_1*z - phi_2*z^2 = phi_3*z^3 - ..... Phi_p*z^p = 0 lie
outside
the complex circle".
2017 Jun 20
1
How to write an estimated seasonal ARIMA model from R output?
I'm trying to use the following command.
arima (x, order = c(p,d,q), seasonal =list(order=c(P,D,Q), period=s)
How can I write an estimated seasonal ARIMA model from the outputs. To be specifically, which sign to use? I know R uses a different signs from S plus.
Is it correct that the model is:
(1-ar1*B-ar2*B^2-...)(1-sar1*B^s-sar2*B^2s-....)(1-B)^d(1-B^s)^D
2000 Apr 04
0
stochastic process transition probabilities estimation
Hi all,
I'm new with R (and S), and relatively new to statistics (I'm a
computer scientist), so I ask sorry in advance if my question is silly.
My problem is this: I have a (sample of a) discrete time stochastic
process {X_t} and I want to estimate
Pr{ X_t | X_{t-l_1}, X_{t-l_2}, ..., X_{t-l_k} }
where l_1, l_2, ..., l_k are some fixed time lags. It will be enough for
me to compute
2010 Oct 12
1
[LLVMdev] Specify dominator for BasicBlock to avoid "Instruction does not dominate all uses!"
Hi, I tried adding the PHI nodes in BB_unique, and it works for the simple
case described here, but in case the nodes were declared in some
predecessors of ExitBB1 and used in ExitBB1_redirect and its successors, it
won't work, unless I create entries for all of them in BB_unique.
B1 (declares PHI_1) B3
| |
B2
2002 Apr 02
1
predict with arima0
Dear R People:
I'm trying to use the predict command on an arima0 object.
I do the following:
xm.arma <- arima0(xm2,order=c(1,0,1))
predict(xm.arma,n.ahead=2)
and I get the message:
Error in round(x, digits) : Non-numeric argument to mathematical function
Any ideas what the problem might be, please?
R version 1 4 1 on Windows.
Thanks in advance!
Sincerely,
Erin Hodgess
Associate
2007 Feb 21
1
loops in R help me please
I am trying to make the following Kalman filter equations work and therefore produce their graphs.
v_t=y_t - a_t
a_t+1=a_t+K_t*v_t
F_t=P_t+sigma.squared.epsilon
P_t+1=P_t*(1-K_t)+sigma.squared.eta
K_t=P_t/F_t
Given:
a_1=0,P_1=10^7,sigma.squared.epsilon=15099,
sigma.squared.eta=1469.1
I have attached my code,which of course doesnt work.It produces NAs for the Fs,Ks and the a.
Can somebody tell me
2005 Jan 21
2
transfer function estimation
Dear all,
I am trying to write an R function that can estimate Transfer functions *with additive noise* i.e.
Y_t = \delta^-1(B)\omega(B)X_{t-b} + N_t
where B is the backward shift operator, b is the delay and N_t is a noisy component that can be modelled as an ARMA process. The parameters to both the impulse response function and the ARMA noisy component need to be estimated simultaneously.
I
2010 Aug 23
1
Fitting a GARCH model in R
Hi,
I want to fit a mean and variance model jointly.
For example I might want to fit an AR(2)-GARCH(1,1) model i.e.
r_t = constant_term1 + b*r_t-1 + c*r_t-2 + a_t
where a_t = sigma_t*epsilon_t
where sigma^2_t = constant_term2 + p*sigma^2_t-1 + q*a^2_t-1
i.e. R estimates a constant_term1, b, c, constant_term2, p, q
TIA
Aditya
2004 Apr 07
1
Time Varying Coefficients
I'd like to estimate time varying coefficients in a linear regression using
a Kalman filter.
Even if the Kalman Filter seems to be available in some packages I can't
figure out how to use it to estimate the coefficients.
Is there anyway to do that in R?
Any help appreciated
Thanks
2011 Jun 03
0
Package dlm generates unstable results?
Hi, All,
This is the first time I seriously use this package. However, I am confused that the result is quite unstable. Maybe I wrote something wrong in the code? So could anybody give me some hint? Many thanks.
My test model is really simple.
Y_t = X_t * a_t + noise(V),(no Intercept here)
a_t = a_{t-1} + noise(W)
I first run the following code: (I shall provide data at the end of the
2003 Jul 31
1
R 1.7.1 arima0 problem
Hi, I'm trying to go through the examples for function
arima0() in ts package, i.e,
>data(lh)
>arima0(lh, order = c(1,0,0))
each time the call to arima0() causes a segmentation
fault. I checked the earlier version (1.1.1) of R,
the function arima0 works fine.
Tracing the call indicates that the function
"setup_starma" (in pacf.c under ts) interprets
the addresses of the
2009 Feb 03
3
Problem about SARMA model forcasting
Hello, Guys:
I'm from China, my English is poor and I'm new to R. The first message I sent to R help meets some problems, so I send again.
Hope that I can get useful suggestions from you warm-hearted guys.
Thanks.
I builded a multiplicative seasonal ARMA model to a series named "cDownRange".
And the order is (1,1)*(0,1)45
The regular AR=1; regular MA=1; seasonal AR=0; seasonal
2009 May 04
0
questions about function arima0
Hi,
I work on order estimation for autoregressive processes and after some
inconsistencies cropped up I implemented the AIC criterion myself. Its
results do not match the implementation in R and there are a few
things I can not understand even after reading the source code of R.
I used the function called arima0 (with empty "ma" coeficient vector),
and I do not understand how some of
2002 Apr 04
2
summary on predict with arima0
Here is the summary on predict when
using an arima0 object:
The arima0 object must be based on a time series vector.
That is;
x <- ts(xm1, frequency=12, start=c(1975,1))
x.ar <- arima0(x,order=c(1,1,1))
predict(x.ar,n.ahead=3)
Thanks so much to Prof. Brian Ripley and David Brahm and other!
Sincerely,
Erin Hodgess
2001 Sep 20
1
How to get residuals with arima0? [fwd]
[accidentally sent to owner-r-help -- please do NOT!
it's "r-help" !]
------- start of forwarded message -------
From: Marcos_Sanches at gallup.com
To: owner-r-help at stat.math.ethz.ch
Subject: How to get residuasl with arima0?
Date: Wed, 19 Sep 2001 15:19:07 -0300
I know this is a basic question, but I've never used the 'ts' package and
I'm having some
2001 Apr 12
1
estimates for e in procedure arima0() ?
Dear all,
this may be a stupid question but...
The underlying model in procedure arima0 is
X[t] = a[1]X[t-1] + ... + a[p]X[t-p] + e[t] + b[1]e[t-1] + ... +b[q]e[t-q]
Is it possible to get an estimate of e for every point t, t-1 etc. or
at least an estimate of the variance of e?
Thanks a lot in advance for any hints
Kai Arzheimer
2011 May 23
1
predict a MA timeseries
Hi,
could anyone tell me how predict() predicts the new value(s), of a MA(1)
arima-modell.
its really easy to make it with an AR(1), knowing the last term, but how can
i or R know the last error?
It would also help if somebody could tell me how to find the "open" source
of the function predict().
Thanks and sorry for my poor english.
--
View this message in context: