{
  "_id": "6ac9fcbafe5cc25786e83b7c",
  "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-10-10 08:26:02 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",
  "_user": "laylaparast",
  "_type": "src",
  "_file": "SurrogateParadoxTest_2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/efe4809d4e0c0c35f94ad0fb446a5a271fb619bed76cfd348c57201bf2946958",
  "_filesize": 199260,
  "_sha256": "efe4809d4e0c0c35f94ad0fb446a5a271fb619bed76cfd348c57201bf2946958",
  "_expires": "2027-01-18T08:52:08.000Z",
  "_created": "2026-10-10T08:26:02.000Z",
  "_published": "2026-10-10T08:52:10.134Z",
  "_buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114172045882,
      "time": 115,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11665195397"
    },
    {
      "job": 114172045834,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11664228731"
    },
    {
      "job": 114172045904,
      "time": 110,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664680893"
    },
    {
      "job": 114172045821,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11665250296"
    },
    {
      "job": 114172045861,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11665032666"
    },
    {
      "job": 114172045942,
      "time": 252,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11665037858"
    },
    {
      "job": 114172045879,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664717974"
    },
    {
      "job": 114172045828,
      "time": 260,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11665102564"
    },
    {
      "job": 114171594336,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664655728"
    },
    {
      "job": 114172045843,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11665165374"
    },
    {
      "job": 114172045849,
      "time": 377,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11663959011"
    },
    {
      "job": 114172045932,
      "time": 185,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11664083836"
    },
    {
      "job": 114172045865,
      "time": 125,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11664835687"
    },
    {
      "job": 114172045894,
      "time": 360,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664368854"
    },
    {
      "job": 114172045837,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11665190356"
    }
  ],
  "_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",
    "description": "",
    "uuid": 17624391
  },
  "_distro": "resolute",
  "_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",
    "followers": 6
  },
  "_downloads": {
    "count": 318,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SurrogateParadoxTest"
  },
  "_searchresults": 3,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/SurrogateParadoxTest.html"
  ],
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-10-10T08:27:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/1e4c578ce98877f1389765179ff08f1bf0004a83ea90cff3e4673ed106f37a8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2",
      "date": "2026-10-10T08:28:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/d282e3ac452723f1632275a3979d9907234daff2fb82d9fec1d8d4e6b20b75e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.2",
      "date": "2026-10-10T08:27:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/c964aa7b62322e47736cf8df3ee0f2c89477a19881ed1e98d3c7af4f38baad93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.2",
      "date": "2026-10-10T08:27:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/4715261256838d1840ad10cff913b4a4dea794086ee245e81e0294d12442d338",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2",
      "date": "2026-10-10T08:48:14.000Z",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/7284a8851e767ebc7347cef95b5ca64eb0d68f3c787a779d3aafa72959e4c6f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2",
      "date": "2026-10-10T08:50:21.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/b619e766ca94a0a7c97c16e41f4a63d02eae0fc583fa63518ea375b077e51d7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.2",
      "date": "2026-10-10T08:48:15.000Z",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/d7d74d2ef57e773f92702fe70c8d6a118b02c1281dfb7796ff34b8a1c30e1fc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.2",
      "date": "2026-10-10T08:48:47.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/9732e0fd1d42f33e10a0e6ded9788e7b913c2184db940251d5d6084732c5ef86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2",
      "date": "2026-10-10T08:28:11.000Z",
      "arch": "emscripten",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/6221775ebfd471e30b28e5a9dd85f9e9a29e9f6c8c080b6e62175175eca11587",
      "status": "success",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2",
      "date": "2026-10-10T08:31:30.000Z",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/b90b7ea6d32441b1e27e532bf1b34ae1637f60ee89dc615226837925ae9521f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2",
      "date": "2026-10-10T08:27:47.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/4c18c010512ef47e8edc1a5d4b1050c48a88bc35ac588812f1919f7b0aa0b233",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2",
      "date": "2026-10-10T08:27:27.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/899aaa88cee41b300251dc5e737b06d48bb37531cc0c6131497db2d59fd7f2bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.2",
      "date": "2026-10-10T08:30:56.000Z",
      "arch": "aarch64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/73b70e75616235337608d0265fd14fc2215ae2afda03d2a1d438d64dc4427d64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.2",
      "date": "2026-10-10T08:27:22.000Z",
      "arch": "x86_64",
      "commit": "adb01716715d1990cf5d458438bee63d762ae4dd",
      "fileid": "https://r2.ropensci.org/44b96f20a766f8f11ffb1870b4329370b263a2b0384d9b5a7d48b6b6e94a843c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laylaparast/actions/runs/38037713023"
    }
  ]
}