Displaying 20 results from an estimated 6000 matches similar to: "Regression on two time series"
2007 Nov 26
3
Time Series Issues, Stationarity ..
Hello,
I am very new to R and Time Series. I need some help including R codes
about the following issues. I' ll really appreciate any number of
answers...
# I have a time series data composed of 24 values:
myinput = c(n1,n2...,n24);
# In order to make a forecasting a, I use the following codes
result1 = arima(ts(myinput),order = c(p,d,q),seasonal = list(order=c(P,D,Q)))
result2 =
2011 Nov 06
1
VAR and VECM in multivariate time series
Hello to everyone!
I am working on my final year project about multivariate time series. There
are three variables in the multivariate time series model.
I have a few questions:
1. I used acf and pacf plot and find my variables are nonstationary. But in
adf.test() and pp.test(), the data are stationary. why?
2.I use VAR to get a model. y is the matrix of data set and I have made a
once
2011 Sep 28
0
cointegration test
Dear All,
I am looking for a cointegration relationship between Spot and Future Price
of commodites. The problem i am facing follows:
1. After estimating by Engle-Grranger Method, i found that the residuals are
stationary at their level I (o), which is required to fulfill the
cointegration test. But the autocorrelation problem arises, as DW statistics
is signficantly low 0.50-0.88 for various
2007 Dec 08
2
time series tests
Hi all,
Can anyone clear my doubts about what conclusions to take with the following what puts of some time series tests:
> adf.test(melbmax)
Augmented Dickey-Fuller Test
data: melbmax
Dickey-Fuller = -5.4075, Lag order = 15, p-value = 0.01
alternative hypothesis: stationary
Warning message:
p-value smaller than printed p-value in: adf.test(melbmax)
2008 Jun 26
1
stationary "terminology" time series question
This is not exactly an R question but the R code below may make my
question more understandable.
If one plots sin(x) where x runs from -pi to pi , then the curve hovers
around zero obviously. so , in a"stationary in the mean" sense,
the series is stationary. But, clearly if one plots the acf, the
autocorrelations at lower lags are quite high and, in the "box jenkins"
2001 Feb 15
1
cointegrating regression
Hi all,
Can I run a cointegrating regression, for example
delta Xt=a1(Yt-1-cXt-1)+E1t
and
delta Yt=-b1(Yt-1-cXt-1)+E2t
with R were
Xt and Yt are non stationary time series at t
a,b,c are parameters and E1t and E2t are error terms at t.
Yt-Xt is stationary
Any suggestions are welcome.
Best regards,
/fb
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing
2013 Apr 30
1
ADF test --time series
Hi all,
I was running the adf test in R.
CODE 1:
adf.test(data$LOSS)
Augmented Dickey-Fuller Test
data: data$LOSS
Dickey-Fuller = -1.9864, Lag order = 2, p-value = 0.5775
alternative hypothesis: stationary
CODE 2:
adf.test(diff(diff(data$LOSS)))
Augmented Dickey-Fuller Test
data: diff(diff(data$LOSS))
Dickey-Fuller = -6.9287, Lag order = 2, p-value = 0.01
alternative
2006 Feb 06
1
marginal distribution wrt time of time series ?
Dear all,
In many papers regarding time series analysis
of acquired data, the authors analyze 'marginal
distribution' (i.e. marginal with respect to time)
of their data by for example checking
'cdf heavy tail' hypothesis.
For i.i.d data this is ok, but what if samples are
correlated, nonstationary etc.?
Are there limit theorems which for example allow
us to claim that
2007 Jul 16
1
question about ar1 time series
Hello everybody,
I recently wrote a "program" that to generate AR1 time series, here the code:
#By Jomopo. Junio-2007, Leioa, Vizcaya
#This program to create the AR1 syntetic series (one by one)
#Where the mean is zero, but the variance of the serie AR1 and
#the coef. of AR1 are be changed. If var serie AR1 = 1 then is standarized!
#Final version for AR1 time series program
#Mon Jul
2009 Aug 31
2
online classes or online eduction in statistics? esp. time series analysis and cointegration?
Hi all,
I am looking for low cost online education in statistics. I am thinking of
taking online classes on time series analysis and cointegration, etc.
Of course, if there are free video lectures, that would be great. However I
couldn't find any free video lectures at upper-undergraduate and graduate
level which formally going through the whole timeseries education... That's
why I would
2005 Mar 31
2
how to simulate a time series
Dear useRs,
I want to simulate a time series (stationary; the distribution of
values is skewed to the right; quite a few ARMA absolute standardized
residuals above 2 - about 8% of them). Is this the right way to do it?
#--------------------------------
load("rdtb") #the time series
> summary(rdtb)
Min. 1st Qu. Median Mean 3rd Qu. Max.
-1.11800 -0.65010 -0.09091
2012 Jan 04
5
simulating stable VAR process
Hello all,
I looking at package dse or vars or mAr
I know how to simulate a VAR(p) process, my problem is that most of those
processes are unstable (not weakly stationary).
Do anybody know how to generate a random VAR (or VARMA even better) process
that is weakly stationary?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/simulating-stable-VAR-process-tp4261177p4261177.html
2006 Feb 15
1
Generating random walks
Hello, here is another question, how do I generate
random walk models in R? Basically, I need an AR(1)
model with the phi^1 value equal to 1:
Yt = c + Yt-1 + E
where E is random white noise.
I tried using the arima.sim command:
arima.sim(list(ar=c(1)), n = 1000, rand.gen = rnorm)
but got this error since the model I am generating is
not stationary:
Error in arima.sim(list(ar = c(1)), n =
2006 Jul 06
2
KPSS test
Hi,
Am I interpreting the results properly? Are my conclusions correct?
> KPSS.test(df)
---- ----
KPSS test
---- ----
Null hypotheses: Level stationarity and stationarity around a linear trend.
Alternative hypothesis: Unit root.
----
Statistic for the null hypothesis of
level stationarity: 1.089
Critical values:
0.10 0.05 0.025 0.01
0.347 0.463
2013 Jun 23
1
Scaling Statistical
Short question: Is it possible to use statistical tests, like the Augmented
Dickey-Fuller test, in functions with for-loops? If not, are there any
alternative ways to scale measures?
Detailed explanation: I am working with time-series, and I want to flag
curves that are not stationary and which display pulses, trends, or level
shifts.
>df
DATE ID VALUE2012-03-06 1
2010 Mar 01
1
p-values from bootstrapping of time series (tsboot)
Does anyone know how p-values can be generated if tsboot (stationary
bootstrap) for time series is performed?
That would be of great help. Thanks a lot for your comments.
Markus
[[alternative HTML version deleted]]
2012 May 22
1
¨Time series and variables with different lengths
Hey,
we are currently analyzing the liquidty in the Danish mortgage bond market.
For this project we have several irregular time series variables as Bond prices, interest rates etc. We declared all the variables as irregular time series, and created the first differences of them to make them stationary.
Now we are trying to run a linear regression on the price of the bon including dummy
2003 Apr 17
2
Testing for Stationarity of time series
Hi there,
Does anyone know if R has a function for testing whether a time series is
stationary??
Thanks in advance,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James's Buildings
79 Oxford Street
Manchester M1 6SS
Tel: +44(0)161 609 4084
Mob: +44(0)7810 523 713
KSS Ltd
A division of Knowledge Support Systems Group plc
Seventh Floor St James's
2007 Aug 16
2
ADF test
Hi all,
Hope you people do not feel irritated for repeatedly sending mail on Time series.
Here I got another problem on the same, and hope I would get some answer from you.
I have following dataset:
data[,1]
[1] 4.96 4.95 4.96 4.96 4.97 4.97 4.97 4.97 4.97 4.98 4.98 4.98 4.98 4.98 4.99 4.99 5.00 5.01
[19] 5.01 5.00 5.01 5.01 5.01 5.01 5.02 5.01 5.02 5.02 5.03 5.03 5.03
2005 Oct 04
2
Need help on ARIMA (time series analysis)
Hi,
I am so novice in using R. I have some problems in my R script below
which fits time series data and predict it one-step ahead. Here is a
brief explanation on what I try to achieve
Th16k is time series data (500 data points). The size of window for
fitting and predicting is 50 (data points). As you can easily discover
from my code, (fixed) window is moving/sliding to get next one-step