Package: maicplus 0.1.1

Isaac Gravestock

maicplus: Matching Adjusted Indirect Comparison

Facilitates performing matching adjusted indirect comparison (MAIC) analysis where the endpoint of interest is either time-to-event (e.g. overall survival) or binary (e.g. objective tumor response). The method is described by Signorovitch et al (2012) <doi:10.1016/j.jval.2012.05.004>.

Authors:Gregory Chen [aut], Michael Seo [aut], Isaac Gravestock [aut, cre], Miranta Antoniou [ctb], Chrysostomos Kalyvas [ctb], MSD, Inc. [cph, fnd], F. Hoffmann-La Roche AG [cph, fnd]

maicplus_0.1.1.tar.gz
maicplus_0.1.1.tar.gz(r-4.5-noble)maicplus_0.1.1.tar.gz(r-4.4-noble)
maicplus_0.1.1.tgz(r-4.4-emscripten)maicplus_0.1.1.tgz(r-4.3-emscripten)
maicplus.pdf |maicplus.html
maicplus/json (API)
NEWS

# Install 'maicplus' in R:
install.packages('maicplus', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/hta-pharma/maicplus/issues

Datasets:
  • adrs_sat - Binary outcome data from single arm trial
  • adrs_twt - Binary outcome data from two arm trial
  • adsl_sat - Patient data from single arm study
  • adsl_twt - Patient data from two arm trial
  • adtte_sat - Survival data from single arm trial
  • adtte_twt - Survival data from two arm trial
  • agd - Aggregate effect modifier data from published study
  • centered_ipd_sat - Centered patient data from single arm trial
  • centered_ipd_twt - Centered patient data from two arm trial
  • pseudo_ipd_sat - Pseudo individual patient survival data from published study
  • pseudo_ipd_twt - Pseudo individual patient survival data from published two arm study
  • weighted_sat - Weighted object for single arm trial data
  • weighted_twt - Weighted object for two arm trial data

3.44 score 12 scripts 1.6k downloads 26 exports 63 dependencies

Last updated 3 days agofrom:4befb706b2. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linuxOKNov 25 2024

Exports:basic_kmplotbasic_kmplot2buchercalculate_weights_legendcenter_ipdcheck_weightsdummize_ipdestimate_weightsfind_SE_from_CIget_pseudo_ipd_binaryget_time_asget_time_conversionglm_makeupkmplotkmplot2maic_anchoredmaic_unanchoredmedSurv_makeupph_diagplotph_diagplot_lchph_diagplot_schoenfeldplot_weights_baseplot_weights_ggplotprocess_agdset_time_conversionsurvfit_makeup

Dependencies:askpassbitbit64bootcellrangerclassclicliprcpp11crayoncurldata.tableDescToolse1071ExactexpmfansiforcatsgenericsgldgluehavenhmshttrjsonlitelatticelifecyclelmomlmtestlubridatemagrittrMASSMatrixmimemvtnormopensslpillarpkgconfigprettyunitsprogressproxyR6RcppreadrreadxlrematchrlangrootSolverstudioapisandwichstringistringrsurvivalsystibbletidyselecttimechangetzdbutf8vctrsvroomwithrzoo

Anchored Binary Analysis

Rendered fromanchored_binary.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-22
Started: 2024-11-10

Anchored Survival Analysis

Rendered fromanchored_survival.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-10
Started: 2024-11-10

Introduction

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-10
Started: 2024-11-10

Kaplan-Meier Plots

Rendered fromkaplan_meier_plots.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-10
Started: 2024-11-10

Preprocessing and Calculating Weights

Rendered fromcalculating_weights.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-10
Started: 2024-11-10

Unanchored Binary Analysis

Rendered fromunanchored_binary.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-22
Started: 2024-11-10

Unanchored Survival Analysis

Rendered fromunanchored_survival.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-10
Started: 2024-11-10

Readme and manuals

Help Manual

Help pageTopics
Binary outcome data from single arm trialadrs_sat
Binary outcome data from two arm trialadrs_twt
Patient data from single arm studyadsl_sat
Patient data from two arm trialadsl_twt
Survival data from single arm trialadtte_sat
Survival data from two arm trialadtte_twt
Aggregate effect modifier data from published studyagd
Basic Kaplan Meier (KM) plot functionbasic_kmplot
Basic Kaplan Meier (KM) plot function using ggplotbasic_kmplot2
Bucher method for combining treatment effectsbucher print.maicplus_bucher
Center individual patient data (IPD) variables using aggregate data averagescenter_ipd
Centered patient data from single arm trialcentered_ipd_sat
Centered patient data from two arm trialcentered_ipd_twt
Check to see if weights are optimized correctlycheck_weights print.maicplus_check_weights
Create dummy variables from categorical variables in an individual patient data (ipd)dummize_ipd
Derive individual weights in the matching step of MAICestimate_weights plot.maicplus_estimate_weights
Calculate standard error from the reported confidence interval.find_SE_from_CI
Create pseudo IPD given aggregated binary dataget_pseudo_ipd_binary
Convert Time Values Using Scaling Factorsget_time_as
Helper function to summarize outputs from glm fitglm_makeup
Kaplan Meier (KM) plot function for anchored and unanchored caseskmplot
Kaplan-Meier (KM) plot function for anchored and unanchored cases using ggplotkmplot2
Anchored MAIC for binary and time-to-event endpointmaic_anchored
Unanchored MAIC for binary and time-to-event endpointmaic_unanchored
Helper function to retrieve median survival time from a 'survival::survfit' objectmedSurv_makeup
Diagnosis plot of proportional hazard assumption for anchored and unanchoredph_diagplot
PH Diagnosis Plot of Log Cumulative Hazard Rate versus time or log-timeph_diagplot_lch
PH Diagnosis Plot of Schoenfeld residuals for a Cox model fitph_diagplot_schoenfeld
Plot MAIC weights in a histogram with key statistics in legendplot_weights_base
Plot MAIC weights in a histogram with key statistics in legend using 'ggplot2'plot_weights_ggplot
Pre-process aggregate dataprocess_agd
Pseudo individual patient survival data from published studypseudo_ipd_sat
Pseudo individual patient survival data from published two arm studypseudo_ipd_twt
Get and Set Time Conversion Factorsget_time_conversion set_time_conversion
Helper function to select set of variables used for Kaplan-Meier plotsurvfit_makeup
Weighted object for single arm trial dataweighted_sat
Weighted object for two arm trial dataweighted_twt