Chisqstat3: Compute the chi-square test statistic and degrees of freedom...

Description Usage Arguments Value Note Author(s) References

View source: R/Chisqstat3.R

Description

This function computes the chi-square test statistic and degrees of freedom for test gLRT3. The degree of freedom depends on whether there are exact observations and proportions of exact observations in each treatment.

Usage

1
Chisqstat3(U, V, counts)

Arguments

U

k-vector of the test statistic in gLRT3, where k is number of treatments.

V

estimated k by k covariance matrix of U

counts

a k by 2 matrix containing number of exact and non-exact observations for each treatment

Value

chisq

chi-square test statistic

df

degrees of freedom used.

Note

This is not to be called by the user.

Author(s)

Qiang Zhao and Jianguo Sun

References

X. Zhao, Q. Zhao, J. Sun, Q. and J. S. Kim (2008), "Generalized Log-rank Tests for Partly Interval-Censored Failure Time Data", Biometrical Journal, 50 (3): 375-385.


glrt documentation built on May 2, 2019, 8:31 a.m.