{
  "_id": "6ace2a83a14063b82c3b0af5",
  "Package": "pgt",
  "Type": "Package",
  "Title": "Data Envelopment Analysis for Pollution-Generating Technologies",
  "Version": "0.7.1",
  "Authors@R": "c(\nperson(\"Erik\", \"Enstad\", email = \"erik.enstad@nhh.no\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0006-1053-3849\")))",
  "Description": "Nonparametric efficiency analysis for pollution-generating\ntechnologies under the materials-balance principle. Implements\nthe weak-G-disposability technology of Hampf and Rodseth (2015)\n<doi:10.1016/j.eneco.2015.04.001>, scored by the\nminimal-emission programme of Rodseth (2025)\n<doi:10.1007/s11123-025-00768-0> with its directional\nrepresentation and five-component decomposition, the\nby-production intersection technology of Murty, Russell and\nLevkoff (2012) <doi:10.1016/j.jeem.2012.02.005>, the\nmaterials-balance cost model of Coelli, Lauwers and Van\nHuylenbroeck (2007) <doi:10.1007/s11123-007-0052-8> and a\nweak-disposability reference model, with a pre-estimation audit\nof every materials-balance account, metafrontier\ndecompositions, bad-output shadow prices, marginal abatement\ncost curves, a cross-axiom comparison harness, a global\nMalmquist-Luenberger productivity index and subsampling\nsensitivity intervals. Estimators are solved with 'lpSolveAPI'.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "URL": "https://github.com/iik1/pgt",
  "BugReports": "https://github.com/iik1/pgt/issues",
  "Repository": "https://iik1.r-universe.dev",
  "Date/Publication": "2026-10-13 08:36:58 UTC",
  "RemoteUrl": "https://github.com/iik1/pgt",
  "RemoteRef": "HEAD",
  "RemoteSha": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 12:28:15 UTC",
    "User": "root"
  },
  "Author": "Erik Enstad [aut, cre] (ORCID: <https://orcid.org/0009-0006-1053-3849>)",
  "Maintainer": "Erik Enstad <erik.enstad@nhh.no>",
  "_user": "iik1",
  "_type": "src",
  "_file": "pgt_0.7.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/3e6007e1150411f8e0d9f6d050ef0460c23c6ff9deab269d091d6f07743a3ffb",
  "_filesize": 837031,
  "_sha256": "3e6007e1150411f8e0d9f6d050ef0460c23c6ff9deab269d091d6f07743a3ffb",
  "_expires": "2027-01-21T12:56:30.000Z",
  "_created": "2026-10-13T12:28:15.000Z",
  "_published": "2026-10-13T12:56:35.269Z",
  "_buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115296542344,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11812633870"
    },
    {
      "job": 115296542147,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11811924437"
    },
    {
      "job": 115296542165,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11814484517"
    },
    {
      "job": 115296542125,
      "time": 219,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11814329881"
    },
    {
      "job": 115295194010,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11811928975"
    },
    {
      "job": 115296542349,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11812089052"
    },
    {
      "job": 115296542171,
      "time": 110,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11812039203"
    },
    {
      "job": 115296542151,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11812398894"
    },
    {
      "job": 115296542220,
      "time": 103,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11813176116"
    }
  ],
  "_upstream": "https://github.com/iik1/pgt",
  "_commit": {
    "id": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
    "author": "iik1 <eenstad@live.no>",
    "committer": "iik1 <eenstad@live.no>",
    "message": "pgt 0.7.1: check LP solutions against their rows; citations checked against the sources\n\nEvery LP kernel now re-evaluates the rows and bounds of its programme at\nthe point lp_solve returns (.lp_verified()). On uscoal with the sulfur\ncoefficients scaled by 0.9, lp_solve accepted a point 6 per cent above\nthe input-fixed cap of the 38 MWh Painesville plant because its own\ntolerances exceed several per cent of a small unit's rows on the\nunit-magnitude copy; such a point is now reported as infeasible. The\ncap test of \"wgd_input_fixed\" uses a relative 1e-5. On the shipped\ndata the only change is Painesville's status in that scenario; new\ntests in test-scaling.R cover it.\n\nDocumentation follows a check of every citation against the cited\npapers: \"wgd\" is the Hampf and Rodseth (2015) technology scored by the\nminimal-emission programme of Rodseth (2025, Eq. 6); \"fdmo\" is Eq. 13,\nthe indirect form of Eq. 12, with the sign restrictions of Eq. 14;\n\"byprod\" cites Murty, Russell and Levkoff (2012, Eqs. 4.5, 4.7, 5.7\nand 7.1); the boot_pgt() and pgt_ml() help state the conditions of the\ncited results; the uscoal help notes the 95 per cent sulfur conversion\nof Rodseth (2017). The pigfarms replication uses v = 7/6, under which\n\"wgd\" reproduces every Table 2 target. The development NEWS is folded\ninto 0.7.1 and cran-comments records the row check.\n",
    "time": 1791880618
  },
  "_maintainer": {
    "name": "Erik Enstad",
    "email": "erik.enstad@nhh.no",
    "orcid": "0009-0006-1053-3849"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "lpSolveAPI",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "frontier",
      "role": "Suggests"
    }
  ],
  "_owner": "iik1",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 11
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 7
    },
    {
      "week": "2026-33",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 7
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.1",
      "date": "2026-07-16"
    },
    {
      "name": "v0.5.0",
      "date": "2026-07-16"
    },
    {
      "name": "v0.7.0",
      "date": "2026-09-22"
    },
    {
      "name": "v0.7.1",
      "date": "2026-10-13"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "iik1",
      "count": 25,
      "uuid": 116549631
    }
  ],
  "_userbio": {
    "uuid": 116549631,
    "type": "user",
    "name": "iik1",
    "followers": 0
  },
  "_downloads": {
    "count": 325,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pgt"
  },
  "_devurl": "https://github.com/iik1/pgt",
  "_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/pgt.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/iik1/pgt",
  "_realowner": "iik1",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2026-07-28"
    },
    {
      "version": "0.6.1",
      "date": "2026-08-19"
    },
    {
      "version": "0.7.0",
      "date": "2026-09-22"
    },
    {
      "version": "0.7.1",
      "date": "2026-10-13"
    }
  ],
  "_exports": [
    "boot_pgt",
    "boot_pgt_sensitivity",
    "compare_models",
    "mac_curve",
    "mb_check",
    "pgt",
    "pgt_decompose",
    "pgt_ml",
    "pgt_tech",
    "shadow_prices"
  ],
  "_datasets": [
    {
      "name": "pigfarms",
      "title": "Pig-finishing farms from Rodseth (2025), Table 1",
      "object": "pigfarms",
      "class": [
        "data.frame"
      ],
      "fields": [
        "farm",
        "feed",
        "piglet",
        "labor",
        "capital",
        "meat",
        "controlled",
        "uncontrolled",
        "abatement"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "steeldemo",
      "title": "Synthetic steel plant panel",
      "object": "steeldemo",
      "class": [
        "data.frame"
      ],
      "fields": [
        "plant",
        "year",
        "route",
        "production",
        "coal_coke",
        "other_fuel",
        "raw_material",
        "flux",
        "emissions",
        "captured",
        "capture_energy",
        "abatement_tech"
      ],
      "rows": 180,
      "table": true,
      "tojson": true
    },
    {
      "name": "uscoal",
      "title": "US coal-fired power plants with a measured SO2 account, 2022",
      "object": "uscoal",
      "class": [
        "data.frame"
      ],
      "fields": [
        "plant",
        "name",
        "state",
        "fgd",
        "coal",
        "other_heat",
        "capacity",
        "sorbent",
        "gen",
        "so2",
        "sulfur"
      ],
      "rows": 212,
      "table": true,
      "tojson": true
    },
    {
      "name": "usfgd",
      "title": "US coal-fired power plants with flue-gas desulphurisation, 2023",
      "object": "usfgd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "plant",
        "name",
        "state",
        "coal",
        "sulfur",
        "other_heat",
        "capacity",
        "gen",
        "heat_input",
        "coal_units",
        "scrubbed_units",
        "so2",
        "so2_removed",
        "efficiency",
        "sorbent",
        "fgd_mwh",
        "n_fgd"
      ],
      "rows": 154,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "boot_pgt",
      "title": "Subsampling inference for pollution-generating efficiency scores",
      "topics": [
        "boot_pgt"
      ]
    },
    {
      "page": "boot_pgt_sensitivity",
      "title": "Subsample-size sensitivity of subsampling intervals",
      "topics": [
        "boot_pgt_sensitivity"
      ]
    },
    {
      "page": "compare_models",
      "title": "Compare competing axiom systems on identical data",
      "topics": [
        "compare_models"
      ]
    },
    {
      "page": "mac_curve",
      "title": "Marginal abatement cost curve",
      "topics": [
        "mac_curve"
      ]
    },
    {
      "page": "mb_check",
      "title": "Audit the materials-balance identity",
      "topics": [
        "mb_check"
      ]
    },
    {
      "page": "pgt",
      "title": "Estimate a pollution-generating technology model",
      "topics": [
        "pgt"
      ]
    },
    {
      "page": "pgt_decompose",
      "title": "Decompose environmental efficiency",
      "topics": [
        "pgt_decompose"
      ]
    },
    {
      "page": "pgt_ml",
      "title": "Global Malmquist-Luenberger productivity index",
      "topics": [
        "pgt_ml"
      ]
    },
    {
      "page": "pgt_tech",
      "title": "Construct a pollution-generating technology",
      "topics": [
        "pgt_tech"
      ]
    },
    {
      "page": "pigfarms",
      "title": "Pig-finishing farms from Rodseth (2025), Table 1",
      "topics": [
        "pigfarms"
      ]
    },
    {
      "page": "shadow_prices",
      "title": "Extract shadow values from a pgt fit",
      "topics": [
        "shadow_prices"
      ]
    },
    {
      "page": "steeldemo",
      "title": "Synthetic steel plant panel",
      "topics": [
        "steeldemo"
      ]
    },
    {
      "page": "uscoal",
      "title": "US coal-fired power plants with a measured SO2 account, 2022",
      "topics": [
        "uscoal"
      ]
    },
    {
      "page": "usfgd",
      "title": "US coal-fired power plants with flue-gas desulphurisation, 2023",
      "topics": [
        "usfgd"
      ]
    }
  ],
  "_readme": "https://github.com/iik1/pgt/raw/HEAD/README.md",
  "_rundeps": [
    "lpSolveAPI"
  ],
  "_vignettes": [
    {
      "source": "comparing-axioms.Rmd",
      "filename": "comparing-axioms.html",
      "title": "Comparing axiom systems",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Which axiom system for bad outputs?",
        "Fitting each model",
        "The comparison harness",
        "References"
      ],
      "created": "2026-07-16 13:30:33",
      "modified": "2026-10-13 08:36:58",
      "commits": 7
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to pgt",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The materials-balance principle",
        "Building a technology",
        "Auditing the identity before estimation",
        "Estimating environmental efficiency",
        "Shadow prices and abatement cost",
        "Decomposing across production routes",
        "A worked example on real data",
        "References"
      ],
      "created": "2026-07-16 13:30:33",
      "modified": "2026-10-13 08:36:58",
      "commits": 9
    },
    {
      "source": "multiple-pollutants.Rmd",
      "filename": "multiple-pollutants.html",
      "title": "Multiple pollutants and heterogeneous coefficients",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A two-pollutant technology",
        "Every pollutant's cap constrains the input-fixed benchmark",
        "DMU-specific coefficients",
        "The five-component decomposition",
        "Several intended outputs",
        "References"
      ],
      "created": "2026-07-16 15:57:17",
      "modified": "2026-09-05 16:37:32",
      "commits": 4
    },
    {
      "source": "productivity.Rmd",
      "filename": "productivity.html",
      "title": "Productivity change and inference",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Productivity change with a bad output",
        "A constructed panel",
        "A real rice panel",
        "Subsampling inference",
        "Coverage under a known data-generating process",
        "References"
      ],
      "created": "2026-07-16 13:30:33",
      "modified": "2026-10-13 08:36:58",
      "commits": 12
    },
    {
      "source": "replication.Rmd",
      "filename": "replication.html",
      "title": "Replicating published results",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Rødseth (2025), Table 2: minimal controlled emissions",
        "Rødseth (2025), Table 3: the directional representation",
        "Murty, Russell and Levkoff (2012): the by-production example",
        "Coelli, Lauwers and Van Huylenbroeck (2007): coefficients and the EE = TE x EAE decomposition",
        "References"
      ],
      "created": "2026-07-16 13:30:33",
      "modified": "2026-10-13 08:36:58",
      "commits": 7
    },
    {
      "source": "models.Rmd",
      "filename": "models.html",
      "title": "The estimating programmes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Weak-G-disposability (model = \"wgd\")",
        "The input-fixed benchmark (model = \"wgd_input_fixed\")",
        "The $(y, b)$ lower envelope (model = \"envelope\")",
        "The directional representation (model = \"fdmo\")",
        "The decomposition stage programmes (pgt_decompose(type = \"rodseth\"))",
        "The materials-balance cost model (model = \"mb_cost\")",
        "The by-production intersection (model = \"byprod\")",
        "Weak disposability (model = \"wd\")",
        "The productivity-index distances (pgt_ml())",
        "References"
      ],
      "created": "2026-07-16 15:57:17",
      "modified": "2026-10-13 08:36:58",
      "commits": 11
    }
  ],
  "_score": 5.431363764158988,
  "_indexed": true,
  "_nocasepkg": "pgt",
  "_universes": [
    "iik1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-10-13T12:30:11.000Z",
      "distro": "resolute",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/dc4004fdb26e4b69c53d1ccee70086804e53a16556cc3944ad8448e30fa70220",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.1",
      "date": "2026-10-13T12:30:07.000Z",
      "distro": "resolute",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/6b76a707ff3517cf4323b0ddebcdff36414261d5782e33d82faced1c9b1ca5d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-10-13T12:54:03.000Z",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/f750f5cedf0b5a5af73c05e7d2e756dd032d9b8cd26d413c105bd239f626d9e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.1",
      "date": "2026-10-13T12:54:43.000Z",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/f7a3a4e43884bca83375c3e473bb20cd02a1f94f265c63c63a4a72f337ba09bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.1",
      "date": "2026-10-13T12:30:05.000Z",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/0f9019cfca0dec0674b9c796803dc7784a7135838c03ff11579bccf777036457",
      "status": "success",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-10-13T12:29:23.000Z",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/feef618e813eaad82e012288c58f3bdde684cab23c4342be52ebee29b2a9f99d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-10-13T12:29:21.000Z",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/7c3f8c66fcac23fc7bb1f88efd5e72ab8100edb3274f54e4dc3566dd36ec62d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.1",
      "date": "2026-10-13T12:29:18.000Z",
      "commit": "dd8156fc4ab15602299c275eb6a48a7ef431d457",
      "fileid": "https://r2.ropensci.org/6218f5ef88121afac9bc9076f76b7bf7bf67db14915938e43e8aa6cdfadba16a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/38397123345"
    }
  ]
}