Description Usage Arguments Details Value Examples
This function computes the critical values for the backward ADF statistic by Phillips et al. (2015)
1 | CV_BADF(qe, m, T, r0, address, clust_number)
|
qe |
is a q x 1 vector of quantiles |
m |
is the number of replications for the simulated DGP |
T |
is the number of simulated time steps |
r0 |
is the minimum window size fraction |
address |
is a character object containing the address where the plot density of SADF test stat will be saved in png format |
clust_number |
is the number of clusters for parallel computation |
This function computes the critical values for the backward ADF statistic by Phillips et al. (2015) and saves the plot density of the test statistic as a png file in a specified address
quantile_badfs a q x 1 vector of simulated critical values for the sup ADF statistic
1 2 3 4 5 6 7 | ## Not run:
qe <-c(0.90,0.95,0.99)
address <- "D:/bubbletest/"
m <- 1000 # number of replications
system.time(aa<-CV_BADF(qe,m,100,0.190,address,clust_number=8))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.