CI_mean: Confidence interval for the additive shift in means for a...

Description Usage Arguments Value

View source: R/means.R

Description

Invert the permutation test to get a 1-α confidence interval for either the shift parameter in a two-sample problem or the center of the distribution in a one-sample problem

Usage

1
CI_mean(x, y = NULL, reps = 1000, side = "both", alpha = 0.05)

Arguments

x

Vector of observations in group 1

y

Vector of observations in group 2

reps

Number of replications to approximate distribution (default 1000)

side

Type of interval, either 'both', 'upper', or 'lower'. Default is 'both'.

alpha

Significance level

Value

a vector containing the desired limits of the confidence set


statlab/permuter documentation built on May 30, 2019, 9:45 a.m.