Description Usage Arguments Value Author(s)

View source: R/landest_functions.R

Estimates the probability of survival past some specified time using inverse probability of treatment weighted (IPTW) Kaplan-Meier estimation

1 | ```
surv.iptw.km.base(tl, dl, tt, ps.weights, weight.perturb = NULL, perturb.ps = FALSE)
``` |

`tl` |
observed event time of primary outcome, equal to min(T, C) where T is the event time and C is the censoring time. |

`dl` |
event indicator, equal to I(T<C) where T is the event time and C is the censoring time. |

`tt` |
the time of interest, function estimates the probability of survival past this time |

`ps.weights` |
propensity score (or inverse probability of treatment) weights |

`weight.perturb` |
an optional weight matrix to be incorporated in estimation. |

`perturb.ps` |
TRUE or FALSE indicating whether the weight.perturb matrix includes the perturbed propensity score (or inverse probability of treatment) weights |

estimate of survival at the specified time

Layla Parast

landest documentation built on May 30, 2017, 1:24 a.m.

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.