Learn R Programming

kmc (version 0.4-2)

Kaplan-Meier Estimator with Constraints for Right Censored Data -- a Recursive Computational Algorithm

Description

Given constraints for right censored data, we use a recursive computational algorithm to calculate the the "constrained" Kaplan-Meier estimator. The constraint is assumed given in linear estimating equations or mean functions. We also illustrate how this leads to the empirical likelihood ratio test with right censored data and accelerated failure time model with given coefficients. EM algorithm from emplik package is used to get the initial value. The properties and performance of the EM algorithm is discussed in Mai Zhou and Yifan Yang (2015) and Mai Zhou and Yifan Yang (2017) . More applications could be found in Mai Zhou (2015) .

Copy Link

Version

Install

install.packages('kmc')

Monthly Downloads

254

Version

0.4-2

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Yifan Yang

Last Published

November 22nd, 2022

Functions in kmc (0.4-2)

check_G_mat

Check the contraints of KMC
plotkmc2D

Plot the contour plot of log-likelihood around the H0 (dim=2).
kmc.bjtest

Calculate the NPMLE with constriants for accelerated failure time model with given coefficients.
kmc.clean

Perform Data Clean for the kmc Algorithm
kmc.solve

Calculate NPMLE with constriants for right censored data