pwexploglik {lrstat}R Documentation

Profile log-likelihood function for the change points in piecewise exponential approximation

Description

Obtains the profile log-likelihood function for the change points in the piecewise exponential approximation to a survival function.

Usage

pwexploglik(tau, S, ...)

Arguments

tau

The numeric vector of change points.

S

The survival function of a univariate survival time.

...

Additional arguments to be passed to S.

Value

A list with the following three components:

Author(s)

Kaifeng Lu, kaifenglu@gmail.com

Examples


pwexploglik(tau = c(0.5, 1.2, 2.8), pweibull, 
            shape = 1.37, scale = 1/0.818, lower.tail = FALSE)


[Package lrstat version 0.2.6 Index]