Package: SurrogateParadoxTest 2.2

Layla Parast

SurrogateParadoxTest: Empirical Testing of Surrogate Paradox Assumptions

Provides functions to nonparametrically assess assumptions sufficient to prevent the surrogate paradox through hypothesis tests of stochastic dominance, monotonicity of conditional mean functions, and non-negative residual treatment effect. Details are described in: Hsiao E, Tian L, and Parast L (2026). "Avoiding the surrogate paradox: an empirical framework for assessing assumptions." Journal of Nonparametric Statistics <doi:10.1080/10485252.2025.2498609>. There are also functions to assess resilience to the surrogate paradox via calculation of the resilience probability, the resilience bound, and the resilience set. Details will be available in Hsiao E, Tian L, and Parast L, "Resilience Measures for the Surrogate Paradox" (Under Review). Lastly, there is a function to assess resilience to the surrogate paradox in the met-analytic setting, described in Hsiao E and Parast L, "A Functional-Class Meta-Analytic Framework for Quantifying Surrogate Resilience" (Under Review). A tutorial for this package can be found at <https://www.laylaparast.com/surrogateparadoxtest>.

Authors:Emily Hsiao [aut], Layla Parast [aut, cre]

SurrogateParadoxTest_2.2.tar.gz
SurrogateParadoxTest_2.2.tar.gz(r-4.7-arm64)SurrogateParadoxTest_2.2.tar.gz(r-4.7-x86_64)SurrogateParadoxTest_2.2.tar.gz(r-4.6-arm64)SurrogateParadoxTest_2.2.tar.gz(r-4.6-x86_64)
SurrogateParadoxTest_2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
SurrogateParadoxTest/json (API)

# Install 'SurrogateParadoxTest' in R:
install.packages('SurrogateParadoxTest', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • dataA - Example dataset for meta-analytic analysis
  • dataB - Example dataset for meta-analytic analysis, new study

On CRAN:

Conda:

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

openblascpp

1.00 score 3 scripts 470 downloads 8 exports 25 dependencies

Last updated from:adb0171671. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK184
linux-devel-x86_64OK188
source / vignettesOK177
linux-release-arm64OK147
linux-release-x86_64OK152
wasm-releaseOK113

Exports:fourier_intervalfourier_resilience_setgaussian_process_intervalgp_resilience_setmeta_analytic_resiliencepolynomial_intervalpolynomial_resilience_settest_assumptions

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecycleMASSMatrixMonotonicityTestnumDerivR6RColorBrewerRcppRcppArmadilloRcppEigenrlangS7scalesvctrsviridisLitewithr