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

Description Usage Arguments Value Note Author(s) References

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.



Search within the glrt package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.