TABLE OF CONTENTS
- 1. /simSurvival
- 1.1. simSurvival/bs.survfn
- 1.2. simSurvival/dnegbin
- 1.3. simSurvival/generateevents
- 1.4. simSurvival/generaterandom
- 1.5. simSurvival/makeagdata
- 1.6. simSurvival/MYmvrnorm
- 1.7. simSurvival/rinvgamma
- 1.8. simSurvival/sim.sample
/simSurvival [ Modules ]
NAME
simSurvival --- Simulate survival data
FUNCTION
Generate simulated clustered survival data with arbitrary baseline hazard and frailty distributions. The main user-visible function here is sim.sample, which calls other simulation routines.
CONTENTS
bs.survfn --- compute survivor function for B-spline hazard dnegbin --- negative binomial distribution generateevents --- Generate random event times generaterandom --- Generate random numbers makeagdata --- convert simulated data into Anderson-Gill format MYmvrnorm --- multivariate normal random variates rinvgamma --- generate inverse-gamma random variates sim.sample --- main simulation function