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 01 May. 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
04/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/30Downloads for nph0246810121416182022242628TrendBars

Today's Hot Picks in Authors and Packages

representr  
Create Representative Records After Entity Resolution
An implementation of Kaplan, Betancourt, Steorts (2022) that cre ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
pander  
An R 'Pandoc' Writer
Contains some functions catching all messages, 'stdout' and other useful information while evaluati ...
Download / Learn more Package Citations See dependency  
dsm  
Density Surface Modelling of Distance Sampling Data
Density surface modelling of line transect data. A Generalized Additive Model-based approach is use ...
Download / Learn more Package Citations See dependency  
fbar  
An Extensible Approach to Flux Balance Analysis
A toolkit for Flux Balance Analysis and related metabolic modeling techniques. Functions are provid ...
Download / Learn more Package Citations See dependency  
dCUR  
Dimension Reduction with Dynamic CUR
Dynamic CUR (dCUR) boosts the CUR decomposition (Mahoney MW., Drineas P. (2009) ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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