{
  "_id": "6a1d5ab61d7bb097a0a483e0",
  "Package": "CompareTests",
  "Type": "Package",
  "Title": "Correct for Verification Bias in Diagnostic Accuracy & Agreement",
  "Version": "1.3",
  "Date": "2024-12-12",
  "Authors@R": "c(person(given = c(\"Hormuzd\", \"A.\"),\nfamily = \"Katki\",\nrole = \"aut\"),\nperson(given = c(\"David\", \"W.\"),\nfamily = \"Edelstein\",\nrole = \"aut\"),\nperson(given = \"Hormuzd\",\nfamily = \"Katki\",\nrole = \"cre\",\nemail = \"katkih@mail.nih.gov\"))",
  "Maintainer": "Hormuzd Katki <katkih@mail.nih.gov>",
  "Description": "A standard test is observed on all specimens.  We treat\nthe second test (or sampled test) as being conducted on only a\nstratified sample of specimens.  Verification Bias is this\nsituation when the specimens for doing the second (sampled)\ntest is not under investigator control.  We treat the total\nsample as stratified two-phase sampling and use inverse\nprobability weighting.  We estimate diagnostic accuracy\n(category-specific classification probabilities; for binary\ntests reduces to specificity and sensitivity, and also\npredictive values) and agreement statistics (percent agreement,\npercent agreement by category, Kappa (unweighted), Kappa\n(quadratic weighted) and symmetry tests (reduces to McNemar's\ntest for binary tests)).  See: Katki HA, Li Y, Edelstein DW,\nCastle PE.  Estimating the agreement and diagnostic accuracy of\ntwo diagnostic tests when one test is conducted on only a\nsubsample of specimens. Stat Med. 2012 Feb 28; 31(5)\n<doi:10.1002/sim.4422>.",
  "License": "GPL-3",
  "LazyLoad": "yes",
  "URL": "https://dceg.cancer.gov/about/staff-directory/katki-hormuzd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 10:08:14 UTC",
    "User": "root"
  },
  "Author": "Hormuzd A. Katki [aut], David W. Edelstein [aut], Hormuzd Katki\n[cre]",
  "Repository": "https://hkatki.r-universe.dev",
  "Date/Publication": "2024-12-12 15:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/CompareTests",
  "RemoteRef": "HEAD",
  "RemoteSha": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
  "MD5sum": "af619a0adbe0ee932b4b8756c03ac88f",
  "_user": "hkatki",
  "_type": "src",
  "_file": "CompareTests_1.3.tar.gz",
  "_fileid": "88f7b1b699ddc891dbd429d273bcdf115bbe49fcbeb13ecbd65d11c85b316f85",
  "_filesize": 118786,
  "_sha256": "88f7b1b699ddc891dbd429d273bcdf115bbe49fcbeb13ecbd65d11c85b316f85",
  "_created": "2026-06-01T10:08:14.000Z",
  "_published": "2026-06-01T10:11:02.689Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78830187894,
      "time": 98,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328774686"
    },
    {
      "job": 78830187881,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328776155"
    },
    {
      "job": 78830188001,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328776106"
    },
    {
      "job": 78830187857,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328771506"
    },
    {
      "job": 78829829217,
      "time": 131,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328740632"
    },
    {
      "job": 78830188060,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328771483"
    },
    {
      "job": 78830187859,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328766685"
    },
    {
      "job": 78830187879,
      "time": 58,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328760124"
    },
    {
      "job": 78830187933,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328764150"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/CompareTests",
  "_commit": {
    "id": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
    "author": "Hormuzd Katki <katkih@mail.nih.gov>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3\n",
    "time": 1734018002
  },
  "_maintainer": {
    "name": "Hormuzd Katki",
    "email": "katkih@mail.nih.gov"
  },
  "_registered": true,
  "_dependencies": [],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 47896838,
    "type": "user",
    "name": "Hormuzd Katki",
    "description": "Statistician and cancer researcher interested in cancer screening and prevention"
  },
  "_downloads": {
    "count": 189,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CompareTests"
  },
  "_mentions": 1,
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CompareTests.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "hkatki",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2012-10-29"
    },
    {
      "version": "1.1",
      "date": "2015-07-12"
    },
    {
      "version": "1.2",
      "date": "2017-02-06"
    },
    {
      "version": "1.3",
      "date": "2024-12-12"
    }
  ],
  "_exports": [
    "CompareTests",
    "fulltable"
  ],
  "_datasets": [
    {
      "name": "specimens",
      "title": "Fictitious data on specimens tested by two methods",
      "object": "specimens",
      "file": "specimens.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "stratum",
        "stdtest",
        "sampledtest"
      ],
      "rows": 402,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CompareTests-package",
      "title": "Correct for Verification Bias in Diagnostic Accuracy & Agreement",
      "topics": [
        "CompareTests-package"
      ]
    },
    {
      "page": "CompareTests",
      "title": "Correct for Verification Bias in Diagnostic Accuracy & Agreement",
      "topics": [
        "CompareTests"
      ]
    },
    {
      "page": "fulltable",
      "title": "fulltable attaches margins and NA/NaN category to the output of table()",
      "topics": [
        "fulltable"
      ]
    },
    {
      "page": "specimens",
      "title": "Fictitious data on specimens tested by two methods",
      "topics": [
        "specimens"
      ]
    }
  ],
  "_rundeps": [],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "comparetests",
  "_universes": [
    "hkatki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-06-01T10:09:59.000Z",
      "distro": "noble",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "64525bf417a6c8f10b95e391d62af9770c26a74821554d0c0ec29abfbf19970a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-06-01T10:10:02.000Z",
      "distro": "noble",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "46ee684fd2f621f75521f003e15fda3226e3749eb1e6f77ac8f424af9317b642",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-06-01T10:10:05.000Z",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "9dccaa395b7d80951638178ace13c8e8ed25e1fda918c2b5ac2f107f7c729862",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3",
      "date": "2026-06-01T10:09:54.000Z",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "55064cf82df1b68f41342612807363c62336d7484c24e6901bf482a9fdfda9c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3",
      "date": "2026-06-01T10:09:59.000Z",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "88c57b720edd3839491574344a35a742a14af6166446a09be4f75319b5e8c2a5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-06-01T10:09:31.000Z",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "be96649e1be64e2534cde7e164c5c0fe499ad00b9359b7eaa2daa9004d34b06c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3",
      "date": "2026-06-01T10:09:14.000Z",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "23697cc5a6fb8e85d2d6e7bc8e9d81935dda37b67e5e6599f05fa2e3d61ecd2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-06-01T10:09:25.000Z",
      "commit": "bf5bcde0227a3a060eba3f3009671e87c64dd397",
      "fileid": "5799634f4d29fa432fb22463a24534e16575078e2ac86ba224e2bff0dd9665ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hkatki/actions/runs/26748402726"
    }
  ]
}