{
  "_id": "6a10271aacfb0bcc41c8fe53",
  "Package": "SurrogateParadoxTest",
  "Type": "Package",
  "Title": "Empirical Testing of Surrogate Paradox Assumptions",
  "Version": "2.2",
  "Date": "2026-04-11",
  "Authors@R": "c(person(given = \"Emily\", family = \"Hsiao\", role = c(\"aut\")), person(\"Layla\", \"Parast\", email = \"parast@austin.utexas.edu\", role = c(\"aut\", \"cre\")))",
  "Description": "Provides functions to nonparametrically assess assumptions\nsufficient to prevent the surrogate paradox through hypothesis\ntests of stochastic dominance, monotonicity of conditional mean\nfunctions, and non-negative residual treatment effect. Details\nare described in: Hsiao E, Tian L, and Parast L (2026).\n\"Avoiding the surrogate paradox: an empirical framework for\nassessing assumptions.\" Journal of Nonparametric Statistics\n<doi:10.1080/10485252.2025.2498609>. There are also functions\nto assess resilience to the surrogate paradox via calculation\nof the resilience probability, the resilience bound, and the\nresilience set. Details will be available in Hsiao E, Tian L,\nand Parast L, \"Resilience Measures for the Surrogate Paradox\"\n(Under Review). Lastly, there is a function to assess\nresilience to the surrogate paradox in the met-analytic\nsetting, described in Hsiao E and Parast L, \"A Functional-Class\nMeta-Analytic Framework for Quantifying Surrogate Resilience\"\n(Under Review).  A tutorial for this package can be found at\n<https://www.laylaparast.com/surrogateparadoxtest>.",
  "License": "GPL",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-13 08:41:35 UTC",
    "User": "root"
  },
  "Author": "Emily Hsiao [aut], Layla Parast [aut, cre]",
  "Maintainer": "Layla Parast <parast@austin.utexas.edu>",
  "Repository": "https://laylaparast.r-universe.dev",
  "Date/Publication": "2026-04-12 17:00:27 UTC",
  "RemoteUrl": "https://github.com/cran/SurrogateParadoxTest",
  "RemoteRef": "HEAD",
  "RemoteSha": "adb01716715d1990cf5d458438bee63d762ae4dd",
  "MD5sum": "86de78a6bace1a597285b94ece7b85c9",
  "_user": "laylaparast",
  "_type": "src",
  "_file": "SurrogateParadoxTest_2.2.tar.gz",
  "_fileid": "4d539ea8d7d821661cb9e490d52e7999e8d929dd76357bff83186527759d037a",
  "_filesize": 199416,
  "_sha256": "4d539ea8d7d821661cb9e490d52e7999e8d929dd76357bff83186527759d037a",
  "_created": "2026-05-13T08:41:35.000Z",
  "_published": "2026-05-22T09:51:22.233Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356210453,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965484241"
    },
    {
      "job": 77356210299,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965495475"
    },
    {
      "job": 77356210499,
      "time": 136,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965482370"
    },
    {
      "job": 77356210749,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965486391"
    },
    {
      "job": 77356210366,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965482564"
    },
    {
      "job": 77356210447,
      "time": 342,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965547830"
    },
    {
      "job": 77356210529,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965484080"
    },
    {
      "job": 77356210725,
      "time": 275,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965527064"
    },
    {
      "job": 77356209994,
      "time": 167,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965436974"
    },
    {
      "job": 77356209691,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157682860"
    },
    {
      "job": 77356210582,
      "time": 157,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965489444"
    },
    {
      "job": 77356210695,
      "time": 133,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965480900"
    },
    {
      "job": 77356210480,
      "time": 175,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965495460"
    }
  ],
  "_buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SurrogateParadoxTest",
  "_commit": {
    "id": "adb01716715d1990cf5d458438bee63d762ae4dd",
    "author": "Layla Parast <parast@austin.utexas.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.2\n",
    "time": 1776013227
  },
  "_maintainer": {
    "name": "Layla Parast",
    "email": "parast@austin.utexas.edu",
    "login": "laylaparast",
    "uuid": 17624391
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MonotonicityTest",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.2",
      "date": "2026-04-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "laylaparast",
      "count": 1,
      "uuid": 17624391
    }
  ],
  "_userbio": {
    "uuid": 17624391,
    "type": "user",
    "name": "laylaparast"
  },
  "_downloads": {
    "count": 503,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SurrogateParadoxTest"
  },
  "_searchresults": 3,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/SurrogateParadoxTest.html",
    "manual.pdf"
  ],
  "_realowner": "laylaparast",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2024-12-08"
    },
    {
      "version": "2.0",
      "date": "2025-01-20"
    },
    {
      "version": "2.2",
      "date": "2026-04-12"
    }
  ],
  "_exports": [
    "fourier_interval",
    "fourier_resilience_set",
    "gaussian_process_interval",
    "gp_resilience_set",
    "meta_analytic_resilience",
    "polynomial_interval",
    "polynomial_resilience_set",
    "test_assumptions"
  ],
  "_datasets": [
    {
      "name": "dataA",
      "title": "Example dataset for meta-analytic analysis",
      "object": "dataA",
      "file": "dataA.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "S",
        "Y",
        "G",
        "study"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    },
    {
      "name": "dataB",
      "title": "Example dataset for meta-analytic analysis, new study",
      "object": "dataB",
      "file": "dataB.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bootstrap_run_procedure_parallel",
      "title": "Meta-Analytic Resilience Probability using Bootstrap",
      "topics": [
        "bootstrap_run_procedure_parallel"
      ]
    },
    {
      "page": "calculate_p_hat",
      "title": "Calculate resilience probability.",
      "topics": [
        "calculate_p_hat"
      ]
    },
    {
      "page": "dataA",
      "title": "Example dataset for meta-analytic analysis",
      "topics": [
        "dataA"
      ]
    },
    {
      "page": "dataB",
      "title": "Example dataset for meta-analytic analysis, new study",
      "topics": [
        "dataB"
      ]
    },
    {
      "page": "fourier_interval",
      "title": "Fourier Resilience Interval",
      "topics": [
        "fourier_interval"
      ]
    },
    {
      "page": "fourier_resilience_set",
      "title": "Fourier Resilience Set",
      "topics": [
        "fourier_resilience_set"
      ]
    },
    {
      "page": "gaussian_process_interval",
      "title": "Gaussian Process Resilience Interval",
      "topics": [
        "gaussian_process_interval"
      ]
    },
    {
      "page": "gp_resilience_set",
      "title": "Gaussian Process Resilience Set",
      "topics": [
        "gp_resilience_set"
      ]
    },
    {
      "page": "make_basis",
      "title": "Basis",
      "topics": [
        "make_basis"
      ]
    },
    {
      "page": "meta_analytic_resilience",
      "title": "Meta-Analytic Resilience Probability",
      "topics": [
        "meta_analytic_resilience"
      ]
    },
    {
      "page": "polynomial_interval",
      "title": "Polynomial Resilience Interval",
      "topics": [
        "polynomial_interval"
      ]
    },
    {
      "page": "polynomial_resilience_set",
      "title": "Polynomial Resilience Set",
      "topics": [
        "polynomial_resilience_set"
      ]
    },
    {
      "page": "run_procedure_pab",
      "title": "Meta-Analytic Resilience Probability using PAB",
      "topics": [
        "run_procedure_pab"
      ]
    },
    {
      "page": "test_assumptions",
      "title": "Test assumptions to prevent surrogate paradox",
      "topics": [
        "test_assumptions"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "MonotonicityTest",
    "numDeriv",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "surrogateparadoxtest",
  "_universes": [
    "laylaparast"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2",
      "date": "2026-05-13T08:43:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "3e07676d9d1ccd04cbc0c9bcf6f43cca6260d916bfb222739df441edcab70b80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2",
      "date": "2026-05-13T08:44:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "c1ae70620268be2fb76c67e064a38b12bbbf53de88d4cb8359121f3108c6a0ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2",
      "date": "2026-05-13T08:43:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "c85fc50d40fcaecbfbd335223ce7083d90841a7759fb70d101b17e685cabb4b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2",
      "date": "2026-05-13T08:43:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "f433bb922a1572e5f1acc856aa08f8327499cb951df968b58f30181689584cac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2",
      "date": "2026-05-13T08:43:39.000Z",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "65f132660132cea69e5c92dc0a2fa922f5637eebfdd29470dea4a592cc72a63c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2",
      "date": "2026-05-13T08:45:30.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "823668b8d247015068dbb92b812a98bc87bc218ed06fe9d849a2ac5fcfc8e715",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2",
      "date": "2026-05-13T08:43:42.000Z",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "52bad77c21e9db2bb092dfccb396aadeb6712a5e397d4c285f288d3c19d27607",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2",
      "date": "2026-05-13T08:45:17.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "55a8ddaf89d1b5948d800ab6b3a96a4f68f7a02fa9380b516e513ba93a34a9f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2",
      "date": "2026-05-13T08:43:16.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "e2b85e978f607baa7e5d83d57c6593c74a57c4f3cdbf97eb672eb84a35b9dc76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2",
      "date": "2026-05-13T08:43:03.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "4361bcc415ae83bf854e5044d2c1a0ffdb04412b6b8654212dc5f7e1bdd89049",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.2",
      "date": "2026-05-13T08:43:18.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "5134c20e82b8e5d500bd568468c13cbe09729dddae4f8761a05340df01802565",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2",
      "date": "2026-05-22T09:50:56.000Z",
      "arch": "emscripten",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "730bc561cc65977c1429f5d619f392d655a080de481a36e7e535b8999c7e6218",
      "status": "success",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/25788117118"
    }
  ]
}