{
  "_id": "6a1f3a6fb401979e73428fae",
  "Package": "publipha",
  "Title": "Bayesian Meta-Analysis with Publications Bias and P-Hacking",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(\"Jonas\", \"Moss\", , \"jonas.gjertsen@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6876-6964\")\n),\nperson(\"Trustees of Columbia University\", role = \"cph\"))",
  "Description": "Tools for Bayesian estimation of meta-analysis models that\naccount for publications bias or p-hacking. For publication\nbias, this package implements a variant of the p-value based\nselection model of Hedges (1992) <doi:10.1214/ss/1177011364>\nwith discrete selection probabilities. It also implements the\nmixture of truncated normals model for p-hacking described in\nMoss and De Bin (2019) <arXiv:1911.12445>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU make",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"rd\", \"namespace\",\n\"collate\"))",
  "Collate": "'data-anderson2010.R' 'data-baskerville2012.R'\n'data-cuddy2018.R' 'data-dang2018.R' 'data-motyl2017.R'\n'densities-helpers.R' 'densities-mpsnorm.R'\n'densities-phnorm.R' 'densities-psnorm.R' 'densities-snorm.R'\n'ma.R' 'generics.R' 'publipha-package.R' 'stanmodels.R'\n'tools.R' 'utility.R'",
  "Language": "en-US",
  "Config/pak/sysreqs": "make",
  "Repository": "https://jonasmoss.r-universe.dev",
  "Date/Publication": "2025-03-22 15:13:10 UTC",
  "RemoteUrl": "https://github.com/jonasmoss/publipha",
  "RemoteRef": "HEAD",
  "RemoteSha": "4b5126ddada86f551746add0704473cf9a7109bb",
  "Packaged": {
    "Date": "2026-05-06 07:43:32 UTC",
    "User": "root"
  },
  "Author": "Jonas Moss [aut, cre] (ORCID: <https://orcid.org/0000-0002-6876-6964>),\nTrustees of Columbia University [cph]",
  "Maintainer": "Jonas Moss <jonas.gjertsen@gmail.com>",
  "MD5sum": "3f8830d693cde82e13105fb9579a9e16",
  "_user": "jonasmoss",
  "_type": "src",
  "_file": "publipha_0.1.2.tar.gz",
  "_fileid": "e6e26e03a5dbd6c17d5c23400e8630ed505babc037443ffedba6f361a8251245",
  "_filesize": 261422,
  "_sha256": "e6e26e03a5dbd6c17d5c23400e8630ed505babc037443ffedba6f361a8251245",
  "_created": "2026-05-06T07:43:32.000Z",
  "_published": "2026-06-02T20:17:51.366Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79163509488,
      "time": 355,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6825190462"
    },
    {
      "job": 79163510360,
      "time": 377,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6825196993"
    },
    {
      "job": 79163510640,
      "time": 342,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6825186630"
    },
    {
      "job": 79163509468,
      "time": 331,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6825183501"
    },
    {
      "job": 79163510920,
      "time": 211,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6825151753"
    },
    {
      "job": 79163510875,
      "time": 589,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6825248763"
    },
    {
      "job": 79163510646,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6825152669"
    },
    {
      "job": 79163509940,
      "time": 610,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6825254000"
    },
    {
      "job": 79163509287,
      "time": 341,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6825097599"
    },
    {
      "job": 79163508909,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79163510047,
      "time": 447,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6825213414"
    },
    {
      "job": 79163510973,
      "time": 401,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6825201380"
    },
    {
      "job": 79163509876,
      "time": 421,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6825206870"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jonasmoss/publipha",
  "_commit": {
    "id": "4b5126ddada86f551746add0704473cf9a7109bb",
    "author": "Jonas Moss <jonas.gjertsen@gmail.com>",
    "committer": "Jonas Moss <jonas.gjertsen@gmail.com>",
    "message": "fix file for docs; no devtools::document()\n",
    "time": 1742656390
  },
  "_maintainer": {
    "name": "Jonas Moss",
    "email": "jonas.gjertsen@gmail.com",
    "login": "jonasmoss",
    "uuid": 24292739,
    "orcid": "0000-0002-6876-6964"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.19",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.72.0-2",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.19",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.4.0",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.21.8",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.21.0-7",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 1.5.1",
      "role": "Imports"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "metafor",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "metadat",
      "role": "Suggests"
    }
  ],
  "_owner": "jonasmoss",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "jonasmoss",
      "count": 149,
      "uuid": 24292739
    },
    {
      "user": "andrjohns",
      "count": 6,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 24292739,
    "type": "user",
    "name": "Jonas Moss",
    "description": "Assistant professor in statistics."
  },
  "_downloads": {
    "count": 235,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/publipha"
  },
  "_devurl": "https://github.com/jonasmoss/publipha",
  "_searchresults": 3,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/publipha.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jonasmoss/publipha",
  "_realowner": "jonasmoss",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-01-08"
    },
    {
      "version": "0.1.1",
      "date": "2020-01-15"
    },
    {
      "version": "0.1.2",
      "date": "2023-04-04"
    }
  ],
  "_exports": [
    "allma",
    "cma",
    "dmpsnorm",
    "dphnorm",
    "dpsnorm",
    "dsnorm",
    "esnorm",
    "extract_eta",
    "extract_isq",
    "extract_tau",
    "extract_theta",
    "extract_theta0",
    "loo",
    "ma",
    "phma",
    "pmpsnorm",
    "pphnorm",
    "ppsnorm",
    "psma",
    "rmpsnorm",
    "rphnorm",
    "rpsnorm",
    "rsnorm"
  ],
  "_datasets": [
    {
      "name": "dat.anderson2010",
      "title": "Studies on Effect of Violent Video Games on Negative Outcomes",
      "object": "dat.anderson2010",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "author",
        "outcome",
        "best",
        "experimental",
        "adult",
        "country",
        "ni",
        "yi",
        "vi"
      ],
      "rows": 477,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat.baskerville2012",
      "title": "Studies on Practice Facilitation",
      "object": "dat.baskerville2012",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "author",
        "year",
        "design",
        "blinded",
        "concealed",
        "yi",
        "vi"
      ],
      "rows": 23,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat.cuddy2018",
      "title": "Studies on the Effect of Power Posing",
      "object": "dat.cuddy2018",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "author",
        "year",
        "subset",
        "yi",
        "vi"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat.dang2018",
      "title": "Meta-analysis on Ego Depletion",
      "object": "dat.dang2018",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "author",
        "year",
        "in_carter",
        "study",
        "dv",
        "iv",
        "n1i",
        "n2i",
        "yi",
        "vi"
      ],
      "rows": 150,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat.motyl2017",
      "title": "Effect Sizes from 875 Studies in Psychology.",
      "object": "dat.motyl2017",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "author",
        "year",
        "study",
        "journal",
        "design",
        "experimental",
        "ni",
        "yi",
        "vi"
      ],
      "rows": 874,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "publipha-package",
      "title": "The 'publipha' package.",
      "topics": [
        "publipha-package",
        "publipha"
      ]
    },
    {
      "page": "dat.anderson2010",
      "title": "Studies on Effect of Violent Video Games on Negative Outcomes",
      "topics": [
        "dat.anderson2010"
      ]
    },
    {
      "page": "dat.baskerville2012",
      "title": "Studies on Practice Facilitation",
      "topics": [
        "dat.baskerville2012"
      ]
    },
    {
      "page": "dat.cuddy2018",
      "title": "Studies on the Effect of Power Posing",
      "topics": [
        "dat.cuddy2018"
      ]
    },
    {
      "page": "dat.dang2018",
      "title": "Meta-analysis on Ego Depletion",
      "topics": [
        "dat.dang2018"
      ]
    },
    {
      "page": "dat.motyl2017",
      "title": "Effect Sizes from 875 Studies in Psychology.",
      "topics": [
        "dat.motyl2017"
      ]
    },
    {
      "page": "ExtractParameters",
      "title": "Extract Parameters from an 'mafit' Object",
      "topics": [
        "ExtractParameters",
        "extract_eta",
        "extract_isq",
        "extract_tau",
        "extract_theta",
        "extract_theta0"
      ]
    },
    {
      "page": "loo-mafit-method",
      "title": "Calculate the 'loo' for an 'ma' object.",
      "topics": [
        "loo,mafit-method"
      ]
    },
    {
      "page": "ma",
      "title": "Meta-analysis Correcting for Publication Bias or p-hacking",
      "topics": [
        "allma",
        "cma",
        "ma",
        "phma",
        "psma"
      ]
    },
    {
      "page": "mafit-class",
      "title": "Class 'mafit': Fitted Meta-analysis Model",
      "topics": [
        "mafit-class"
      ]
    },
    {
      "page": "mpsnorm",
      "title": "Marginal Publication Selection Meta-analysis Model",
      "topics": [
        "dmpsnorm",
        "mpsnorm",
        "pmpsnorm",
        "rmpsnorm"
      ]
    },
    {
      "page": "phnorm",
      "title": "p-hacking Meta-analysis Model",
      "topics": [
        "dphnorm",
        "phnorm",
        "pphnorm",
        "rphnorm"
      ]
    },
    {
      "page": "psnorm",
      "title": "Publication Selection Meta-analysis Model",
      "topics": [
        "dpsnorm",
        "ppsnorm",
        "psnorm",
        "rpsnorm"
      ]
    },
    {
      "page": "snorm",
      "title": "Selected Normal Effect Size Distribution",
      "topics": [
        "dsnorm",
        "esnorm",
        "rsnorm",
        "snorm"
      ]
    }
  ],
  "_pkglogo": "https://github.com/jonasmoss/publipha/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/jonasmoss/publipha/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "truncnorm",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "publipha",
  "_universes": [
    "jonasmoss"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-06T07:48:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "a95556129b5fa9ced271878379b9e129dd63da85992773fe1d0a1b7c64288e7f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-06T07:48:43.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "95f54436608d973d52c09df6e57635b38927f7f348301c15f22a37c39eb8e828",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-06T07:48:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "19754eacd2e3403562cf6d16aa1bf07b4b876eaa9806db12f8de090b6bcd4a0d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-06T07:48:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "2f27216f0f3b6076f6d8f00a65c2bd0df4e57641540852ee66739f25fa4b5cd4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-06T07:47:19.000Z",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "69cd3750c188ac0300c5c451c95332d46d64a87cbb7ec77d1733722f35cd8a3a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-06T07:49:47.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "4a01ac9aa6834a3f4a4114b3b30fa22e9c8b1be2c81c19542d9ca4f8b4971675",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-06T07:47:20.000Z",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "0c747c4c4379a5fc88ba2aee8870fbcb9cdc53e39d37c328d1c4eb2d7cb78932",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-06T07:49:14.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "95001476a60cfe309a0104c0cf9fb3638b3022e24eb1283bce781c656b7bbb46",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-06T07:47:38.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "7bbf510ab90dee8d3193e861f5116631ba60043cf4bb3ab9aa68cba685293f90",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-06T07:47:19.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "e48b8af18be93972afc7a3b07483b884873a4f86dffae4e675a6364552fad141",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-06T07:47:36.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "ad7e5cd7d6d07add917f50e460a885c3db3fa85f545b97d1298a7323badd3558",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/25422627184"
    }
  ]
}