{
  "_id": "6a198cccacfb0bcc41dfbedd",
  "Package": "RSGHB",
  "Version": "1.2.2",
  "Date": "2019-07-03",
  "Title": "Functions for Hierarchical Bayesian Estimation: A Flexible\nApproach",
  "Authors@R": "c(person(\"Jeff\", \"Dumont\", role = c(\"aut\", \"cre\"), email = \"Jeff.Dumont@rsginc.com\"),\nperson(\"Jeff\", \"Keller\", role = \"aut\", email = \"Jeff.Keller@rsginc.com\"),\nperson(\"Chase\", \"Carpenter\", role = \"ctb\", email = \"Chase.Carpenter@rsginc.com\"))",
  "Description": "Functions for estimating models using a Hierarchical\nBayesian (HB) framework. The flexibility comes in allowing the\nuser to specify the likelihood function directly instead of\nassuming predetermined model structures. Types of models that\ncan be estimated with this code include the family of discrete\nchoice models (Multinomial Logit, Mixed Logit, Nested Logit,\nError Components Logit and Latent Class) as well ordered\nresponse models like ordered probit and ordered logit. In\naddition, the package allows for flexibility in specifying\nparameters as either fixed (non-varying across individuals) or\nrandom with continuous distributions. Parameter distributions\nsupported include normal, positive/negative log-normal,\npositive/negative censored normal, and the Johnson SB\ndistribution. Kenneth Train's Matlab and Gauss code for doing\nHierarchical Bayesian estimation has served as the basis for a\nfew of the functions included in this package. These\nMatlab/Gauss functions have been rewritten to be optimized\nwithin R. Considerable code has been added to increase the\nflexibility and usability of the code base. Train's original\nGauss and Matlab code can be found here:\n<http://elsa.berkeley.edu/Software/abstracts/train1006mxlhb.html>\nSee Train's chapter on HB in Discrete Choice with Simulation\nhere: <http://elsa.berkeley.edu/books/choice2.html>; and his\npaper on using HB with non-normal distributions here:\n<http://eml.berkeley.edu//~train/trainsonnier.pdf>. The authors\nwould also like to thank the invaluable contributions of\nStephane Hess and the Choice Modelling Centre:\n<https://cmc.leeds.ac.uk/>.",
  "URL": "https://github.com/RSGInc/RSGHB",
  "License": "GPL-3",
  "Copyright": "Resource Systems Group, Inc. 2019",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 12:50:17 UTC",
    "User": "root"
  },
  "Author": "Jeff Dumont [aut, cre], Jeff Keller [aut], Chase Carpenter\n[ctb]",
  "Maintainer": "Jeff Dumont <Jeff.Dumont@rsginc.com>",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-05-29 06:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/RSGHB",
  "RemoteSha": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
  "RemoteSubdir": "RSGHB",
  "MD5sum": "1c3e414bd8e6b70662b14ee71c67ecd8",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "RSGHB_1.2.2.tar.gz",
  "_fileid": "a41cf660728f5c54822d6b206182321eac4a6b4cdce2358b85aa77d7501baad4",
  "_filesize": 308512,
  "_sha256": "a41cf660728f5c54822d6b206182321eac4a6b4cdce2358b85aa77d7501baad4",
  "_created": "2026-05-29T12:50:17.000Z",
  "_published": "2026-05-29T12:55:40.123Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78503969200,
      "time": 137,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291095844"
    },
    {
      "job": 78503969201,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291092304"
    },
    {
      "job": 78503969166,
      "time": 133,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291094642"
    },
    {
      "job": 78503969196,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291093647"
    },
    {
      "job": 78503969232,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291084221"
    },
    {
      "job": 78503969227,
      "time": 282,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291144538"
    },
    {
      "job": 78503969225,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291103645"
    },
    {
      "job": 78503969258,
      "time": 244,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291133008"
    },
    {
      "job": 78503579912,
      "time": 145,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291050342"
    },
    {
      "job": 78503969144,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291080405"
    },
    {
      "job": 78503969169,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291088145"
    },
    {
      "job": 78503969179,
      "time": 126,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291094998"
    },
    {
      "job": 78503969175,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291085608"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add RSGHB to CRANhaven, because archived on 2026-05-29 06:02:00 +0000\n",
    "time": 1780034520
  },
  "_maintainer": {
    "name": "Jeff Dumont",
    "email": "jeff.dumont@rsginc.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "MCMCpack",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 1346,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RSGHB"
  },
  "_devurl": "https://github.com/rsginc/rsghb",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/RSGHB.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rsginc/rsghb",
  "_realowner": "rsginc",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2013-02-14"
    },
    {
      "version": "1.0.1",
      "date": "2013-04-10"
    },
    {
      "version": "1.0.2",
      "date": "2014-05-30"
    },
    {
      "version": "1.1.0",
      "date": "2015-06-08"
    },
    {
      "version": "1.1.1",
      "date": "2015-07-16"
    },
    {
      "version": "1.1.2",
      "date": "2015-12-16"
    },
    {
      "version": "1.2.0",
      "date": "2018-10-17"
    },
    {
      "version": "1.2.1",
      "date": "2019-01-07"
    },
    {
      "version": "1.2.2",
      "date": "2019-07-03"
    }
  ],
  "_exports": [
    "doHB",
    "writeModel"
  ],
  "_datasets": [
    {
      "name": "choicedata",
      "title": "A synthetic discrete choice dataset",
      "object": "choicedata",
      "file": "choicedata.txt.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "thecount",
        "tt1",
        "tt2",
        "toll2",
        "asc1",
        "Choice"
      ],
      "rows": 10242,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "choicedata",
      "title": "A synthetic discrete choice dataset",
      "topics": [
        "choicedata"
      ]
    },
    {
      "page": "doHB",
      "title": "Estimate a Hierarchical Bayesian Model",
      "topics": [
        "doHB"
      ]
    },
    {
      "page": "plot",
      "title": "Plot RSGHB Model Object Components",
      "topics": [
        "plot",
        "plot.RSGHB"
      ]
    },
    {
      "page": "writeModel",
      "title": "Write an RSGHB Model Object as Series of CSVs",
      "topics": [
        "writeModel"
      ]
    }
  ],
  "_rundeps": [
    "coda",
    "lattice",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "quantreg",
    "SparseM",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "RSGHB_HowTo.Rnw",
      "filename": "RSGHB_HowTo.pdf",
      "title": "How to use RSGHB",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2026-05-29 06:02:00",
      "modified": "2026-05-29 06:02:00",
      "commits": 1
    }
  ],
  "_score": 2.828015064223977,
  "_indexed": false,
  "_nocasepkg": "rsghb",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://rsginc.r-universe.dev/RSGHB",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-29T12:52:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "73c763c642764ca5247d891b381162982f2a3abd0dbd1671fb3b84393023a25c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-29T12:52:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "107d9ca3f0b791f71dbca4c4aaaa188a40ba27f795541b696730a1720e465373",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-29T12:52:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "2c3e1d84b08c3b3ca9ec8ed4bbdba84568c3cb4d876b8962fa95a01e8827fa70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-05-29T12:52:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "81512e7f224831ffb453d881f5e8738213a6876f9adfedb501f3305f092912f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-29T12:51:53.000Z",
      "arch": "aarch64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "d9800a8aa0990903b5092915f3d45aa6e16175c7140265a66c2a7fd2720a9702",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-29T12:54:14.000Z",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "2075a3c401a113db80785e9cef20a580269a4dcf83c1b8ffa80eb512559fc255",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-29T12:52:29.000Z",
      "arch": "aarch64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "941c666953620bf4937ad50e9224cb0a7094d5f3a8bf8fd766d5cdcf662f3e99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-05-29T12:53:48.000Z",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "866c6e9bedc24c1b33533733405e50aae45416b59e13bce9a5eef52e78e0f661",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-05-29T12:52:05.000Z",
      "arch": "emscripten",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "b3bc76bfae10a66ed390fcc5be54c75983622d66504e9e2d004114615aad6eb7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-29T12:51:40.000Z",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "9b9dbd04cbc5607ad97a5f4994a1809e9ce3a19ce42ac3f9dd0162f30643052c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-29T12:51:55.000Z",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "bbcc6b881b30ebdfe1f796dfaa7383de5bfe3ff43d7389181b029fe36da75bef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-05-29T12:51:38.000Z",
      "arch": "x86_64",
      "commit": "56d8c331749b8e2a78d2a6928f2e0e3685ad8c99",
      "fileid": "9495ace6d3674037431f30a1847e553045fca5b8371190f546d79e8ff03f0c1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26638123171"
    }
  ]
}