Package: cmpp 0.0.2

Habib Ezzatabadipour

cmpp: Direct Parametric Inference for the Cumulative Incidence Function in Competing Risks

Implements parametric (Direct) regression methods for modeling cumulative incidence functions (CIFs) in the presence of competing risks. Methods include the direct Gompertz-based approach and generalized regression models as described in Jeong and Fine (2006) <doi:10.1111/j.1467-9876.2006.00532.x> and Jeong and Fine (2007) <doi:10.1093/biostatistics/kxj040>. The package facilitates maximum likelihood estimation, variance computation, with applications to clinical trials and survival analysis.

Authors:Habib Ezzatabadipour [aut, cre]

cmpp_0.0.2.tar.gz
cmpp_0.0.2.zip(r-4.7-x86_64)cmpp_0.0.2.zip(r-4.7-arm64)cmpp_0.0.2.zip(r-4.6-x86_64)cmpp_0.0.2.zip(r-4.6-arm64)
cmpp_0.0.2.tar.gz(r-4.7-arm64)cmpp_0.0.2.tar.gz(r-4.7-x86_64)cmpp_0.0.2.tar.gz(r-4.6-arm64)cmpp_0.0.2.tar.gz(r-4.6-x86_64)
cmpp_0.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
cmpp/json (API)

# Install 'cmpp' in R:
install.packages('cmpp', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

2.57 score 75 scripts 412 downloads 33 exports 36 dependencies

Last updated from:3fe937a212. Checks:2 ERROR, 8 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR131
linux-devel-x86_64OK165
source / vignettesOK193
linux-release-arm64ERROR135
linux-release-x86_64OK163
windows-devel-arm64OK204
windows-devel-x86_64OK176
windows-release-arm64OK263
windows-release-x86_64OK146
wasm-releaseOK128

Exports:bootstrap_variancecdf_gompCIF_FigsCIF_res1CleanupCmpp_CIFcompute_gradcompute_hessiancompute_log_f_gradient_rcppcompute_log_f_gradient_rcpp2compute_log_f_gradient_rcpp3compute_log_f_hessian_rcppestimate_parametersestimate_parameters_GORestimate_parameters_PHMestimate_parameters_POMF_cdf_rcppF_cdf_rcpp2F_cdf_rcpp3f_pdf_rcppf_pdf_rcpp2f_pdf_rcpp3FineGray_ModelGetDataGetDimInitializelog_f_rcpplog_f_rcpp2log_f_rcpp3LogLike1make_DummymakeMatpdf_gomp

Dependencies:clicmprskcpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixnumDerivpillarpkgconfigpurrrR6RColorBrewerRcppRcppEigenrlangS7scalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Estimate Variance of Parameters Using Bootstrap Methodbootstrap_variance
Compute the CDF of the Gompertz Distributioncdf_gomp
Plot Cumulative Incidence Functions (CIF) with Confidence IntervalsCIF_Figs
Compute Cumulative Incidence Function (CIF) ResultsCIF_res1
Clean up memory by deleting the pointer to the Cmpp instanceCleanup
Direct Parametric Inference for the Cumulative Incidence Function in Competing Riskscmpp-package cmpp
Compute and Plot Cumulative Incidence Functions (CIF) for Competing RisksCmpp_CIF
Compute the Numerical Gradient of the Log-Likelihoodcompute_grad
Compute the Hessian Matrix of the Log-Likelihoodcompute_hessian
Compute the Gradient of the Log-Likelihood Function Generalized odds rate (GOR)compute_log_f_gradient_rcpp
Compute the Gradient of the Log-Likelihood Function Proportional Odds Model (POM)compute_log_f_gradient_rcpp2
Compute the Gradient of the Log-Likelihood Function Proportional Hazards Model (PHM)compute_log_f_gradient_rcpp3
Compute the Hessian Matrix of the Log-Likelihood Function Generalized odds rate (GOR)compute_log_f_hessian_rcpp
Estimate Model Parameters Using Optimizationestimate_parameters
Estimate Parameters for the Generalized odds rate (GOR)estimate_parameters_GOR
Estimate Parameters for the Proportional Hazards Model (PHM)estimate_parameters_PHM
Estimate Parameters for the Proportional Odds Model (POM)estimate_parameters_POM
Compute the CDF of the Parametric Generalized odds rate (GOR)F_cdf_rcpp
Compute the CDF of the Parametric Proportional Odds Model (POM)F_cdf_rcpp2
Compute the CDF of the Parametric Proportional Hazards Model (PHM)F_cdf_rcpp3
Compute the PDF of the Parametric Generalized odds rate (GOR)f_pdf_rcpp
Compute the PDF of the Parametric Proportional Odds Model (POM)f_pdf_rcpp2
Compute the PDF of the Parametric Proportional Hazards Model (PHM)f_pdf_rcpp3
Fertility History of Rural Women in Shirazfertility_data
Fine-Gray Model for Competing Risks DataFineGray_Model
Retrieve Initialized Data from the Cmpp ModelGetData
Get Dimensions of the Cmpp ObjectGetDim
Initialize Data for the Cmpp ModelInitialize
Compute the Log-Likelihood Function Generalized odds rate (GOR)log_f_rcpp
Compute the Log-Likelihood Function Proportional Odds Model (POM)log_f_rcpp2
Compute the Log-Likelihood Function Proportional Hazards Model (PHM)log_f_rcpp3
Compute the Log-Likelihood for the ModelLogLike1
Create Dummy Variablesmake_Dummy
Create a matrix of given size filled with a constant valuemakeMat
Compute the PDF of the Gompertz Distributionpdf_gomp