newbet {NSM3}R Documentation

Hollander-Proschan T*

Description

Function to compute the asymptotic P-value for the observed Hollander-Proschan T* statistic.

Usage

newbet(x)

Arguments

x

a vector of data of length n

Value

The function returns a list with two elements:

T

the value of the Hollander-Proschan statistic

T.star

the standardized value of the Hollander-Proschan statistic

p

the corresponding probability

Author(s)

Rachel Becvarik

Examples

table11.4<-c(194,15,41,29,33,181)
newbet(table11.4)

[Package NSM3 version 1.18 Index]