Introduction to mebootSpear() Function

栏目: IT技术 · 发布时间: 5年前

内容简介:In the latest version ofThe desired properties from the original maximum entropy bootstrap function

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]

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

冒号课堂

冒号课堂

郑晖 / 电子工业出版社 / 2009-10 / 65.00元

《冒号课堂》以课堂对话的形式,借六位师生之口讲述编程要义。上篇对编程范式作了入门性的介绍,并对一些流行的编程语言进行了简评;下篇侧重阐发软件设计思想,其中在范式上以OOP为主,在语言上以C++、Java和C#为主。全书寓庄于谐,深入浅出,既可开阔眼界,又能引发思考,值得编程爱好者品读。一起来看看 《冒号课堂》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具