![](/style/images/good.png)
![](/style/images/bad.png)
Introduction to mebootSpear() Function
source link: https://www.r-bloggers.com/introduction-to-mebootspear-function/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
In the latest version of
meboot (v 1.4-8)
on CRAN, the function
mebootSpear
was introduced. Below is a gentle introduction to its capabilities and a link to a reference paper with further applications to improved Monte Carlo simulations.
The desired properties from the original maximum entropy bootstrap function
meboot
were retained, while incorporating the additional argument
setSpearman
. The original function created bootstrap replicates with unit rank-correlations to the original time-series,
setSpearman
relaxes this condition.
AirPassengers
The following example will demonstrate the
mebootSpear
rank-correlation results from the average of 1,000 bootstrap replicates of the
AirPassengers
dataset.
library(meboot)
output <- mebootSpear(AirPassengers, setSpearman = 0, xmin = 0)$rowAvg
cor(output, AirPassengers, method = "spearman")
[1] 0.01695065
Reference
The following paper is available with additional examples and R-code:Vinod, Hrishikesh D. and Viole, Fred, Arbitrary Spearman’s Rank Correlations in Maximum Entropy Bootstrap and Improved Monte Carlo Simulations (June 7, 2020). Available at SSRN: https://ssrn.com/abstract=3621614
Introduction to mebootSpear() Function was first posted on July 11, 2020 at 6:05 am.
©2020 " R-posts.com ". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at[email protected]Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK