kendall.ci: Function to produce a confidence interval for Kendall's tau.

Description Usage Arguments Author(s) Examples

Description

Based on sections 8.3 and 8.4 of Hollander, Wolfe & Chicken, Nonparametric Statistical Methods, 3e.

Usage

1
kendall.ci(x=NULL, y=NULL, alpha=0.05, type="t", bootstrap=F, B=1000, example=F) 

Arguments

x

first data vector

y

second data vector

alpha

the significance level

type

type of confidence interval. Can be "t" (two-sided), "u" (upper) or "l" (lower).

bootstrap

if False, will find the asymptotic CI (as in section 8.3). If True, will find a bootstrap CI (as in section 8.4).

B

the number of bootstrap replicates

example

if True, will analyze data from Example 8.1

Author(s)

Eric Chicken

Examples

1

Example output

Loading required package: combinat

Attaching package: 'combinat'

The following object is masked from 'package:utils':

    combn

Loading required package: MASS
Loading required package: partitions
Loading required package: survival
fANCOVA 0.5-1 loaded

1 - alpha = 0.95 two-sided CI for tau:
-0.053, 0.941 

NSM3 documentation built on April 6, 2021, 5:05 p.m.

Related to kendall.ci in NSM3...