{
  "_id": "6a22ad4d0ef520ea2f58cde8",
  "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-06-05 10:49:21 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": "458a481c295758262a90dee669a6112e",
  "_user": "jonasmoss",
  "_type": "src",
  "_file": "publipha_0.1.2.tar.gz",
  "_fileid": "60a0012f1ab4b79d50abbb783b69cc276df3b114d6befc29d0ae2e30f3f4187d",
  "_filesize": 259355,
  "_sha256": "60a0012f1ab4b79d50abbb783b69cc276df3b114d6befc29d0ae2e30f3f4187d",
  "_created": "2026-06-05T10:49:21.000Z",
  "_published": "2026-06-05T11:04:45.074Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79713163426,
      "time": 336,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7434895230"
    },
    {
      "job": 79713163411,
      "time": 355,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7434899493"
    },
    {
      "job": 79713163399,
      "time": 334,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7434895167"
    },
    {
      "job": 79713163388,
      "time": 326,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7434891834"
    },
    {
      "job": 79713163356,
      "time": 280,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7434878209"
    },
    {
      "job": 79713163370,
      "time": 766,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7435016043"
    },
    {
      "job": 79713163354,
      "time": 315,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7434888883"
    },
    {
      "job": 79713163336,
      "time": 612,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7434972966"
    },
    {
      "job": 79712417388,
      "time": 322,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434800304"
    },
    {
      "job": 79713163318,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79713163319,
      "time": 387,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7434908801"
    },
    {
      "job": 79713163341,
      "time": 367,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7434902984"
    },
    {
      "job": 79713163353,
      "time": 413,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7434916659"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211",
  "_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",
    "description": "Assistant professor in statistics.",
    "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": 180,
    "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-06-05T10:54:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "3fe5aedd10db1d35773e203971c8b8b4d41890dcbcb9c11f29f17b652091767a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-05T10:54:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "8e79a8b62e443b808c8ef37d4f069f2b93f42d4568cad2b4ff2aef5564e527e9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-05T10:54:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "52522eb28719cdfdd9f3922197c52d4fc939bb4006293b87f535daad689060f1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-05T10:53:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "06c0168aae918802988e1bf8a8248a68488dd2accf9154bc5923c2a34ce4a6b5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:53:15.000Z",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "2ab06a878d9032d99bf88143bc2f9315e5b07cf52bd3ebf47879bc4fba8e9a3c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:55:19.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "1e77988c8037440402753f51dde4aecc17a904660345110afb99cb82b69238b1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:53:22.000Z",
      "arch": "aarch64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "d21fd6cf1156b92cde6a2fa470d2352dcf813750507d53df34c40271a9bc50bb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-05T10:54:53.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "03b3b6470f3bcb8132e34f53c205a0e264ca66b0aafcaea4bc6b55b706f78317",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-05T10:53:10.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "c987b56808ad26fc7805c9d3a09f5f91e5a2e6c14d1346063be85da55cfe9536",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-05T10:53:17.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "3497b97308a613917637d32ced304882213d34a4da8d66b55d80eee48cec00c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-05T10:53:07.000Z",
      "arch": "x86_64",
      "commit": "4b5126ddada86f551746add0704473cf9a7109bb",
      "fileid": "42c684d057a10e807c4940cef7df18f25b79a94554b746732983c748ce270831",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonasmoss/actions/runs/27010423211"
    }
  ]
}