boot2pval: Bootstrap Interval for a Two Sample Test

Description Usage Arguments Value Examples

View source: R/boot2pval.R

Description

Bootstrap Interval for a Two Sample Test

Usage

1
boot2pval(x1, x2, conf.level = 0.95, iter = 3000, mudiff = 0, test = "two")

Arguments

x1

#First sample

x2

#Second sample

conf.level

#Confidence Level; alpha

iter

#the number of iterations

mudiff

#The difference in sample means

test

#The type of test to be executed

Value

#The p-value assocaiated with the test

Examples

1
2
3
4
set.seed(30);x=rnorm(15,mean=10,sd=7)
set.seed(40);y=rnorm(20,mean=12,sd=4)

boot2pval(x1=x,x2=y)

gkrhines/MATH4753P1 documentation built on Nov. 24, 2020, 11:33 p.m.