Learn R Programming

Omisc (version 0.1.5)

standardBootIntervals: standardBootIntervals

Description

This returns the quantiles of the bootstrap samples specified by the user. The quantiles uses the type=4 argument of the quantile function, which appears to function best.

Usage

standardBootIntervals(boot, lower = 0.025, upper = 0.975)

Value

A matrix of the mean, median, min, max, lower and upper CI values

Arguments

boot

A vector of bootstrap results

lower

the lower alpha

upper

the upper alpha

Examples

Run this code
data<-DFSimulated()
boots<-NaiveBoot(data, groups="Rs", keepgroups=TRUE, B=100)
boots<-bootAnalysis(boots, cbind, DFanalysis,1,2,3,TRUE,FALSE,TRUE,TRUE,FALSE)
apply(boots,1, standardBootIntervals)
DFanalysis(data,1,2,3)

Run the code above in your browser using DataLab