This is the Matlab code for paper "Evaluation of transplant benefits with the U.S. Scientific Registry of Transplant Recipients by semiparametric regression of mean residual life" by Ge Zhao, Portland State University; Yanyuan Ma, Pennsylvania State University; Huazhen Lin, Southwestern University of Finance and Economics; Yi Li, University of Michigan
Running main.m to generate data and estimate the parameters, mean residual life functions.