{
  "_id": "6acba400fe5cc25786e91a42",
  "Package": "PricingBandits",
  "Type": "Package",
  "Title": "Multi-Armed Bandit Approaches to Pricing Experiments",
  "Version": "2.1.0",
  "Authors@R": "c(person(\"Ian N.\", \"Weaver\", role = c(\"aut\", \"cre\"), email = \"weaver.n.ian@gmail.com\"),\nperson(\"Vineet\", \"Kumar\", role = \"aut\"),\nperson(\"Lalit\", \"Jain\", role = \"aut\"))",
  "Description": "Implements multi-armed bandit approaches for pricing\nexperiments with an unknown demand curve, as developed in\nWeaver, Kumar, and Jain (2025) \"Nonparametric Pricing Bandits\nLeveraging Informational Externalities to Learn the Demand\nCurve\" <doi:10.1287/mksc.2022.0247>. Includes Upper Confidence\nBound (UCB) and Thompson Sampling (TS) baselines, Gaussian\nprocess variants (GP-UCB, GP-TS), monotonic Gaussian process\nvariants that constrain demand to be weakly decreasing in\nprice, and heterogeneous-noise extensions. The\nwillingness-to-pay distribution is fully user-specified via a\nvector of consumer valuations, so any demand environment can be\nsimulated or replayed.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ian-weaver/PricingBandits",
  "BugReports": "https://github.com/ian-weaver/PricingBandits/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://ian-weaver.r-universe.dev",
  "Date/Publication": "2026-09-10 11:07:43 UTC",
  "RemoteUrl": "https://github.com/ian-weaver/pricingbandits",
  "RemoteRef": "HEAD",
  "RemoteSha": "72f87451d2a9947fd1f47d55057aad4975fbc849",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 14:54:15 UTC",
    "User": "root"
  },
  "Author": "Ian N. Weaver [aut, cre],\nVineet Kumar [aut],\nLalit Jain [aut]",
  "Maintainer": "Ian N. Weaver <weaver.n.ian@gmail.com>",
  "_user": "ian-weaver",
  "_type": "src",
  "_file": "PricingBandits_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a5621b6324a7876757a94fe465857cdf20c379bb406eb541e8ccbb6485e2b220",
  "_filesize": 578734,
  "_sha256": "a5621b6324a7876757a94fe465857cdf20c379bb406eb541e8ccbb6485e2b220",
  "_expires": "2027-01-19T14:58:05.000Z",
  "_created": "2026-10-11T14:54:15.000Z",
  "_published": "2026-10-11T14:58:07.872Z",
  "_buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114498554817,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11706386607"
    },
    {
      "job": 114498554762,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11705518003"
    },
    {
      "job": 114498554756,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11706496354"
    },
    {
      "job": 114498554737,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11705851365"
    },
    {
      "job": 114497898790,
      "time": 193,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11705671326"
    },
    {
      "job": 114498554760,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11706271571"
    },
    {
      "job": 114498554836,
      "time": 100,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11706261592"
    },
    {
      "job": 114498554827,
      "time": 122,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11705586696"
    },
    {
      "job": 114498554842,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11705747219"
    }
  ],
  "_upstream": "https://github.com/ian-weaver/pricingbandits",
  "_commit": {
    "id": "72f87451d2a9947fd1f47d55057aad4975fbc849",
    "author": "ian-weaver <itheweave@gmail.com>",
    "committer": "ian-weaver <itheweave@gmail.com>",
    "message": "Add fixed-seed UCB/TS trajectory regression test\n\nCo-Authored-By: Claude Fable 5 <noreply@anthropic.com>\n",
    "time": 1789038463
  },
  "_maintainer": {
    "name": "Ian N. Weaver",
    "email": "weaver.n.ian@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "hash",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "TruncatedNormal",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "ian-weaver",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-35",
      "n": 3
    },
    {
      "week": "2026-37",
      "n": 9
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-08-27"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ian-weaver",
      "count": 12,
      "uuid": 194855559
    }
  ],
  "_userbio": {
    "uuid": 194855559,
    "type": "user",
    "name": "ian-weaver",
    "followers": 1
  },
  "_downloads": {
    "count": 455,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PricingBandits"
  },
  "_devurl": "https://github.com/ian-weaver/pricingbandits",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PricingBandits.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ian-weaver/pricingbandits",
  "_realowner": "ian-weaver",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.0",
      "date": "2026-09-09"
    }
  ],
  "_exports": [
    "AggregateDataGP",
    "AggregateDataTS",
    "AggregateDataUCB",
    "BasisFunction",
    "CovarianceFromKernel",
    "GetDiagnostics",
    "GPTS",
    "GPTS_Mono",
    "GPUCB",
    "GPUCB_Mono",
    "JointCovFromKernel",
    "MABExperiment",
    "MakePosDefinitive",
    "NLML",
    "NoiseSample",
    "NonMonoPolicyEval",
    "OptimalHyperparameters",
    "PolicyEvaluation",
    "PosteriorPrediction",
    "PricingBandit",
    "RBFKernel",
    "ResetDiagnostics",
    "TS",
    "UCB"
  ],
  "_help": [
    {
      "page": "AggregateDataGP",
      "title": "Aggregate Data for Gaussian Process (GP) Algorithms",
      "topics": [
        "AggregateDataGP"
      ]
    },
    {
      "page": "AggregateDataTS",
      "title": "Aggregate Data for Thompson Sampling (TS) Algorithm",
      "topics": [
        "AggregateDataTS"
      ]
    },
    {
      "page": "AggregateDataUCB",
      "title": "GP Variants",
      "topics": [
        "AggregateDataUCB"
      ]
    },
    {
      "page": "BasisFunction",
      "title": "Basis Function",
      "topics": [
        "BasisFunction"
      ]
    },
    {
      "page": "CovarianceFromKernel",
      "title": "Covariance Matrix from Kernel",
      "topics": [
        "CovarianceFromKernel"
      ]
    },
    {
      "page": "GetDiagnostics",
      "title": "Get Experiment Diagnostics",
      "topics": [
        "GetDiagnostics"
      ]
    },
    {
      "page": "GPTS",
      "title": "Gaussian Process Thompson Sampling (GPTS) Policy",
      "topics": [
        "GPTS"
      ]
    },
    {
      "page": "GPTS_Mono",
      "title": "Gaussian Process Thompson Sampling Monotonic (GPTS_Mono) Policy",
      "topics": [
        "GPTS_Mono"
      ]
    },
    {
      "page": "GPUCB",
      "title": "Gaussian Process Upper Confidence Bound (GPUCB) Policy",
      "topics": [
        "GPUCB"
      ]
    },
    {
      "page": "GPUCB_Mono",
      "title": "Gaussian Process Upper Confidence Bound Monotonic (GPUCB_Mono) Policy",
      "topics": [
        "GPUCB_Mono"
      ]
    },
    {
      "page": "JointCovFromKernel",
      "title": "Joint Covariance Matrix from Kernel",
      "topics": [
        "JointCovFromKernel"
      ]
    },
    {
      "page": "MABExperiment",
      "title": "Multi-Armed Bandit Experiment Framework",
      "topics": [
        "MABExperiment"
      ]
    },
    {
      "page": "MakePosDefinitive",
      "title": "Positive Definite Covariance Matrix",
      "topics": [
        "MakePosDefinitive"
      ]
    },
    {
      "page": "NLML",
      "title": "Gaussian Process Regression",
      "topics": [
        "NLML"
      ]
    },
    {
      "page": "NoiseSample",
      "title": "Noise Sampling for Heteroscedastic Gaussian Processes",
      "topics": [
        "NoiseSample"
      ]
    },
    {
      "page": "NonMonoPolicyEval",
      "title": "Evaluate Non-Monotonic Policies",
      "topics": [
        "NonMonoPolicyEval"
      ]
    },
    {
      "page": "OptimalHyperparameters",
      "title": "Optimal Hyperparameters",
      "topics": [
        "OptimalHyperparameters"
      ]
    },
    {
      "page": "PolicyEvaluation",
      "title": "Evaluate Policies for Pricing Experiments",
      "topics": [
        "PolicyEvaluation"
      ]
    },
    {
      "page": "PosteriorPrediction",
      "title": "Posterior Prediction (Joint GP with Derivatives)",
      "topics": [
        "PosteriorPrediction"
      ]
    },
    {
      "page": "PricingBandit",
      "title": "Run a Pricing Bandit Experiment",
      "topics": [
        "PricingBandit"
      ]
    },
    {
      "page": "RBFKernel",
      "title": "Kernel Functions",
      "topics": [
        "RBFKernel"
      ]
    },
    {
      "page": "ResetDiagnostics",
      "title": "Reset Experiment Diagnostics",
      "topics": [
        "ResetDiagnostics"
      ]
    },
    {
      "page": "TS",
      "title": "Thompson Sampling (TS) Policy",
      "topics": [
        "TS"
      ]
    },
    {
      "page": "UCB",
      "title": "Bandit Policies for Pricing Experiments",
      "topics": [
        "UCB"
      ]
    }
  ],
  "_readme": "https://github.com/ian-weaver/pricingbandits/raw/HEAD/README.md",
  "_rundeps": [
    "alabama",
    "cli",
    "dplyr",
    "generics",
    "glue",
    "hash",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "nleqslv",
    "nloptr",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "qrng",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "spacefillr",
    "tibble",
    "tidyselect",
    "TruncatedNormal",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "pricingbandits-intro.Rmd",
      "filename": "pricingbandits-intro.html",
      "title": "Getting Started with PricingBandits",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The experiment environment",
        "The PricingBandit() arguments, one by one",
        "Running every algorithm on the same consumers",
        "Results",
        "Diagnostics"
      ],
      "created": "2026-08-27 08:03:09",
      "modified": "2026-09-10 10:15:33",
      "commits": 4
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "pricingbandits",
  "_universes": [
    "ian-weaver"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-11T14:57:08.000Z",
      "distro": "resolute",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/1819df6af77a8edf714f64ff94a8714f34dc871eb131abd83329c6604bf265df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-11T14:56:29.000Z",
      "distro": "resolute",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/e56431d652955c9a581d42c46e8491e38ce71ea3562db831b76936e09156c75e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-10-11T14:56:47.000Z",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/bb835dbbf0dee7f60ec85c5cdd8b604129c07fb66b11a4943eecf159fe721de6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-10-11T14:56:45.000Z",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/926bfed5329601339165211ac2573fdd8a34a64bd980b16e30eb8ca69b11d246",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-10-11T14:56:16.000Z",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/4fd5b581863662eb157515a96f648883d8562e858643232d9f38c5cd8cb25fe7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-11T14:55:30.000Z",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/4d65205311d0079e34204730135592f515f6b3b26b0c5a3a994d2337148110c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-11T14:55:54.000Z",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/f3c2964b09cb6c8029c57c4310ec4e19cd067960052a1e4244a5ad671c229a70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-11T14:55:20.000Z",
      "commit": "72f87451d2a9947fd1f47d55057aad4975fbc849",
      "fileid": "https://r2.ropensci.org/18fb3e7e1aa4b8e4fe8a301095d9d77892d23b949faf6a61171d7b43f861e9bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ian-weaver/actions/runs/38148850827"
    }
  ]
}