nph: Planning and Analysing Survival Studies under Non-Proportional Hazards

Piecewise constant hazard functions are used to flexibly model survival distributions with non-proportional hazards and to simulate data from the specified distributions. Also, a function to calculate weighted log-rank tests for the comparison of two hazard functions is included. Finally, a function to calculate a test using the maximum of a set of test statistics from weighted log-rank tests is provided. This test utilizes the asymptotic multivariate normal joint distribution of the separate test statistics. The correlation is estimated from the data.

Package details

AuthorRobin Ristl [aut, cre], Nicolas Ballarini [ctb]
MaintainerRobin Ristl <robin.ristl@meduniwien.ac.at>
LicenseGPL-3
Version2.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("nph")

Try the nph package in your browser

Any scripts or data that you put into this service are public.

nph documentation built on Jan. 11, 2020, 9:43 a.m.