{
  "_id": "6ab8f36899f7aa8c6aa38d76",
  "Package": "mhtopt",
  "Title": "Optimal Multiple Hypothesis Testing Corrections",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Davide\", \"Viviano\", role = \"aut\"),\nperson(\"Kaspar\", \"Wuthrich\", role = \"aut\"),\nperson(\"Paul\", \"Niehaus\", role = \"aut\"),\nperson(\"Erick\", \"Rosas Lopez\", email = \"erosaslpez@ucsd.edu\", role = c(\"cre\", \"ctb\"))\n)",
  "Description": "Implements the optimal multiple hypothesis testing\ncorrection from Viviano, Wuthrich, and Niehaus (2026)\n<doi:10.48550/arXiv.2104.13367>. Derives the optimal per-test\nsignificance level from the economic incentives of research\nproduction, providing a correction that lies between Bonferroni\n(too conservative) and unadjusted (too permissive). Supports\ntwo cost models: a Linear one calibrated to United States Food\nand Drug Administration (FDA) clinical-trial costs, and a\nCobb-Douglas one calibrated to Abdul Latif Jameel Poverty\nAction Lab (J-PAL) project costs. Reports optimal, Bonferroni,\nHolm, Benjamini-Hochberg (BH), and unadjusted results side by\nside.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/dviviano/mhtopt",
  "BugReports": "https://github.com/dviviano/mhtopt/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-27 10:40:14 UTC",
    "User": "root"
  },
  "Author": "Davide Viviano [aut], Kaspar Wuthrich [aut], Paul Niehaus\n[aut], Erick Rosas Lopez [cre, ctb]",
  "Maintainer": "Erick Rosas Lopez <erosaslpez@ucsd.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-29 16:40:03 UTC",
  "RemoteUrl": "https://github.com/cran/mhtopt",
  "RemoteRef": "HEAD",
  "RemoteSha": "7fdb571e4259144078496f8a638204d9336a53b3",
  "_user": "cran",
  "_type": "src",
  "_file": "mhtopt_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c42401e53b64e7eb1b3c164bfaa2aaf6df57244dd61626ed8d2c7eaeebf6f38c",
  "_filesize": 208739,
  "_sha256": "c42401e53b64e7eb1b3c164bfaa2aaf6df57244dd61626ed8d2c7eaeebf6f38c",
  "_expires": "2027-01-05T10:43:50.000Z",
  "_created": "2026-09-27T10:40:14.000Z",
  "_published": "2026-09-27T10:43:51.971Z",
  "_jobs": [
    {
      "job": 108603187869,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10930265318"
    },
    {
      "job": 108603187826,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929836637"
    },
    {
      "job": 108602724264,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930030809"
    },
    {
      "job": 108603187862,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10929911234"
    },
    {
      "job": 108603187791,
      "time": 76,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10928639816"
    },
    {
      "job": 108603187803,
      "time": 73,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929806636"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/36313101441",
  "_status": "success",
  "_upstream": "https://github.com/cran/mhtopt",
  "_commit": {
    "id": "7fdb571e4259144078496f8a638204d9336a53b3",
    "author": "Erick Rosas Lopez <erosaslpez@ucsd.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1785343203
  },
  "_maintainer": {
    "name": "Erick Rosas Lopez",
    "email": "erosaslpez@ucsd.edu",
    "login": "erickrl6-dot",
    "description": "",
    "uuid": 237499780
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-07-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "erickrl6-dot",
      "count": 1,
      "uuid": 237499780
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 253,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mhtopt"
  },
  "_devurl": "https://github.com/dviviano/mhtopt",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mhtopt.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_realowner": "erickrl6-dot",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-07-29"
    }
  ],
  "_exports": [
    "mht_cost_estimate",
    "mht_critical",
    "mht_est",
    "mht_table",
    "mht_test"
  ],
  "_help": [
    {
      "page": "mht_cost_estimate",
      "title": "Estimate Cost Function Parameters for MHT Adjustment",
      "topics": [
        "mht_cost_estimate"
      ]
    },
    {
      "page": "mht_critical",
      "title": "Compute Optimal MHT Critical Values",
      "topics": [
        "mht_critical"
      ]
    },
    {
      "page": "mht_est",
      "title": "Apply MHT Testing Directly to a Fitted Model (Postestimation)",
      "topics": [
        "mht_est"
      ]
    },
    {
      "page": "mht_table",
      "title": "Generate Table of Optimal Critical Values",
      "topics": [
        "mht_table"
      ]
    },
    {
      "page": "mht_test",
      "title": "Perform Hypothesis Tests with Optimal MHT Adjustment",
      "topics": [
        "mht_test"
      ]
    }
  ],
  "_readme": "https://github.com/cran/mhtopt/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "mhtopt.Rmd",
      "filename": "mhtopt.html",
      "title": "Optimal Multiple Hypothesis Testing",
      "author": "Davide Viviano, Kaspar Wuthrich, Paul Niehaus",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Package functions",
        "Installation",
        "Quick Start",
        "When to Adjust?",
        "Cost structure determines the optimal correction",
        "Default calibrations",
        "Main Function: mht_est()",
        "Basic usage",
        "Supported model classes",
        "Return value",
        "Examples",
        "Supporting Functions",
        "mht_critical() — Compute Optimal Critical Values",
        "mht_test() — Test a Vector of P-Values",
        "mht_table() — Generate Reference Tables",
        "Estimating Cost Functions",
        "mht_cost_estimate() — Estimate Parameters from Data",
        "Worked Example",
        "One-Sided vs Two-Sided Tests",
        "Sample Size Adjustment",
        "References"
      ],
      "created": "2026-07-29 16:40:03",
      "modified": "2026-07-29 16:40:03",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "mhtopt",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://erickrl6-dot.r-universe.dev/mhtopt",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-27T10:43:03.000Z",
      "distro": "resolute",
      "commit": "7fdb571e4259144078496f8a638204d9336a53b3",
      "fileid": "https://r2.ropensci.org/d244ece7ce73fd77099cd51ebc75649a47e3646e2d397001c3ace2edf82a8fea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36313101441"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-27T10:43:13.000Z",
      "distro": "resolute",
      "commit": "7fdb571e4259144078496f8a638204d9336a53b3",
      "fileid": "https://r2.ropensci.org/0a6d0062d50810e7ed8ba79204b7fd583aa183e6e4854cad071df396702e1520",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36313101441"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-09-27T10:42:09.000Z",
      "commit": "7fdb571e4259144078496f8a638204d9336a53b3",
      "fileid": "https://r2.ropensci.org/e6b7e3b003f172431413fe59d7397ba4b0bdaaa5fb7f9e2d46b942ea4ad60d53",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36313101441"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-27T10:41:25.000Z",
      "commit": "7fdb571e4259144078496f8a638204d9336a53b3",
      "fileid": "https://r2.ropensci.org/f3db806a0092c8d783b092666182205381c0bb9beb8c8911241021d6dfd148d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36313101441"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-27T10:41:22.000Z",
      "commit": "7fdb571e4259144078496f8a638204d9336a53b3",
      "fileid": "https://r2.ropensci.org/202ab1d36a347b59b6306affe50113ec6327cf6034dc0ad44eb216500cc7b1c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36313101441"
    }
  ]
}