This function estimates mariginal density, survival, and hazard functions given covariates.

1 |

`fit` |
an object obtained from functions |

`xpred` |
an npred by p vector of covariates matrix used for curve estimates. |

`ygrid` |
a vector of grid points (in log survival time scale) indicating where the curves will be estimated. |

`CI` |
a vector to indicate the level of credible interval, where first element indicate the lower probability. |

This function estimates mariginal density, survival, and hazard functions given covariates.

Use `names`

to find out what they are, where `fhat`

represents density, `Shat`

represents survival and
`Hhat`

represents hazard.

Haiming Zhou <zhouh@niu.edu> and Tim Hanson <hansont@stat.sc.edu>

De Iorio, M., Johnson, W. O., Mueller, P., and Rosner, G. L. (2009). Bayesian nonparametric nonproportional hazards survival modeling. *Biometrics*, 65(3): 762-771.

Zhou, H., Hanson, T., and Knapp, R. (2015). Marginal Bayesian nonparametric model for time to disease arrival of threatened amphibian populations. *Biometrics*, 71(4): 1101-1110.

`anovaDDP, spCopulaDDP, indeptCoxph, spCopulaCoxph`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.