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]
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 04 Apr. 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
03/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/02Downloads for nph0246810121416182022242628TrendBars

Today's Hot Picks in Authors and Packages

metaprotr  
Metaproteomics Post-Processing Analysis
Set of tools for descriptive analysis of metaproteomics data generated from high-throughput mass ...
Download / Learn more Package Citations See dependency  
GeDS  
Geometrically Designed Spline Regression
Spline Regression, Generalized Additive Models, and Component-wise Gradient Boosting, utilizing Geo ...
Download / Learn more Package Citations See dependency  
Rexperigen  
R Interface to Experigen
Provides convenience functions to communicate with an Experigen server: Experigen ( ...
Download / Learn more Package Citations See dependency  
RMixpanel  
API for Mixpanel
Provides an interface to many endpoints of Mixpanel's Data Export, Engage and JQL API. The R functio ...
Download / Learn more Package Citations See dependency  
perryExamples  
Examples for Integrating Prediction Error Estimation into Regression Models
Examples for integrating package 'perry' for prediction error estimation into regression models. ...
Download / Learn more Package Citations See dependency  
PakPMICS2014HH  
Multiple Indicator Cluster Survey (MICS) 2014 Household Questionnaire Data for Punjab, Pakistan
Provides data set and function for exploration of Multiple Indicator Cluster Survey (MICS) 2014 Hous ...
Download / Learn more Package Citations See dependency  

23,990

R Packages

207,311

Dependencies

64,809

Author Associations

23,991

Publication Badges

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