{
  "_id": "6a47a550e06c18f0a65192f4",
  "Package": "mergersim",
  "Title": "Merger Simulation and Calibration",
  "Version": "0.1.0",
  "Authors@R": "person(\"Matthew T\", \"Panhans\",\nemail = \"mpanhans@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7874-6740\"))",
  "Description": "Analyze mergers between firms. Models of competition\ninclude differentiated Bertrand price-setting, Nash bargaining,\nand second score auctions, as implemented in Panhans and\nTaragin (2023) <doi:10.1016/j.ijindorg.2023.102986>. Calibrates\ndemand systems including standard logit, nested logit, and\ngeneralized nested logit as implemented in Panhans and Wiemer\n(2026) <doi:10.1093/joclec/nhaf037>.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Repository": "https://mpanhans.r-universe.dev",
  "Date/Publication": "2026-06-26 14:35:46 UTC",
  "RemoteUrl": "https://github.com/mpanhans/mergersim",
  "RemoteRef": "HEAD",
  "RemoteSha": "8f324c06ba710392614495abb451f507f1355468",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 12:01:00 UTC",
    "User": "root"
  },
  "Author": "Matthew T Panhans [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7874-6740>)",
  "Maintainer": "Matthew T Panhans <mpanhans@gmail.com>",
  "_user": "mpanhans",
  "_type": "src",
  "_file": "mergersim_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/fedadd754226e8ba224cfe7348e97490821a37dab2a0aa2e3322db8f8e94b317",
  "_filesize": 211502,
  "_sha256": "fedadd754226e8ba224cfe7348e97490821a37dab2a0aa2e3322db8f8e94b317",
  "_expires": "2026-10-11T12:04:32.000Z",
  "_created": "2026-07-03T12:01:00.000Z",
  "_published": "2026-07-03T12:04:32.926Z",
  "_jobs": [
    {
      "job": 84995529774,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8065976881"
    },
    {
      "job": 84995529753,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065974731"
    },
    {
      "job": 84995529784,
      "time": 179,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8065983041"
    },
    {
      "job": 84995529770,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065973885"
    },
    {
      "job": 84995049014,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065936830"
    },
    {
      "job": 84995529736,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8065971662"
    },
    {
      "job": 84995529854,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8065962455"
    },
    {
      "job": 84995529857,
      "time": 76,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8065963406"
    },
    {
      "job": 84995529793,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065963362"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053",
  "_status": "success",
  "_upstream": "https://github.com/mpanhans/mergersim",
  "_commit": {
    "id": "8f324c06ba710392614495abb451f507f1355468",
    "author": "Matt Panhans <mpanhans@gmail.com>",
    "committer": "Matt Panhans <mpanhans@gmail.com>",
    "message": "Resubmission notes\n",
    "time": 1782484546
  },
  "_maintainer": {
    "name": "Matthew T Panhans",
    "email": "mpanhans@gmail.com",
    "login": "mpanhans",
    "description": "",
    "uuid": 17768791,
    "orcid": "0000-0001-7874-6740"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "BB",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "rootSolve",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "antitrust",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mpanhans",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 8
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-11",
      "n": 8
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 22
    },
    {
      "week": "2026-26",
      "n": 11
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mpanhans",
      "count": 124,
      "uuid": 17768791
    }
  ],
  "_userbio": {
    "uuid": 17768791,
    "type": "user",
    "name": "mpanhans",
    "followers": 8
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mergersim"
  },
  "_devurl": "https://github.com/mpanhans/mergersim",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mergersim.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mpanhans/mergersim",
  "_realowner": "mpanhans",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "bargain_calibrate",
    "bargain_foc",
    "bargain_foc_vert_sim",
    "bargain_NP_vert_seq",
    "bargain_NP_vert_seq_gnl",
    "bargain_vert_seq_calibrate",
    "bargain_vert_sim_calibrate",
    "bargain_vert_sim_calibrate_gnl",
    "bertrand_calibrate",
    "bertrand_calibrate_gnl",
    "bertrand_foc",
    "bertrand_foc_c",
    "bertrand_foc_vert",
    "bertrand_foc_vert_gnl",
    "bertrand_vert_calibrate",
    "diversion_calc",
    "match_share",
    "share_calc",
    "ssa_calibrate",
    "ssa_calibrate_gnl",
    "ssbargain_calibrate",
    "ssbargain_foc"
  ],
  "_help": [
    {
      "page": "bargain_calibrate",
      "title": "Nash bargaining calibration",
      "topics": [
        "bargain_calibrate"
      ]
    },
    {
      "page": "bargain_foc",
      "title": "Nash bargaining first-order conditions",
      "topics": [
        "bargain_foc"
      ]
    },
    {
      "page": "bargain_foc_vert_sim",
      "title": "Nash Product FOCs for use in vertical model with simultaneous timing",
      "topics": [
        "bargain_foc_vert_sim"
      ]
    },
    {
      "page": "bargain_NP_vert_seq",
      "title": "Nash Product for use in vertical model with sequential timing",
      "topics": [
        "bargain_NP_vert_seq"
      ]
    },
    {
      "page": "bargain_NP_vert_seq_gnl",
      "title": "Nash Product for use in vertical model with sequential timing",
      "topics": [
        "bargain_NP_vert_seq_gnl"
      ]
    },
    {
      "page": "bargain_vert_seq_calibrate",
      "title": "Calibrate costs for Nash bargain in vertical model with sequential timing",
      "topics": [
        "bargain_vert_seq_calibrate"
      ]
    },
    {
      "page": "bargain_vert_sim_calibrate",
      "title": "Calibrate lambda for Nash bargain in vertical model with simultaneous timing",
      "topics": [
        "bargain_vert_sim_calibrate"
      ]
    },
    {
      "page": "bargain_vert_sim_calibrate_gnl",
      "title": "Calibrate upstream Nash bargain in vertical model with simultaneous timing",
      "topics": [
        "bargain_vert_sim_calibrate_gnl"
      ]
    },
    {
      "page": "bertrand_calibrate",
      "title": "Bertrand model calibration",
      "topics": [
        "bertrand_calibrate"
      ]
    },
    {
      "page": "bertrand_calibrate_gnl",
      "title": "Calibrate Bertrand model with GNL demand",
      "topics": [
        "bertrand_calibrate_gnl"
      ]
    },
    {
      "page": "bertrand_foc",
      "title": "Bertrand first-order conditions",
      "topics": [
        "bertrand_foc",
        "bertrand_foc_c"
      ]
    },
    {
      "page": "bertrand_foc_vert",
      "title": "Downstream Bertrand first-order conditions",
      "topics": [
        "bertrand_foc_vert"
      ]
    },
    {
      "page": "bertrand_foc_vert_gnl",
      "title": "Downstream Bertrand first-order conditions",
      "topics": [
        "bertrand_foc_vert_gnl"
      ]
    },
    {
      "page": "bertrand_vert_calibrate",
      "title": "Calibrate Bertrand model demand parameters",
      "topics": [
        "bertrand_vert_calibrate"
      ]
    },
    {
      "page": "diversion_calc",
      "title": "Market share calculations",
      "topics": [
        "diversion_calc"
      ]
    },
    {
      "page": "match_share",
      "title": "Market share calculations",
      "topics": [
        "match_share"
      ]
    },
    {
      "page": "share_calc",
      "title": "Market share calculations",
      "topics": [
        "share_calc"
      ]
    },
    {
      "page": "ssa_calibrate",
      "title": "Second score auction calibration",
      "topics": [
        "ssa_calibrate"
      ]
    },
    {
      "page": "ssa_calibrate_gnl",
      "title": "Calibrate second score auction model with GNL demand",
      "topics": [
        "ssa_calibrate_gnl"
      ]
    },
    {
      "page": "ssbargain_calibrate",
      "title": "Second score bargaining first-order conditions",
      "topics": [
        "ssbargain_calibrate"
      ]
    },
    {
      "page": "ssbargain_foc",
      "title": "Second score bargaining first-order conditions",
      "topics": [
        "ssbargain_foc"
      ]
    }
  ],
  "_readme": "https://github.com/mpanhans/mergersim/raw/HEAD/README.md",
  "_rundeps": [
    "BB",
    "numDeriv",
    "quadprog",
    "rootSolve"
  ],
  "_vignettes": [
    {
      "source": "calibrating-gnl-demand.Rmd",
      "filename": "calibrating-gnl-demand.html",
      "title": "Calibrating generalized nested logit (GNL) demand",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Nested Logit",
        "Set up scenario",
        "Calibrate demand parameters, with full information",
        "GNL with overlapping nests"
      ],
      "created": "2025-03-31 15:54:40",
      "modified": "2026-03-09 18:21:27",
      "commits": 9
    },
    {
      "source": "horizontal-merger-simulations.Rmd",
      "filename": "horizontal-merger-simulations.html",
      "title": "Horizontal merger simulations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Preliminaries",
        "Bertrand Competition",
        "Calibrating the demand parameters",
        "Calibration with some unobserved costs",
        "Second score auction",
        "Traditional Bargaining Model (nests Bertrand)",
        "Calibration",
        "Alternative Bargaining Model (nests SSA)",
        "Generalized Nested Logit (GNL) Demand",
        "Bertrand"
      ],
      "created": "2024-10-12 18:32:37",
      "modified": "2025-11-10 19:56:31",
      "commits": 7
    },
    {
      "source": "vertical-merger-simulations.Rmd",
      "filename": "vertical-merger-simulations.html",
      "title": "Vertical merger simulations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Preliminaries",
        "Theoretical Framework",
        "Downstream Bertrand Competition",
        "Upstream Bargaining",
        "FOCs with Vertical Integration",
        "Calibrating the demand parameters",
        "When all costs are observed",
        "When some costs are unobserved",
        "On model fit",
        "Predicting Merger Effects",
        "Comparison to 'antitrust' package"
      ],
      "created": "2026-03-06 20:32:34",
      "modified": "2026-06-22 17:41:12",
      "commits": 5
    }
  ],
  "_score": 5.217483944213907,
  "_indexed": true,
  "_nocasepkg": "mergersim",
  "_universes": [
    "mpanhans"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T12:03:02.000Z",
      "distro": "resolute",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/f5c6216eb5c6a550af7f7e0b6f0811fc80ece95cfbb28a251b447d8da427a402",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T12:02:57.000Z",
      "distro": "resolute",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/d61b7e4f08d186b7c784f8378573778f5c184f5a3a0b4bbad67b8ee6e571e516",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T12:03:24.000Z",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/1bb95aa9dd377f6c3cc9c88b92d73c394a76103db3f3237e5ba0d00bc096ccca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T12:02:58.000Z",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/4f255c9cd540a4741c3a4c78ce9cff446afdfaea0b990932c9da03fde506b35b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-03T12:03:00.000Z",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/d579f9e21acc948752087074c9270c448e0712428a396354ce6c2519f45c8af8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T12:02:13.000Z",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/8fb4526edb523e9491c132bd302361333952966e4a0423e865c1ad10d0c087e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T12:02:18.000Z",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/7d672730b7ea0295396b199fe87e4255df96eb10e453203b83b9846abf3027ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T12:02:15.000Z",
      "commit": "8f324c06ba710392614495abb451f507f1355468",
      "fileid": "https://r2.ropensci.org/8ceb4ca79dd79ffef9efa86f252f0791d2b016c74d621d2864e4be7943de8ecb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpanhans/actions/runs/28659041053"
    }
  ]
}