Simulate survival times X from an exponential distribution with rate lambda=1 with a censoring distribution C being exponential with rate theta=2/3
Plot Kaplan-Meier Survival curve estimates along with true survival curve for n=25,100,1000
Now suppose Z is N(0,1) and X=exp(Z). Suppose W is N(1,1) and C is exp(W). Repeat this the exercise with these lognormal X and C. For n=1000, estimate the hazard function and plot against true hazard function.