{
  "_id": "6a22ac9f0ef520ea2f58cc5a",
  "Package": "RSGHB",
  "Version": "1.2.2",
  "Date": "2019-07-05",
  "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",
  "Repository": "https://rsginc.r-universe.dev",
  "Date/Publication": "2019-07-03 20:46:11 UTC",
  "RemoteUrl": "https://github.com/rsginc/rsghb",
  "RemoteRef": "HEAD",
  "RemoteSha": "f86d1229d0af756199233e377bf7a61ba5929df0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 10:54:13 UTC",
    "User": "root"
  },
  "Author": "Jeff Dumont [aut, cre],\nJeff Keller [aut],\nChase Carpenter [ctb]",
  "Maintainer": "Jeff Dumont <Jeff.Dumont@rsginc.com>",
  "MD5sum": "5ceb1cc4e67e6965ee4ef206cccf6e08",
  "_user": "rsginc",
  "_type": "src",
  "_file": "RSGHB_1.2.2.tar.gz",
  "_fileid": "7462b0489b2d763e3bfdbf430f40e4a1e040431c8d9465337969c34ef1cfdcb1",
  "_filesize": 306497,
  "_sha256": "7462b0489b2d763e3bfdbf430f40e4a1e040431c8d9465337969c34ef1cfdcb1",
  "_created": "2026-06-05T10:54:13.000Z",
  "_published": "2026-06-05T11:01:51.960Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79713564729,
      "time": 124,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434884392"
    },
    {
      "job": 79713564733,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434882547"
    },
    {
      "job": 79713564788,
      "time": 110,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434880503"
    },
    {
      "job": 79713564713,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434880847"
    },
    {
      "job": 79713564719,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434896978"
    },
    {
      "job": 79713564714,
      "time": 188,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434918318"
    },
    {
      "job": 79713564746,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434892952"
    },
    {
      "job": 79713564710,
      "time": 271,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434942134"
    },
    {
      "job": 79713149013,
      "time": 174,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434847199"
    },
    {
      "job": 79713564730,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434875858"
    },
    {
      "job": 79713564732,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434876446"
    },
    {
      "job": 79713564711,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434877611"
    },
    {
      "job": 79713564736,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434875610"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rsginc/rsghb",
  "_commit": {
    "id": "f86d1229d0af756199233e377bf7a61ba5929df0",
    "author": "jeffdumont <jeff.dumont@rsginc.com>",
    "committer": "jeffdumont <jeff.dumont@rsginc.com>",
    "message": "Addressing slow down issues with CMC likelihood storage\n",
    "time": 1562186771
  },
  "_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": "rsginc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 25,
  "_contributors": [
    {
      "user": "chasec",
      "count": 1,
      "uuid": 346421
    }
  ],
  "_userbio": {
    "uuid": 1839125,
    "type": "organization",
    "name": "RSG, Inc."
  },
  "_downloads": {
    "count": 1030,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RSGHB"
  },
  "_devurl": "https://github.com/rsginc/rsghb",
  "_searchresults": 28,
  "_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": true,
  "_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": "2013-04-10 00:10:24",
      "modified": "2018-10-13 17:29:36",
      "commits": 9
    }
  ],
  "_score": 4.857935264719429,
  "_indexed": true,
  "_nocasepkg": "rsghb",
  "_universes": [
    "rsginc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-05T10:56:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "1dd83b8c91e31e85f1fd603c299e0f2890f6c88e738f06ac57f17e2646eac2aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-05T10:56:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "90b82e492d914076bd6a6abbca7a6642ec150a60f1d6b06adbea0b315d4b1338",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-05T10:56:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "21e29867c6657e17baa92a4b6b06ec3f66b16c4204e20411cbe975a5abf9ddfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-05T10:55:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "028d10822b40779710d59806abc5505eaf7cf21b5b16db1eebae3576755250af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-06-05T10:56:52.000Z",
      "arch": "aarch64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "6d65d72ed9fa043c845b6d9c5c881399cdaa03db30be1bd728010ff29c1bdd6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-06-05T10:57:57.000Z",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "5de1f0038a44a86ac70436d52b601a1c9055334aec9e3b287436ec9e57b6e31f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-06-05T10:56:47.000Z",
      "arch": "aarch64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "f0b88b21f35c7a17e9f282cf20c0dbc87434296121c932a2e4a5889886fea1b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-06-05T10:59:03.000Z",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "6fe28977bfa7967b93cc980ac4757206dab72fc2ecc9d52c7beb3df3b3169e48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-06-05T10:56:10.000Z",
      "arch": "emscripten",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "9c4933d5b18910349ab759ee12b106d76d7b547aa716024998f6d00bea57f321",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-06-05T10:55:26.000Z",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "9744cb561914c41f8b41cedeb808e545c71a50eb9fbd74ceab6d959074f1848c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-06-05T10:55:32.000Z",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "46ed0cf8094833a1bd67df177d0be05f21938a0583343da9f91189ba87dc0acb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-06-05T10:55:32.000Z",
      "arch": "x86_64",
      "commit": "f86d1229d0af756199233e377bf7a61ba5929df0",
      "fileid": "655b380c0701aad1f8698aa6c66ba8047dfab7a7b7a45a90eedc2978e6e6aa9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rsginc/actions/runs/27010645842"
    }
  ]
}