similar to: p-values from bootstrapping of time series (tsboot)

Displaying 20 results from an estimated 4000 matches similar to: "p-values from bootstrapping of time series (tsboot)"

2012 Sep 17
2
Problem with Stationary Bootstrap
Dear R experts,   I'm running the following stationary bootstrap programming to find the parameters estimate of a linear model:     X<-runif(10,0,10) Y<-2+3*X a<-data.frame(X,Y) coef<-function(fit){   fit <- lm(Y~X,data=a)    return(coef(fit)) }  result<- tsboot(a,statistic=coef(fit),R = 10,n.sim = NROW(a),sim = "geom",orig.t = TRUE)   Unfortunately, I got this
1999 Dec 09
1
tsboot
Fritz, I have slightly adapted (didn't work before) "tsboot" from the "boot" library to the current time series conventions of R. The following patch will do that. I suggest to apply this patch to the file "boot/R/bootfuns.q" of the "boot" library at CRAN. best Adrian --- bootfuns.orig.q Thu Dec 9 10:07:23 1999 +++ bootfuns.q Thu Dec 9 10:06:51 1999
1999 Dec 09
1
tsboot
Fritz, I have slightly adapted (didn't work before) "tsboot" from the "boot" library to the current time series conventions of R. The following patch will do that. I suggest to apply this patch to the file "boot/R/bootfuns.q" of the "boot" library at CRAN. best Adrian --- bootfuns.orig.q Thu Dec 9 10:07:23 1999 +++ bootfuns.q Thu Dec 9 10:06:51 1999
2011 Feb 08
0
tsboot fails on Seasonal Mann-Kendall (seaKen function, wq package)
Dear R-users, tsboot fails when I try to perform a block bootstrap on seaKen (package wq): these commands: require(wq) require(datasets) boot.block.sen <- function(data){seaKen(data)[[1]]} tsboot(sunspot.month, boot.block.sen, R=1999, l=12, sim="fixed") return: Error in seaKen(data) : x must be a 'ts' Any suggestion on how might I change seaKen in order to use it with
2010 Feb 28
0
tsboot
Dear R Users, If a stationary bootstrap (Politis & Romano 1994) for time series is performed (e.g. performance difference between trading strategy and benchmark), how can the following data be generated respectively adjusted? 1. p-values 2. smoothing parameter 3. significance levels 4. block lengths Please let me know. Thanks a lot. Best regards, Markus
2007 Nov 22
0
Problem with tsboot
I'm trying to bootstrap some regression coefficients so that I can estimate confidence intervals, but boot is not producing results. Can anybody suggest what I'm doing wrong here? > SpecPress <- ts(rnorm(501)) > Returns <- ts(rnorm(501)) > BootData <- data.frame(cbind(SpecPress, Returns)) > boot.specpress <- function(data, indices, maxit=20){ + data <-
2010 Aug 01
0
BCa-intervals not defined in boot.ci() for tsboot() -> package: boot
Hello everybody, when I create an object of class boot with the function tsboot() from the package boot and try to compute several types of confidence intervals with boot.ci("object of class boot created with tsboot") I obtain the warning message, that "BCa-intervals are not defined for time-series bootstraps". Does that hold in general? Or is it just not defined in
2007 Feb 21
0
GLS models - bootstrapping
Dear Lillian, I tried to estimate parameters for time series regression using time series bootstrapping as described on page 434 in Davison & Hinkley (1997) - bootstrap methods and their application. This approach is based on an AR process (ARIMA model) with a regression term (compare also with page 414 in Venable & Ripley (2002) - modern applied statistics with S) I rewrote the code
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"
2006 Oct 02
0
GLS models - bootstrapping
Hello, I am have fitted GLS models to time series data. Now I wish to bootstrap this data to produce confidence intervals for the model. However, because this is time series data, normal bootstrapping is not applicable. Secondly, 'tsboot' appears to only be useful for ar models - and does not seem to be applicable to GLS models. I have written code in R to randomly sample blocks of
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 =
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 =
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 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 Feb 03
0
Package np update (0.30-6) adds nonparametric entropy test functionality...
Dear R users, Version 0.30-6 of the np package has been uploaded to CRAN. See http://cran.r-project.org/package=np Note that the cubature package is now required in addition to the boot package. The recent updates in 0.30-4 through 0.30-6 provides additional functionality in the form of five new functions that incorporate frequently requested nonparametric entropy-based testing methods to the
2010 Feb 03
0
Package np update (0.30-6) adds nonparametric entropy test functionality...
Dear R users, Version 0.30-6 of the np package has been uploaded to CRAN. See http://cran.r-project.org/package=np Note that the cubature package is now required in addition to the boot package. The recent updates in 0.30-4 through 0.30-6 provides additional functionality in the form of five new functions that incorporate frequently requested nonparametric entropy-based testing methods to the
2004 Jan 13
3
How can I test if a not independently and not identically distributed time series residuals' are uncorrelated ?
I'm analizing the Argentina stock market (merv) I download the data from yahoo library(tseries) Argentina <- get.hist.quote(instrument="^MERV","1996-10-08","2003-11-03", quote="Close") merv <- na.remove(log(Argentina)) I made the Augmented Dickey-Fuller test to analyse if merv have unit root: adf.test(merv,k=13) Dickey-Fuller = -1.4645,
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