Package SPIn. R topics documented: February 19, Type Package

Similar documents
Package kdetrees. February 20, 2015

Package intcensroc. May 2, 2018

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package NB. R topics documented: February 19, Type Package

Package OptimaRegion

Package RYoudaoTranslate

Package iosmooth. R topics documented: February 20, 2015

Package madsim. December 7, 2016

Package Conake. R topics documented: March 1, 2015

Package StVAR. February 11, 2017

Package diagis. January 25, 2018

Package spikes. September 22, 2016

Package gsalib. R topics documented: February 20, Type Package. Title Utility Functions For GATK. Version 2.1.

Package catenary. May 4, 2018

Package gpdtest. February 19, 2015

Package rngsetseed. February 20, 2015

Package rgho. R topics documented: January 18, 2017

Package sbf. R topics documented: February 20, Type Package Title Smooth Backfitting Version Date Author A. Arcagni, L.

Package ezsim. R topics documented: February 19, Type Package

Package ECctmc. May 1, 2018

Package slam. February 15, 2013

Package ICSShiny. April 1, 2018

Package Kernelheaping

Package beanplot. R topics documented: February 19, Type Package

Package spark. July 21, 2017

Package benchden. February 19, 2015

Package datasets.load

Package SiZer. February 19, 2015

Package Rambo. February 19, 2015

Package atmcmc. February 19, 2015

Package eulerian. February 19, Index 5

Package inca. February 13, 2018

Package statip. July 31, 2018

Package Rearrangement

Package infutil. R topics documented: February 20, Version 1.0 Date Title Information Utility Author Kristian E.

Package logitnorm. R topics documented: February 20, 2015

Package NetCluster. R topics documented: February 19, Type Package Version 0.2 Date Title Clustering for networks

Package dyncorr. R topics documented: December 10, Title Dynamic Correlation Package Version Date

Package FastImputation

Package dkdna. June 1, Description Compute diffusion kernels on DNA polymorphisms, including SNP and bi-allelic genotypes.

Package hsiccca. February 20, 2015

Package assortnet. January 18, 2016

Package corclass. R topics documented: January 20, 2016

Package keep. R topics documented: December 16, 2015

Package CatEncoders. March 8, 2017

Package qlearn. R topics documented: February 20, Type Package Title Estimation and inference for Q-learning Version 1.

Package intccr. September 12, 2017

Package gibbs.met. February 19, 2015

Package RCA. R topics documented: February 29, 2016

Package gridgraphics

Package gtrendsr. October 19, 2017

Package FLSSS. December 14, 2016

Package quadprogxt. February 4, 2018

Package fitur. March 11, 2018

Package SAMUR. March 27, 2015

Package CMPControl. February 19, 2015

Package assertive.code

Package intreg. R topics documented: February 15, Version Date Title Interval Regression

Package logspline. February 3, 2016

Package truncgof. R topics documented: February 20, 2015

Package genelistpie. February 19, 2015

Package ScoreGGUM. February 19, 2015

Package Rcplex. February 15, 2013

Package CvM2SL2Test. February 15, 2013

Package Rglpk. May 18, 2017

Package cgh. R topics documented: February 19, 2015

Package Density.T.HoldOut

Package r2d2. February 20, 2015

Package tfer. February 20, 2015

Package rpst. June 6, 2017

Package nfca. February 20, 2015

Package dirmcmc. R topics documented: February 27, 2017

Package gtrendsr. August 4, 2018

Package HMMCont. February 19, 2015

Package spdownscale. R topics documented: February 16, Type Package

Package rafalib. R topics documented: August 29, Version 1.0.0

Package wethepeople. March 3, 2013

Package ompr. November 18, 2017

Package rivernet. May 12, 2017

Package lvec. May 24, 2018

Package batchmeans. R topics documented: July 4, Version Date

Package CausalGAM. October 19, 2017

Package mcmcse. February 15, 2013

Package lclgwas. February 21, Type Package

Package fbroc. August 29, 2016

Package texteffect. November 27, 2017

Package WordR. September 7, 2017

Package HDInterval. June 9, 2018

Package OutlierDC. R topics documented: February 19, 2015

Package slam. December 1, 2016

Package ssd. February 20, Index 5

Package MIICD. May 27, 2017

Package gwrr. February 20, 2015

Package labelvector. July 28, 2018

Package Kernelheaping

Package kdtools. April 26, 2018

Package sessioninfo. June 21, 2017

Package DBKGrad. R topics documented: December 2, 2018

Package distance.sample.size

Package cncagui. June 21, 2015

Transcription:

Type Package Package SPIn February 19, 2015 Title Simulation-efficient Shortest Probability Intervals Version 1.1 Date 2013-04-02 Author Ying Liu Maintainer Ying Liu <yliu@stat.columbia.edu> Depends R (>= 1.8.0), quadprog An optimal weighting strategy to compute simulation-efficient shortest probability intervals (spins). License GPL (>= 2) NeedsCompilation no Repository CRAN Date/Publication 2013-04-02 21:57:16 R topics documented: SPIn-package........................................ 1 bootspin.......................................... 2 plot.spin.......................................... 3 SPIn............................................. 4 Inde 6 SPIn-package Simulation Efficient Shortest Probability Intervals Details Implement an optimal weighting strategy to compute simulation efficient shortest probability intervals (spin s). 1

2 bootspin Package: SPIn Type: Package Version: 1.1 Date: 2013-4-2 License: GPL (>= 2) This package contains functions for constructing and plotting simulation efficient shortest probability intervals. Ying Liu Maintainer: Ying Liu <yliu@stat.columbia.edu> bootspin SPIn with Bootstrap Compute the shortest probability interval (spin) using SPIn with bootstrap. Usage bootspin(, n.boot = 50, = 0.95, bw = 0, lb = -Inf, ub = Inf, l = NA, u = NA) Arguments n.boot bw lb,ub l,u Number of bootstraps. Scalar, the idence level desired. Scalar, the bandwidth of the weighting kernel in terms of sample points. If not specified, sqrt(n) will be used, where n is the sample size. Scalars, the lower and upper bounds of the distribution. If specified, a pseudosample point equal to the corresponding bound will be added. Scalars, weighting centers (if provided). Details spin.boot computes the shortest probability interval for a distribution using SPIn with bootstrap.

plot.spin 3 Value spin.boot returns an object of class SPIn. An object of class SPIn is a list containing the following components: spin A vector of length 2 with the lower and upper endpoints of the interval. The idence level. w.l,w.u Vectors of the computed weights. l.l,l.u,u.l,u.u Endpoints of the weights. Note This function assumes that the distribution is unimodal, and computes only 1 interval, not the set of intervals that are appropriate for multimodal distributions. Ying Liu yliu@stat.columbia.edu See Also plot.spin,spin Eamples <- rgamma(100,3) bootspin() plot.spin Plot the Results from SPIn or bootspin Plot the histogram, the kernel density estimate, the shortest probability interval and the central interval. Usage ## S3 method for class SPIn plot(,...)

4 SPIn Arguments... See plot. Ying Liu yliu@stat.columbia.edu See Also SPIn object, result of SPIn or bootspin. SPIn,bootSPIn Eamples <- rgamma(100,3) r <- bootspin() plot(r) SPIn Simulation Efficient Shortest Probability Intervals Compute the shortest probability interval (spin) using an optimal weighting strategy. Usage SPIn(, = 0.95, bw = 0, lb = -Inf, ub = Inf, l=na, u=na) Arguments bw lb,ub l,u Scalar, the idence level desired. Scalar, the bandwidth of the weighting kernel in terms of sample points. If not specified, sqrt(n) will be used, where n is the sample size. Scalars, the lower and upper bounds of the distribution. If specified, a pseudosample point equal to the corresponding bound will be added. Scalars, weighting centers (if provided). Details SPIn computes the shortest probability interval for a distribution using an optimal weighting strategy. Quadratic programming is used to determine the optimal weights.

SPIn 5 Value Note SPIn returns an object of class SPIn. An object of class SPIn is a list containing the following components: spin A vector of length 2 with the lower and upper endpoints of the interval. The idence level. w.l,w.u Vectors of the computed weights. l.l,l.u,u.l,u.u Endpoints of the weights. This function assumes that the distribution is unimodal, and computes only 1 interval, not the set of intervals that are appropriate for multimodal distributions. Ying Liu yliu@stat.columbia.edu See Also bootspin,plot.spin Eamples <- rgamma(100,3) SPIn()

Inde Topic \tetasciitildekwd1 bootspin, 2 plot.spin, 3 SPIn, 4 Topic \tetasciitildekwd2 bootspin, 2 plot.spin, 3 SPIn, 4 bootspin, 2, 4, 5 class, 3, 5 plot.spin, 3, 3, 5 SPIn, 3, 4, 4 SPIn-package, 1 6