Compute the chisquare test statistic and degrees of freedom for test gLRT3
Description
This function computes the chisquare 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 
kvector of the test statistic in 
V 
estimated k by k covariance matrix of 
counts 
a k by 2 matrix containing number of exact and nonexact observations for each treatment 
Value
chisq 
chisquare 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 Logrank Tests for Partly IntervalCensored Failure Time Data", Biometrical Journal, 50 (3): 375385.