{
  "_id": "6a101b39acfb0bcc41c86f6e",
  "Package": "BLPestimatoR",
  "Type": "Package",
  "Title": "Performs a BLP Demand Estimation",
  "Version": "0.3.4",
  "Author": "Daniel Brunner (aut), Constantin Weiser (ctr), Andre Romahn\n(ctr)",
  "Maintainer": "Daniel Brunner <daniel.brunner@hhu.de>",
  "Description": "Provides the estimation algorithm to perform the demand\nestimation described in Berry, Levinsohn and Pakes (1995)\n<DOI:10.2307/2171802> . The routine uses analytic gradients and\noffers a large number of implemented integration methods and\noptimization routines.",
  "License": "GPL-3",
  "LazyData": "TRUE",
  "RoxygenNote": "7.2.2",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-05-14 09:10:30 UTC",
    "User": "root"
  },
  "Repository": "https://danielbr2.r-universe.dev",
  "Date/Publication": "2022-12-03 14:52:31 UTC",
  "RemoteUrl": "https://github.com/cran/BLPestimatoR",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
  "MD5sum": "1ad0ddad74a09308757fd340911e4f83",
  "_user": "danielbr2",
  "_type": "src",
  "_file": "BLPestimatoR_0.3.4.tar.gz",
  "_fileid": "e74db3c45286cf8b813b6f0502f6904f7044d4722dd2ef8795d3be558d76e8e9",
  "_filesize": 764151,
  "_sha256": "e74db3c45286cf8b813b6f0502f6904f7044d4722dd2ef8795d3be558d76e8e9",
  "_created": "2026-05-14T09:10:30.000Z",
  "_published": "2026-05-22T09:00:41.557Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77348465726,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991068162"
    },
    {
      "job": 77348465821,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991072698"
    },
    {
      "job": 77348466053,
      "time": 134,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991066383"
    },
    {
      "job": 77348465619,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991069750"
    },
    {
      "job": 77348465774,
      "time": 229,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991073297"
    },
    {
      "job": 77348465563,
      "time": 311,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991109802"
    },
    {
      "job": 77348465801,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991078560"
    },
    {
      "job": 77348465830,
      "time": 393,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991123066"
    },
    {
      "job": 77348465120,
      "time": 336,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991025916"
    },
    {
      "job": 77348465024,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156728842"
    },
    {
      "job": 77348465697,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6991080513"
    },
    {
      "job": 77348465712,
      "time": 168,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6991076185"
    },
    {
      "job": 77348465728,
      "time": 135,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6991066628"
    }
  ],
  "_buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BLPestimatoR",
  "_commit": {
    "id": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
    "author": "Daniel Brunner <daniel.brunner@hhu.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.4\n",
    "time": 1670079151
  },
  "_maintainer": {
    "name": "Daniel Brunner",
    "email": "daniel.brunner@hhu.de",
    "login": "danielbr2",
    "uuid": 23236830
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "mvQuad",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "randtoolbox",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "danielbr2",
      "count": 10,
      "uuid": 23236830
    }
  ],
  "_userbio": {
    "uuid": 23236830,
    "type": "user",
    "name": "danielbr2"
  },
  "_downloads": {
    "count": 341,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BLPestimatoR"
  },
  "_searchresults": 26,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BLPestimatoR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "danielbr2",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2017-03-16"
    },
    {
      "version": "0.1.4",
      "date": "2017-05-05"
    },
    {
      "version": "0.1.5",
      "date": "2017-08-13"
    },
    {
      "version": "0.2.3",
      "date": "2018-08-16"
    },
    {
      "version": "0.2.4",
      "date": "2018-08-17"
    },
    {
      "version": "0.2.5",
      "date": "2018-09-15"
    },
    {
      "version": "0.2.9",
      "date": "2019-05-14"
    },
    {
      "version": "0.3.0",
      "date": "2019-10-18"
    },
    {
      "version": "0.3.2",
      "date": "2019-12-11"
    },
    {
      "version": "0.3.4",
      "date": "2022-12-03"
    }
  ],
  "_exports": [
    "BLP_data",
    "dstddelta_wrap",
    "dstdtheta_wrap",
    "estimateBLP",
    "get_elasticities",
    "getDelta_wrap",
    "getJacobian_wrap",
    "getShareInfo",
    "gmm_obj_wrap",
    "simulate_BLP_dataset",
    "update_BLP_data"
  ],
  "_datasets": [
    {
      "name": "demographicData_cereal",
      "title": "Draws for observed heterogeneity in Nevo's cereal example.",
      "object": "demographicData_cereal",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "dummies_cars",
      "title": "Ownership matrix in BLP's car example.",
      "object": "dummies_cars",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 2217,
      "table": true,
      "tojson": true
    },
    {
      "name": "originalDraws_cereal",
      "title": "Draws for unobserved heterogeneity in Nevo's cereal example.",
      "object": "originalDraws_cereal",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "productData_cars",
      "title": "Product data of BLP's car example.",
      "object": "productData_cars",
      "class": [
        "data.frame"
      ],
      "fields": [
        "firmid",
        "cdid",
        "id",
        "const",
        "price",
        "hpwt",
        "air",
        "mpg",
        "space",
        "share"
      ],
      "rows": 2217,
      "table": true,
      "tojson": true
    },
    {
      "name": "productData_cereal",
      "title": "Product data of Nevo's cereal example.",
      "object": "productData_cereal",
      "class": [
        "data.frame"
      ],
      "fields": [
        "price",
        "const",
        "sugar",
        "mushy",
        "share",
        "cdid",
        "IV1",
        "IV2",
        "IV3",
        "IV4",
        "IV5",
        "IV6",
        "IV7",
        "IV8",
        "IV9",
        "IV10",
        "IV11",
        "IV12",
        "IV13",
        "IV14",
        "IV15",
        "IV16",
        "IV17",
        "IV18",
        "IV19",
        "IV20",
        "product_id",
        "productdummy"
      ],
      "rows": 2256,
      "table": true,
      "tojson": true
    },
    {
      "name": "theta_guesses_cereal",
      "title": "Parameter starting guesses for Nevo's cereal example.",
      "object": "theta_guesses_cereal",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "w_guesses_cereal",
      "title": "Mean utility starting guesses for Nevo's cereal example.",
      "object": "w_guesses_cereal",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 2256,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BLP_data",
      "title": "Prepares data and parameters related to the BLP algorithm for estimation.",
      "topics": [
        "BLP_data"
      ]
    },
    {
      "page": "demographicData_cereal",
      "title": "Draws for observed heterogeneity in Nevo's cereal example.",
      "topics": [
        "demographicData_cereal"
      ]
    },
    {
      "page": "dstddelta_wrap",
      "title": "Calculates derivatives of all shares with respect to all mean utilities in a given market.",
      "topics": [
        "dstddelta_wrap"
      ]
    },
    {
      "page": "dstdtheta_wrap",
      "title": "Calculates derivatives of all shares with respect to all non-linear parameters in a given market.",
      "topics": [
        "dstdtheta_wrap"
      ]
    },
    {
      "page": "dummies_cars",
      "title": "Ownership matrix in BLP's car example.",
      "topics": [
        "dummies_cars"
      ]
    },
    {
      "page": "estimateBLP",
      "title": "Performs a BLP demand estimation.",
      "topics": [
        "estimateBLP"
      ]
    },
    {
      "page": "get_elasticities",
      "title": "Calculates elasticities for a given variable and market.",
      "topics": [
        "get_elasticities"
      ]
    },
    {
      "page": "getDelta_wrap",
      "title": "Performs a contration mapping for a given set of non-linear parameters.",
      "topics": [
        "getDelta_wrap"
      ]
    },
    {
      "page": "getJacobian_wrap",
      "title": "Calculating the Jacobian for a given set of non-linear parameters and mean utilities.",
      "topics": [
        "getJacobian_wrap"
      ]
    },
    {
      "page": "getShareInfo",
      "title": "Calculates information related to predicted shares for a given set of non-linear parameters and data.",
      "topics": [
        "getShareInfo"
      ]
    },
    {
      "page": "gmm_obj_wrap",
      "title": "Calculating the GMM objective for a given set of non-linear parameters.",
      "topics": [
        "gmm_obj_wrap"
      ]
    },
    {
      "page": "originalDraws_cereal",
      "title": "Draws for unobserved heterogeneity in Nevo's cereal example.",
      "topics": [
        "originalDraws_cereal"
      ]
    },
    {
      "page": "productData_cars",
      "title": "Product data of BLP's car example.",
      "topics": [
        "productData_cars"
      ]
    },
    {
      "page": "productData_cereal",
      "title": "Product data of Nevo's cereal example.",
      "topics": [
        "productData_cereal"
      ]
    },
    {
      "page": "simulate_BLP_dataset",
      "title": "This function creates a simulated BLP dataset.",
      "topics": [
        "simulate_BLP_dataset"
      ]
    },
    {
      "page": "theta_guesses_cereal",
      "title": "Parameter starting guesses for Nevo's cereal example.",
      "topics": [
        "theta_guesses_cereal"
      ]
    },
    {
      "page": "update_BLP_data",
      "title": "Updates the set of linear, exogenous, random coefficient, share or mean utility variable in the data object.",
      "topics": [
        "update_BLP_data"
      ]
    },
    {
      "page": "w_guesses_cereal",
      "title": "Mean utility starting guesses for Nevo's cereal example.",
      "topics": [
        "w_guesses_cereal"
      ]
    }
  ],
  "_rundeps": [
    "data.table",
    "Formula",
    "lattice",
    "Matrix",
    "mvQuad",
    "numDeriv",
    "randtoolbox",
    "Rcpp",
    "RcppArmadillo",
    "rngWELL",
    "statmod"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "blp_intro.Rmd",
      "filename": "blp_intro.html",
      "title": "BLPestimatoR - Package for Demand Estimation",
      "author": "Daniel Brunner",
      "engine": "knitr::knitr",
      "headings": [
        "Intro",
        "Data",
        "Model",
        "Dataframe",
        "Integration Draws",
        "Calling BLP_data",
        "Estimation",
        "Starting guesses",
        "Calling estimateBLP",
        "Postestimation",
        "Standard Errors",
        "Elasticities",
        "Modular Examples",
        "Another Example: Merger Analysis with BLP's car data",
        "References"
      ],
      "created": "2018-08-16 19:50:03",
      "modified": "2022-12-03 14:52:31",
      "commits": 6
    }
  ],
  "_score": 3.3180633349627615,
  "_indexed": true,
  "_nocasepkg": "blpestimator",
  "_universes": [
    "danielbr2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-05-14T09:12:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "f172d0d9687ec97dc586184fb22e9ee378dd80ae4b96c76438a1a21f181b4279",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-05-14T09:12:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "177819d44bfddc392b09b6f3d59fc7b387bd481117ea06616a8319db4885ef2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-05-14T09:12:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "8bc7bad2c1d98f89a7233c7ad4161cba40283d2c6e40b0ab80b7de6dd2492cf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-05-14T09:12:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "f2a69fe6df06c1fdf826aa4d202ada3c110eb2090bc125f0d6b1394bed25a591",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-05-14T09:13:03.000Z",
      "arch": "aarch64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "1ee08ea96ae08910dd055fce751279206b14f3f1bc5b430b606867a378b5e794",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-05-14T09:14:33.000Z",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "45c1d67a8f2f349ac3ddbf79e42ea30a6c67f647e967ce0cc1344312c0aa0758",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-05-14T09:13:10.000Z",
      "arch": "aarch64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "3b1c4a5a4fac320f76016b363b07826993daf74b036b06eda95291aaeca20685",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-05-14T09:14:25.000Z",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "436a027622188edad9efdf2117ef8a37d4a7eb23d3687d7455ef18e08bbf1c01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-05-14T09:12:24.000Z",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "b4c20ae17c650c6088abbd1d40f74d44f5539a871fd91326ff10de7bc0848457",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-05-14T09:12:14.000Z",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "c6ed105cc21193a0115de60577d3953b1632f2479b1ade32dfacccf645859fcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-05-14T09:11:57.000Z",
      "arch": "x86_64",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "af36e95d4033cb73b45daa532d39c63b58ce8f09c9bfb7237ace72a0628c5581",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.4",
      "date": "2026-05-22T08:59:53.000Z",
      "arch": "emscripten",
      "commit": "0b10d356bdcc4af8f3377d97205fbf7869254ca5",
      "fileid": "9bf3f6d5a33e60b39a29ca663bd230a0a70e3e60ec1030541a7ea262a9ab431f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/danielbr2/actions/runs/25851616600"
    }
  ]
}