{
  "_id": "6a215ea6cd65a98ecbd2fde8",
  "Package": "bgw",
  "Type": "Package",
  "Title": "Bunch-Gay-Welsch Statistical Estimation",
  "Version": "0.1.4",
  "Authors@R": "c(\nperson(\"David S.\", \"Bunch\", email=\"dsbunch@ucdavis.edu\", role=c(\"aut\",\"cre\"),\ncomment=c(ORCID=\"0000-0001-8728-7072\")),\nperson(\"David M.\", \"Gay\", email=\"dmg@acm.org\", role=c(\"ctb\")),\nperson(\"Roy E.\", \"Welsch\", email=\"rwelsch@mit.edu\", role=c(\"ctb\")),\nperson(\"Stephane\", \"Hess\", email=\"S.Hess@leeds.ac.uk\", role=\"ctb\"),\nperson(\"David\", \"Palma\", email=\"D.Palma@leeds.ac.uk\", role=\"ctb\"))",
  "Maintainer": "David S. Bunch <dsbunch@ucdavis.edu>",
  "Description": "Performs statistical estimation and inference-related\ncomputations by accessing and executing modified versions of\n'Fortran' subroutines originally published in the Association\nfor Computing Machinery (ACM) journal Transactions on\nMathematical Software (TOMS) by Bunch, Gay and Welsch (1993)\n<doi:10.1145/151271.151279>. The acronym 'BGW' (from the\nauthors' last names) will be used when making reference to\ntechnical content (e.g., algorithm, methodology) that\noriginally appeared in ACM TOMS. A key feature of BGW is that\nit exploits the special structure of statistical estimation\nproblems within a trust-region-based optimization approach to\nproduce an estimation algorithm that is much more effective\nthan the usual practice of using optimization methods and codes\noriginally developed for general optimization. The 'bgw'\npackage bundles 'R' wrapper (and related) functions with\nmodified 'Fortran' source code so that it can be compiled and\nlinked in the 'R' environment for fast execution. This version\nimplements a function ('bgw_mle.R') that performs maximum\nlikelihood estimation (MLE) for a user-provided model object\nthat computes probabilities (a.k.a. probability densities). The\noriginal motivation for producing this package was to provide\nfast, efficient, and reliable MLE for discrete choice models\nthat can be called from the 'Apollo' choice modelling 'R'\npackage ( see <https://www.apollochoicemodelling.com>).\nStarting with the release of Apollo 3.0, BGW is the default\nestimation package. However, estimation can also be performed\nusing BGW in a stand-alone fashion without using 'Apollo' (as\nshown in simple examples included in the package). Note also\nthat BGW capabilities are not limited to MLE, and future\nextension to other estimators (e.g., nonlinear least squares,\ngeneralized method of moments, etc.) is possible. The 'Fortran'\ncode included in 'bgw' was modified by one of the original BGW\nauthors (Bunch) under his rights as confirmed by direct\nconsultation with the ACM Intellectual Property and Rights\nManager.  See\n<https://authors.acm.org/author-resources/author-rights>. The\nmain requirement is clear citation of the original publication\n(see above).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Author": "David S. Bunch [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8728-7072>), David M. Gay [ctb],\nRoy E. Welsch [ctb], Stephane Hess [ctb], David Palma [ctb]",
  "Config/testthat/edition": "3",
  "Packaged": {
    "Date": "2026-06-04 11:13:48 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-02-04 06:40:39 UTC",
  "RemoteUrl": "https://github.com/cran/bgw",
  "RemoteRef": "HEAD",
  "RemoteSha": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
  "MD5sum": "0837ac296d3b74c51bdf24372f77a49e",
  "_user": "cran",
  "_type": "src",
  "_file": "bgw_0.1.4.tar.gz",
  "_fileid": "364c2b5af5dcf74107f1b5993b682a618819ee0f2822d299aad407a45e7ca6e6",
  "_filesize": 213252,
  "_sha256": "364c2b5af5dcf74107f1b5993b682a618819ee0f2822d299aad407a45e7ca6e6",
  "_created": "2026-06-04T11:13:48.000Z",
  "_published": "2026-06-04T11:16:54.338Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79506629042,
      "time": 116,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7410006734"
    },
    {
      "job": 79506629026,
      "time": 104,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7410001681"
    },
    {
      "job": 79506629031,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410014202"
    },
    {
      "job": 79506629033,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410006604"
    },
    {
      "job": 79506188659,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409966184"
    },
    {
      "job": 79506628970,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409996266"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26948129582",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bgw",
  "_commit": {
    "id": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
    "author": "David S. Bunch <dsbunch@ucdavis.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.4\n",
    "time": 1770187239
  },
  "_maintainer": {
    "name": "David S. Bunch",
    "email": "dsbunch@ucdavis.edu",
    "orcid": "0000-0001-8728-7072"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-06",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.4",
      "date": "2026-02-04"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 2214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bgw"
  },
  "_searchresults": 4,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bgw.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-12-22"
    },
    {
      "version": "0.1.1",
      "date": "2023-04-06"
    },
    {
      "version": "0.1.2",
      "date": "2023-07-13"
    },
    {
      "version": "0.1.3",
      "date": "2024-03-29"
    },
    {
      "version": "0.1.4",
      "date": "2026-02-04"
    }
  ],
  "_exports": [
    "bgw_checkSetting",
    "bgw_drglg",
    "bgw_itsum",
    "bgw_mle",
    "bgw_mle_setup",
    "bgw_writeIterations",
    "divset_c",
    "drglg_c"
  ],
  "_help": [
    {
      "page": "bgw_checkSetting",
      "title": "bgw_checkSetting",
      "topics": [
        "bgw_checkSetting"
      ]
    },
    {
      "page": "bgw_drglg",
      "title": "bgw_drglg",
      "topics": [
        "bgw_drglg"
      ]
    },
    {
      "page": "bgw_itsum",
      "title": "bgw_itsum",
      "topics": [
        "bgw_itsum"
      ]
    },
    {
      "page": "bgw_mle",
      "title": "bgw_mle",
      "topics": [
        "bgw_mle"
      ]
    },
    {
      "page": "bgw_mle_setup",
      "title": "bgw_mle_setup",
      "topics": [
        "bgw_mle_setup"
      ]
    },
    {
      "page": "bgw_writeIterations",
      "title": "Writes the vector [beta,ll] to a file called 'modelname_iterations.csv' # Was created using apollo_writeTheta as a starting point... Because this is an internal function, the inputs will be assumed to be clean.",
      "topics": [
        "bgw_writeIterations"
      ]
    }
  ],
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_vignettes": [
    {
      "source": "bgw-vignette.Rmd",
      "filename": "bgw-vignette.html",
      "title": "bgw-vignette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package introduction",
        "BGW and Apollo",
        "Technical references",
        "Simple MNL model example",
        "BGW output",
        "BGW stopping conditions",
        "Final solution",
        "BGW settings",
        "References"
      ],
      "created": "2022-12-22 19:00:08",
      "modified": "2022-12-22 19:00:08",
      "commits": 1
    }
  ],
  "_score": 3.123328866926348,
  "_indexed": true,
  "_nocasepkg": "bgw",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-04T11:15:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
      "fileid": "1a898bc7d71bc63fc818fb49e044699d735ccfc705cfc12031c17daef8362b1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948129582"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-04T11:15:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
      "fileid": "5aa785ccaa5c02d096b6f1888d3962cf5232a7cf17bca8684b89a55a9e083ea0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948129582"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-04T11:16:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
      "fileid": "cec8c468a60ae69f4a15e8fcfcac0be0f85bcbb36da23ad066c730eaee60e56e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948129582"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-04T11:15:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
      "fileid": "d76de35163a977a996b91fdbaf70f307e1d0cdf75931c571bbe26b969d560086",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948129582"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-06-04T11:15:36.000Z",
      "arch": "emscripten",
      "commit": "436a85eb7fc31fb49a5f4fbe5e489ff33bddba6f",
      "fileid": "73a4ed07a2c4ab0e20f64f3ebdd1cbe5e7a8a8f3c604ddfb21a5d468206411b0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948129582"
    }
  ]
}