Other packages > Find by keyword >

nph  

Planning and Analysing Survival Studies under Non-Proportional Hazards
View on CRAN: Click here


Download and install nph package within the R console
Install from CRAN:
install.packages("nph")

Install from Github:
library("remotes")
install_github("cran/nph")

Install by package version:
library("remotes")
install_version("nph", "2.1")



Attach the package and use:
library("nph")
Maintained by
Robin Ristl
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-08-23
Latest Update: 2022-05-16
Description:
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) . 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.
How to cite:
Robin Ristl (2019). nph: Planning and Analysing Survival Studies under Non-Proportional Hazards. R package version 2.1, https://cran.r-project.org/web/packages/nph. Accessed 05 Mar. 2026.
Previous versions and publish date:
1.9 (2019-08-23 12:50), 2.0 (2020-01-10 17:50)
Other packages that cited nph R package
View nph citation profile
Other R packages that nph depends, imports, suggests or enhances
Complete documentation for nph
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

pinp  
'pinp' is not 'PNAS'
A 'PNAS'-alike style for 'rmarkdown', derived from the 'Proceedings of the National Academy of Scie ...
Download / Learn more Package Citations See dependency  
neat  
Efficient Network Enrichment Analysis Test
Includes functions and examples to compute NEAT, the Network Enrichment Analysis Test described in ...
Download / Learn more Package Citations See dependency  
imagefx  
Extract Features from Images
Synthesize images into characteristic features for time-series analysis or machine learning applicat ...
Download / Learn more Package Citations See dependency  
roccv  
ROC for Cross Validation Results
Cross validate large genetic data while specifying clinical variables that should always be in the m ...
Download / Learn more Package Citations See dependency  
diffIRT  
Diffusion IRT Models for Response and Response Time Data
Package to fit diffusion-based IRT models to response and response time data. Models are fit using ...
Download / Learn more Package Citations See dependency  
ClimClass  
Climate Classification According to Several Indices
Classification of climate according to Koeppen - Geiger, of aridity indices, of continentality indi ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA