The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Piecewise constant hazard functions are used to flexibly model survival distributions with non-proportional hazards and to simulate data from the specified distributions. A function to calculate weighted log-rank tests for the comparison of two hazard functions is included. Also, a function to calculate a test using the maximum of a set of test statistics from weighted log-rank tests (MaxCombo test) is provided. This test utilizes the asymptotic multivariate normal joint distribution of the separate test statistics. The correlation is estimated from the data. These methods are described in Ristl et al. (2021) <doi:10.1002/pst.2062>. Finally, a function is provided for the estimation and inferential statistics of various parameters that quantify the difference between two survival curves. Eligible parameters are differences in survival probabilities, log survival probabilities, complementary log log (cloglog) transformed survival probabilities, quantiles of the survival functions, log transformed quantiles, restricted mean survival times, as well as an average hazard ratio, the Cox model score statistic (logrank statistic), and the Cox-model hazard ratio. Adjustments for multiple testing and simultaneous confidence intervals are calculated using a multivariate normal approximation to the set of selected parameters.
Version: | 2.1 |
Depends: | R (≥ 3.5.0) |
Imports: | stats, graphics, mvtnorm, ggplot2, muhaz, survival, multcomp |
Suggests: | knitr, shiny, shinycssloaders, formatR, styler, rmarkdown |
Published: | 2022-05-16 |
DOI: | 10.32614/CRAN.package.nph |
Author: | Robin Ristl [aut, cre], Nicolas Ballarini [ctb] |
Maintainer: | Robin Ristl <robin.ristl at meduniwien.ac.at> |
License: | GPL-3 |
NeedsCompilation: | no |
Citation: | nph citation info |
CRAN checks: | nph results |
Reference manual: | nph.pdf |
Vignettes: |
Examples of non-proportional hazards in clinical trials with nph Introduction to nph and Usage Instructions |
Package source: | nph_2.1.tar.gz |
Windows binaries: | r-devel: nph_2.1.zip, r-release: nph_2.1.zip, r-oldrel: nph_2.1.zip |
macOS binaries: | r-release (arm64): nph_2.1.tgz, r-oldrel (arm64): nph_2.1.tgz, r-release (x86_64): nph_2.1.tgz, r-oldrel (x86_64): nph_2.1.tgz |
Old sources: | nph archive |
Reverse depends: | PHInfiniteEstimates |
Reverse imports: | SimNPH |
Please use the canonical form https://CRAN.R-project.org/package=nph to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.