Linkfunc: A link function used in tests 'gLRT2', 'gLRT3', and 'gLRT4'

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/Linkfunc.R

Description

A link function over (0, 1) used in gLRT2, gLRT3, and gLRT4, which is a function of the original link function ξ(x) = x log(x) x^ρ (1 - x)^γ.

Usage

1
Linkfunc(x, rho = 0, gamma = 0)

Arguments

x

a value between 0 and 1

rho

a non-negative parameter in [0, 1]

gamma

a non-negative parameter in [0, 1]

Details

This function η(x) = 1 - ξ(1-x).

Value

Function value is returned.

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.

See Also

LinkfuncDir

Examples

1
Linkfunc(0.2, rho=0, gamma=1)

glrt documentation built on May 29, 2017, 10:31 p.m.