Learn R Programming

NSM3 (version 1.1)

newbet: Hollander-Proschan T*

Description

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

Usage

newbet(x)

Arguments

Value

The function returns a list with two elements:Tthe value of the Hollander-Proschan statisticT.starthe standardized value of the Hollander-Proschan statisticpthe corresponding probability

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