Description Usage Arguments Details Value Author(s) References

Fits a subdistribution hazards regression model using the Cox model adjusted weight. Use predicted censoring probability based on the Cox model for each individual.

1 | ```
crr.wt.COX(t, ic, z, zc, variance, var.conservative)
``` |

`t` |
a vector of observed times. |

`ic` |
a vector of cause indicators. |

`z` |
a matrix of covariates for fitting the model. |

`zc` |
a matrix of associated covariates for fitting the censoring distribution. |

`variance` |
Includes variance calculation if TRUE, Skips variance calculation if FALSE. |

`var.conservative` |
Includes minor term of variance of beta if FALSE, no minor term for variance of beta if TRUE. |

More details are given in the reference.

a "crrwt" class object.

Peng He

He P, Scheike TH and Zhang MJ, A proportional hazards regression model for the subdistribution with covariates adjusted censoring weight for competing risks data, Technical Report #61, Division of Biostatistics, Medical College of Wisconsin, November 2013.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.