Given constraints for right censored data, we use a recursive computational algorithm to calculate the the "constrained" KaplanMeier 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)<doi: 10.1007/s0018001505679> and Mai Zhou and Yifan Yang (2017) <10.1002/wics.1400>. More applications could be found in Mai Zhou (2015) <doi: 10.1201/b18598>.
Package details 


Author  Yifan Yang <[email protected]> , Mai Zhou<[email protected]> 
Maintainer  Yifan Yang <[email protected]> 
License  LGPL3 
Version  0.23 
URL  http://github.com/yfyang86/kmc 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.