Learn R Programming

parfm (version 2.7.7)

tau: Kendall's Tau for Parametric Frailty Models

Description

Computes Kendall's Tau for Parametric Frailty Models

Usage

tau(x)

Arguments

x

A parametric frailty model, object of class parfm.

Author

tools:::Rd_package_author("parfm")

References

Kendall, MG. (1938) A new measure of rank correlation. Biometrika 30(1/2), 81-93. DOI: <tools:::Rd_expr_doi("10.2307/2332226")>

See Also

parfm

Examples

Run this code
data(kidney) 
# type 'help(kidney)' for a description of the data set
kidney$sex <- kidney$sex - 1

mod <- parfm(Surv(time,status) ~ sex + age, cluster = "id",
             data = kidney, dist = "exponential", frailty = "gamma")
tau(mod)

Run the code above in your browser using DataLab