invertsigntest: Diagram for the inversion of rank tests to get confidence...

View source: R/invertsigntest.R

invertsigntestR Documentation

Diagram for the inversion of rank tests to get confidence intervals for a quantile, or, in the two-sample case, location differences.

Description

Diagram for the inversion of rank tests to get confidence intervals for a quantile, or, in the two-sample case, location differences.

Usage

invertsigntest(
  dataset,
  alpha = 0.05,
  maint = NULL,
  tau = 0.5,
  returndata = FALSE,
  npts = 10000,
  hl = NULL,
  rescaley = FALSE,
  newplot = TRUE
)

Arguments

dataset

Data vector, or list of two vectors representing two samples.

alpha

1-confidence value; defaults to 0.05

maint

title for plot.

tau

quantile to be estimated. Defaults to 0.5.

returndata

Logical flag determining whether the data set is included as part of the response.

npts

number of points at which to evaluate test prior to inversion.

hl

logical flag to determine whether to use sign or Mood test (FALSE) or the signed rank or rank sum test (TRUE)

rescaley

logical flag to determine whether to rescale the vertical scale to [0,1].

newplot

logical flag to start a new plot

Examples

invertsigntest(rnorm(12))

kolassa-dev/NonparametricHeuristic documentation built on Nov. 14, 2022, 11:25 p.m.