View source: R/invertsigntest.R
invertsigntest | R Documentation |
Diagram for the inversion of rank tests to get confidence intervals for a quantile, or, in the two-sample case, location differences.
invertsigntest( dataset, alpha = 0.05, maint = NULL, tau = 0.5, returndata = FALSE, npts = 10000, hl = NULL, rescaley = FALSE, newplot = TRUE )
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 |
invertsigntest(rnorm(12))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.