Learn R Programming

NSM3 (version 1.18)

newbet: Hollander-Proschan T*

Description

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

Usage

newbet(x)

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

Arguments

x

a vector of data of length n

Author

Rachel Becvarik

Examples

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

Run the code above in your browser using DataLab