{
  "_id": "6ac63404f511ae58c09a7af9",
  "Package": "pumBayes",
  "Type": "Package",
  "Title": "Bayesian Estimation of Probit Unfolding Models for Binary\nPreference Data",
  "Version": "1.0.2",
  "Authors@R": "c(person(\"Skylar\", \"Shi\", role = c(\"aut\", \"cre\"), \nemail = \"dshi98@uw.edu\",\ncomment = c(ORCID = \"0009-0001-2818-0299\")),\nperson(\"Abel\", \"Rodriguez\", role = \"aut\",\nemail = \"abelr@uw.edu\",\ncomment = c(ORCID = \"0000-0001-5503-7394\")),\nperson(\"Rayleigh\", \"Lei\", role = \"aut\",\nemail = \"rayleigh@umich.edu\",\ncomment = c(ORCID = \"0000-0002-0444-9708\")),\nperson(\"Jonathan\", \"Olmsted\", role = \"cph\"))",
  "Maintainer": "Skylar Shi <dshi98@uw.edu>",
  "Description": "Bayesian estimation and analysis methods for Probit\nUnfolding Models (PUMs), a novel class of scaling models\ndesigned for binary preference data. These models allow for\nboth monotonic and non-monotonic response functions. The\npackage supports Bayesian inference for both static and dynamic\nPUMs using Markov chain Monte Carlo (MCMC) algorithms with\nminimal or no tuning. Key functionalities include posterior\nsampling, hyperparameter selection, data preprocessing, model\nfit evaluation, and visualization. The methods are particularly\nsuited to analyzing voting data, such as from the U.S. Congress\nor Supreme Court, but can also be applied in other contexts\nwhere non-monotonic responses are expected. For methodological\ndetails, see Shi et al. (2025) <doi:10.48550/arXiv.2504.00423>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/SkylarShiHub/pumBayes",
  "BugReports": "https://github.com/SkylarShiHub/pumBayes/issues",
  "Language": "en",
  "NeedsCompilation": "yes",
  "Repository": "https://skylarshihub.r-universe.dev",
  "Date/Publication": "2026-02-09 06:19:43 UTC",
  "RemoteUrl": "https://github.com/skylarshihub/pumbayes",
  "RemoteRef": "HEAD",
  "RemoteSha": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
  "Packaged": {
    "Date": "2026-10-07 09:39:37 UTC",
    "User": "root"
  },
  "Author": "Skylar Shi [aut, cre] (ORCID: <https://orcid.org/0009-0001-2818-0299>),\nAbel Rodriguez [aut] (ORCID: <https://orcid.org/0000-0001-5503-7394>),\nRayleigh Lei [aut] (ORCID: <https://orcid.org/0000-0002-0444-9708>),\nJonathan Olmsted [cph]",
  "_user": "skylarshihub",
  "_type": "src",
  "_file": "pumBayes_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/45fd67b9617ba41734163761f0db01dc298deea71c3a83b3cc45bb44ab4eb88f",
  "_filesize": 263595,
  "_sha256": "45fd67b9617ba41734163761f0db01dc298deea71c3a83b3cc45bb44ab4eb88f",
  "_expires": "2027-01-15T11:58:58.000Z",
  "_created": "2026-10-07T09:39:37.000Z",
  "_published": "2026-10-07T11:59:00.700Z",
  "_buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112729037498,
      "time": 108,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11473093520"
    },
    {
      "job": 112729037584,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11473382643"
    },
    {
      "job": 112729037499,
      "time": 106,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11472784466"
    },
    {
      "job": 112729037640,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11473172957"
    },
    {
      "job": 112729037742,
      "time": 192,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11480627151"
    },
    {
      "job": 112729037654,
      "time": 343,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11479867753"
    },
    {
      "job": 112729037545,
      "time": 167,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11480037510"
    },
    {
      "job": 112729037756,
      "time": 274,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11480807107"
    },
    {
      "job": 112727211150,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11473062278"
    },
    {
      "job": 112729037431,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11473122838"
    },
    {
      "job": 112729037552,
      "time": 342,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11473203930"
    },
    {
      "job": 112729037629,
      "time": 156,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11473152982"
    },
    {
      "job": 112729037595,
      "time": 123,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11473252952"
    },
    {
      "job": 112729037671,
      "time": 377,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11472874912"
    },
    {
      "job": 112729037736,
      "time": 111,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11472953444"
    }
  ],
  "_upstream": "https://github.com/skylarshihub/pumbayes",
  "_commit": {
    "id": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
    "author": "Skylar Shi <dshi98@uw.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1770617983
  },
  "_maintainer": {
    "name": "Skylar Shi",
    "email": "dshi98@uw.edu",
    "login": "skylarshihub",
    "description": "",
    "uuid": 178144941,
    "orcid": "0009-0001-2818-0299"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppDist",
      "role": "LinkingTo"
    },
    {
      "package": "mvtnorm",
      "role": "LinkingTo"
    },
    {
      "package": "RcppTN",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pscl",
      "role": "Suggests"
    },
    {
      "package": "MCMCpack",
      "role": "Suggests"
    }
  ],
  "_owner": "skylarshihub",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2026-02-09"
    }
  ],
  "_stars": 113,
  "_contributors": [
    {
      "user": "skylarshihub",
      "count": 59,
      "uuid": 178144941
    }
  ],
  "_userbio": {
    "uuid": 178144941,
    "type": "user",
    "name": "Skylar Shi",
    "followers": 8
  },
  "_downloads": {
    "count": 244,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pumBayes"
  },
  "_devurl": "https://github.com/skylarshihub/pumbayes",
  "_searchresults": 1,
  "_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/pumBayes.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/skylarshihub/pumbayes",
  "_realowner": "skylarshihub",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-05-30"
    },
    {
      "version": "1.0.1",
      "date": "2025-10-23"
    },
    {
      "version": "1.0.2",
      "date": "2026-02-09"
    }
  ],
  "_exports": [
    "calc_waic",
    "dtnorm",
    "item_char",
    "post_rank",
    "predict_ideal",
    "predict_irt",
    "predict_pum",
    "preprocess_rollcall",
    "sample_pum_dynamic",
    "sample_pum_static",
    "tune_hyper"
  ],
  "_datasets": [
    {
      "name": "h116",
      "title": "116th U.S. House of Representatives Roll Call Votes",
      "object": "h116",
      "file": "h116.rda",
      "class": [
        "rollcall"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "mqTime",
      "title": "U.S. Supreme Court Voting Data (1937-2021)",
      "object": "scotus.1937.2021",
      "file": "scotus.1937.2021.rda",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "mqVotes",
      "title": "U.S. Supreme Court Voting Data (1937-2021)",
      "object": "scotus.1937.2021",
      "file": "scotus.1937.2021.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 48,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calc_waic",
      "title": "Calculate a block version of Watanabe-Akaike Information Criterion (WAIC)",
      "topics": [
        "calc_waic"
      ]
    },
    {
      "page": "dtnorm",
      "title": "Density Function for Truncated Normal Distribution",
      "topics": [
        "dtnorm"
      ]
    },
    {
      "page": "h116",
      "title": "116th U.S. House of Representatives Roll Call Votes",
      "topics": [
        "h116"
      ]
    },
    {
      "page": "item_char",
      "title": "Generate Data for Item Characteristic Curves",
      "topics": [
        "item_char"
      ]
    },
    {
      "page": "post_rank",
      "title": "Generate Quantile Ranks for Legislators",
      "topics": [
        "post_rank"
      ]
    },
    {
      "page": "predict_ideal",
      "title": "Calculate Probabilities for the IDEAL Model",
      "topics": [
        "predict_ideal"
      ]
    },
    {
      "page": "predict_irt",
      "title": "Calculate Probabilities for Dynamic Item Response Theory Model",
      "topics": [
        "predict_irt"
      ]
    },
    {
      "page": "predict_pum",
      "title": "Calculate Probabilities for Probit Unfolding Models",
      "topics": [
        "predict_pum"
      ]
    },
    {
      "page": "preprocess_rollcall",
      "title": "Preprocess Roll Call Data",
      "topics": [
        "preprocess_rollcall"
      ]
    },
    {
      "page": "sample_pum_dynamic",
      "title": "Generate posterior samples from the dynamic probit unfolding model",
      "topics": [
        "sample_pum_dynamic"
      ]
    },
    {
      "page": "sample_pum_static",
      "title": "Generate posterior samples from the static probit unfolding model",
      "topics": [
        "sample_pum_static"
      ]
    },
    {
      "page": "scotus.1937.2021",
      "title": "U.S. Supreme Court Voting Data (1937-2021)",
      "topics": [
        "mqTime",
        "mqVotes",
        "scotus.1937.2021"
      ]
    },
    {
      "page": "tune_hyper",
      "title": "Generate Probability Samples for Voting \"Yes\"",
      "topics": [
        "tune_hyper"
      ]
    }
  ],
  "_readme": "https://github.com/skylarshihub/pumbayes/raw/HEAD/README.md",
  "_rundeps": [
    "mvtnorm",
    "Rcpp",
    "RcppArmadillo",
    "RcppDist",
    "RcppTN"
  ],
  "_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": 5.05307844348342,
  "_indexed": true,
  "_nocasepkg": "pumbayes",
  "_universes": [
    "skylarshihub"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-07T09:41:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/16ace21cf6fcccc6923d764ba2b9479a41b73da95bdb368b0261bf2959012976",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-07T09:43:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/263baf8aa57bad14bcb884c481d171de64c36900ed958f289d7f01a4d92dd1c4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-07T09:41:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/7a6563eba5925bd0c9eb6b15b46e52f3c3a400f5633727c64e1646c4ed7ccc1c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-07T09:44:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/48a6638bbc3e46255b1184b04c32a6b30c93b4fa39de0a42319975d7e53b592a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-07T11:57:24.000Z",
      "arch": "aarch64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/5fe79b8357b9982d9b20f3ff893c90ae147e989bcc954e26f76d0ebb38214601",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-07T11:55:37.000Z",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/072b5c5b44f94edf191d21a18b8ca30f36f9812171e51b4f463a39787de9b0c7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-07T11:54:51.000Z",
      "arch": "aarch64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/7c0c952bd3350e9c8df9612b72102afaa400b0231267238defc5ff397c36ec15",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-07T11:57:21.000Z",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/bce498105506e23d8a48c6a2744be266ce6cf32172efa7e788e85821a9cf9b16",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-07T09:43:54.000Z",
      "arch": "emscripten",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/bcf604d36aef366b4455568a229f086afd23b3b122a018866bafab6fc708f9b5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-07T09:45:03.000Z",
      "arch": "aarch64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/ec0bdbe70f27dfcbadc184cce47a1edb8b32d9837a315468f88541a9d9a8a5fb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-07T09:43:21.000Z",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/2fdcd000881fbb6c06b2a878617ee47832b8433bab7346e5abdb8ec93ca39814",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-07T09:43:59.000Z",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/971adef1bbb60be91dd9cb00cfd7f3e2ad54d561bdd0fdf543c6dd18f6d80b42",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-07T09:46:00.000Z",
      "arch": "aarch64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/b2a45aa621c20e314f22889d59f16dc1f2aa8b7a85744c3b8b9ccdc60541e6dc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-07T09:43:45.000Z",
      "arch": "x86_64",
      "commit": "9399409a5a250a4c7d5396545aa3b10fb49d1f55",
      "fileid": "https://r2.ropensci.org/c6a646c0512326b4bb44a12e86428e8c6307dc6b75bcd685afe74dcdbdf51fa6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/skylarshihub/actions/runs/37601041064"
    }
  ]
}