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 18 Feb. 2025.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

ppmf  
Read Census Privacy Protected Microdata Files
Implements data processing described in to align modern differentially ...
Download / Learn more Package Citations See dependency  
RobustBayesianCopas  
Robust Bayesian Copas Selection Model
Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) for cor ...
Download / Learn more Package Citations See dependency  
fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
clustMixType  
k-Prototypes Clustering for Mixed Variable-Type Data
Functions to perform k-prototypes partitioning clustering for mixed variable-type data according to ...
Download / Learn more Package Citations See dependency  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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