Is there a Matlab equivalent to the tsboot function in R?

6 visualizaciones (últimos 30 días)
Kevin Egan
Kevin Egan el 28 de En. de 2020
Respondida: Karan Nandankar el 24 de Dic. de 2020
I am working with time series data and different functions developed in R and Matlab. I was wondering if there was a similar MATLAB function that develops similar results as the tsboot() function in R.
I've reviewed https://www.spg.tu-darmstadt.de/res/dl/bootstraptoolboxformatlab/bootstrapmatlabtoolbox.en.jsp and it is still not clear how this would develop similar results.
  2 comentarios
Star Strider
Star Strider el 28 de En. de 2020
I am not certain what the R function does, so I cannot comment on it specifically. That is also the reason I am not posting this as an Answer.
The Statistics and Machine Learning Toolbox has the bootstrp, bootci and similar functions (linked in and at the end of the documentation for them).
Kevin Egan
Kevin Egan el 28 de En. de 2020
According to the boot package, "Generate bootstrap replicates of a statistic applied to a time series. The replicate time series can be generated using fixed or random block lengths or can be model based replicates."
Typically, the bootstrp function would work, but from my understanding block bootstrapping is necessary to perform bootstrapping on time series data.

Iniciar sesión para comentar.

Respuestas (1)

Karan Nandankar
Karan Nandankar el 24 de Dic. de 2020
Hi,
For bootstraping Time series data in MATLAB, you can try using the function bootstrp(), which draws 'n' bootstrap samples and calculates the statistic.
You can also refer below File Exchange example for Bootstraping Time series data,
https://www.mathworks.com/matlabcentral/fileexchange/53701-bootstrapping-time-series

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by