{
  "_id": "6a14cac6acfb0bcc41d4befa",
  "Package": "ptetools",
  "Title": "Panel Treatment Effects Tools",
  "Version": "1.0.1",
  "Authors@R": "person(given = \"Brantly\",\nfamily = \"Callaway\",\nrole = c(\"aut\", \"cre\"),\nemail = \"brantly.callaway@uga.edu\")",
  "URL": "https://github.com/bcallaway11/ptetools",
  "BugReports": "https://github.com/bcallaway11/ptetools/issues",
  "Description": "Generic code for estimating treatment effects with panel\ndata.  The idea is to break into separate steps organizing the\ndata, looping over groups and time periods, computing\ngroup-time average treatment effects, and aggregating\ngroup-time average treatment effects.  Often, one is able to\nimplement a new identification/estimation procedure by simply\nreplacing the step on estimating group-time average treatment\neffects.  See several different examples of this approach in\nthe package documentation.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://bcallaway11.r-universe.dev",
  "Date/Publication": "2026-05-25 22:09:21 UTC",
  "RemoteUrl": "https://github.com/bcallaway11/ptetools",
  "RemoteRef": "HEAD",
  "RemoteSha": "915cc31099cf2df158f09375f8e639379d99c9a0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 22:15:05 UTC",
    "User": "root"
  },
  "Author": "Brantly Callaway [aut, cre]",
  "Maintainer": "Brantly Callaway <brantly.callaway@uga.edu>",
  "MD5sum": "631418f84aeead4d098c140e2ac3d226",
  "_user": "bcallaway11",
  "_type": "src",
  "_file": "ptetools_1.0.1.tar.gz",
  "_fileid": "8056a3907071e5180301742989387b7eaa695df704dd3c5350db94eb72fa9cd1",
  "_filesize": 482237,
  "_sha256": "8056a3907071e5180301742989387b7eaa695df704dd3c5350db94eb72fa9cd1",
  "_created": "2026-05-25T22:15:05.000Z",
  "_published": "2026-05-25T22:18:46.515Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77778081450,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7205588221"
    },
    {
      "job": 77778081437,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205584425"
    },
    {
      "job": 77778081442,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7205578025"
    },
    {
      "job": 77778081443,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205583512"
    },
    {
      "job": 77777835934,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205562063"
    },
    {
      "job": 77778081446,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205579739"
    },
    {
      "job": 77778081435,
      "time": 156,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7205584444"
    },
    {
      "job": 77778081436,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7205578988"
    },
    {
      "job": 77778081439,
      "time": 168,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205586021"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bcallaway11/ptetools",
  "_commit": {
    "id": "915cc31099cf2df158f09375f8e639379d99c9a0",
    "author": "Brantly Callaway <brantly.callaway@uga.edu>",
    "committer": "Brantly Callaway <brantly.callaway@uga.edu>",
    "message": "Build README and pkgdown site, bump to v1.0.1, add pte_default(...)\n\n- Add ... to pte_default() so min_e, max_e, balance_e pass through to pte()\n- Render README.qmd → README.md with updated COVID example\n- Build pkgdown site; update _pkgdown.yml with 14 new topics (autoplot/plot\n  methods, covid_attgt, covid_data, pte_qtt, did_rcs_attgt, etc.)\n- Bump version to 1.0.1 in DESCRIPTION, inst/CITATION, CITATION.cff\n- Add dev/ to .gitignore; untrack dev/NOTES.md and dev/RELEASE_CHECKLIST.md\n- Clarify skipped test messages in test-did.R\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>\n",
    "time": 1779746961
  },
  "_maintainer": {
    "name": "Brantly Callaway",
    "email": "brantly.callaway@uga.edu",
    "login": "bcallaway11",
    "description": "Brantly Callaway, Department of Economics, University of Georgia",
    "uuid": 148795
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BMisc",
      "version": ">= 1.4.7",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "DRDID",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "splines2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "did",
      "role": "Suggests"
    }
  ],
  "_owner": "bcallaway11",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-21",
      "n": 1
    },
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 10
    },
    {
      "week": "2026-21",
      "n": 11
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 12,
  "_contributors": [
    {
      "user": "bcallaway11",
      "count": 129,
      "uuid": 148795
    },
    {
      "user": "hugosantanna",
      "count": 1,
      "uuid": 47804685
    }
  ],
  "_userbio": {
    "uuid": 148795,
    "type": "user",
    "name": "Brantly Callaway",
    "description": "Brantly Callaway, Department of Economics, University of Georgia"
  },
  "_downloads": {
    "count": 415,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ptetools"
  },
  "_devurl": "https://github.com/bcallaway11/ptetools",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ptetools.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bcallaway11/ptetools",
  "_realowner": "bcallaway11",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-02-13"
    }
  ],
  "_exports": [
    "aggte_obj",
    "attgt_if",
    "attgt_noif",
    "attgt_pte_aggregations",
    "compute.pte",
    "covid_attgt",
    "crit_val_checks",
    "did_attgt",
    "did_rcs_attgt",
    "dose_obj",
    "ggpte",
    "ggpte_cont",
    "group_time_att",
    "gt_data_frame",
    "keep_all_pretreatment_subset",
    "keep_all_untreated_subset",
    "mboot2",
    "overall_weights",
    "panel_empirical_bootstrap",
    "process_att_gt",
    "process_dose_gt",
    "pte",
    "pte_aggte",
    "pte_attgt",
    "pte_default",
    "pte_dose_results",
    "pte_emp_boot",
    "pte_params",
    "pte_qtt",
    "pte_results",
    "qott_pte_aggregations",
    "qtt_empirical_bootstrap",
    "qtt_pte_aggregations",
    "setup_pte",
    "setup_pte_basic",
    "two_by_two_rcs_subset",
    "two_by_two_subset"
  ],
  "_datasets": [
    {
      "name": "covid_data",
      "title": "State-level Covid-19 Data",
      "object": "covid_data",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "positive",
        "time.period",
        "group",
        "state",
        "totalTestResults",
        "state_id",
        "region",
        "retail_and_recreation_percent_change_from_baseline",
        "current"
      ],
      "rows": 1656,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aggte_obj",
      "title": "Aggregated Treatment Effects Class",
      "topics": [
        "aggte_obj"
      ]
    },
    {
      "page": "attgt_if",
      "title": "Class for (g,t)-Specific Results with Influence Function",
      "topics": [
        "attgt_if"
      ]
    },
    {
      "page": "attgt_noif",
      "title": "Class for (g,t)-Specific Results without Influence Function",
      "topics": [
        "attgt_noif"
      ]
    },
    {
      "page": "attgt_pte_aggregations",
      "title": "Aggregate Group-Time Average Treatment Effects",
      "topics": [
        "attgt_pte_aggregations"
      ]
    },
    {
      "page": "autoplot.dose_obj",
      "title": "autoplot.dose_obj",
      "topics": [
        "autoplot.dose_obj"
      ]
    },
    {
      "page": "autoplot.pte_emp_boot",
      "title": "autoplot.pte_emp_boot",
      "topics": [
        "autoplot.pte_emp_boot"
      ]
    },
    {
      "page": "autoplot.pte_qtt",
      "title": "autoplot.pte_qtt",
      "topics": [
        "autoplot.pte_qtt"
      ]
    },
    {
      "page": "autoplot.pte_results",
      "title": "autoplot.pte_results",
      "topics": [
        "autoplot.pte_results"
      ]
    },
    {
      "page": "compute.pte",
      "title": "Heavy-Lifting for pte Function",
      "topics": [
        "compute.pte"
      ]
    },
    {
      "page": "covid_attgt",
      "title": "Covid ATT(g,t) Estimator",
      "topics": [
        "covid_attgt"
      ]
    },
    {
      "page": "covid_data",
      "title": "State-level Covid-19 Data",
      "topics": [
        "covid_data"
      ]
    },
    {
      "page": "crit_val_checks",
      "title": "Sanity Checks on Critical Values",
      "topics": [
        "crit_val_checks"
      ]
    },
    {
      "page": "did_attgt",
      "title": "Difference-in-differences for ATT(g,t)",
      "topics": [
        "did_attgt"
      ]
    },
    {
      "page": "did_rcs_attgt",
      "title": "Repeated Cross Sections Difference-in-Differences for ATT(g,t)",
      "topics": [
        "did_rcs_attgt"
      ]
    },
    {
      "page": "dose_obj",
      "title": "Class for Continuous Treatments",
      "topics": [
        "dose_obj"
      ]
    },
    {
      "page": "ggpte",
      "title": "ggpte",
      "topics": [
        "ggpte"
      ]
    },
    {
      "page": "ggpte_cont",
      "title": "ggpte_cont",
      "topics": [
        "ggpte_cont"
      ]
    },
    {
      "page": "group_time_att",
      "title": "Class for Estimates across Groups and Time",
      "topics": [
        "group_time_att"
      ]
    },
    {
      "page": "gt_data_frame",
      "title": "Convert Data to Usable Format",
      "topics": [
        "gt_data_frame"
      ]
    },
    {
      "page": "keep_all_pretreatment_subset",
      "title": "Keep All Pre-Treatment Subset",
      "topics": [
        "keep_all_pretreatment_subset"
      ]
    },
    {
      "page": "keep_all_untreated_subset",
      "title": "Keep All Untreated Subset",
      "topics": [
        "keep_all_untreated_subset"
      ]
    },
    {
      "page": "mboot2",
      "title": "Multiplier Bootstrap",
      "topics": [
        "mboot2"
      ]
    },
    {
      "page": "overall_weights",
      "title": "Weights for Overall Aggregation",
      "topics": [
        "overall_weights"
      ]
    },
    {
      "page": "panel_empirical_bootstrap",
      "title": "Panel Empirical Bootstrap",
      "topics": [
        "panel_empirical_bootstrap"
      ]
    },
    {
      "page": "plot.dose_obj",
      "title": "plot.dose_obj",
      "topics": [
        "plot.dose_obj"
      ]
    },
    {
      "page": "plot.pte_emp_boot",
      "title": "plot.pte_emp_boot",
      "topics": [
        "plot.pte_emp_boot"
      ]
    },
    {
      "page": "plot.pte_qtt",
      "title": "plot.pte_qtt",
      "topics": [
        "plot.pte_qtt"
      ]
    },
    {
      "page": "plot.pte_results",
      "title": "plot.pte_results",
      "topics": [
        "plot.pte_results"
      ]
    },
    {
      "page": "process_att_gt",
      "title": "Process ATT(g,t) Results",
      "topics": [
        "process_att_gt"
      ]
    },
    {
      "page": "process_dose_gt",
      "title": "Process Results with a Continuous Treatment",
      "topics": [
        "process_dose_gt"
      ]
    },
    {
      "page": "pte",
      "title": "Panel Treatment Effects",
      "topics": [
        "ptetools-package",
        "pte",
        "ptetools"
      ]
    },
    {
      "page": "pte_aggte",
      "title": "Aggregates (g,t)-Specific Results",
      "topics": [
        "pte_aggte"
      ]
    },
    {
      "page": "pte_attgt",
      "title": "General ATT(g,t)",
      "topics": [
        "pte_attgt"
      ]
    },
    {
      "page": "pte_default",
      "title": "Default, General Function for Computing Treatment Effects with Panel Data",
      "topics": [
        "pte_default"
      ]
    },
    {
      "page": "pte_dose_results",
      "title": "Class for Continuous Treatment Results",
      "topics": [
        "pte_dose_results"
      ]
    },
    {
      "page": "pte_emp_boot",
      "title": "Class for Empirical Bootstrap Results",
      "topics": [
        "pte_emp_boot"
      ]
    },
    {
      "page": "pte_params",
      "title": "PTE Parameters Class",
      "topics": [
        "pte_params"
      ]
    },
    {
      "page": "pte_qtt",
      "title": "Class for QTT Curve Results",
      "topics": [
        "pte_qtt"
      ]
    },
    {
      "page": "pte_results",
      "title": "Class for PTE Results",
      "topics": [
        "pte_results"
      ]
    },
    {
      "page": "qott_pte_aggregations",
      "title": "Aggregate Group-Time Quantile of the Treatment Effect",
      "topics": [
        "qott_pte_aggregations"
      ]
    },
    {
      "page": "qtt_empirical_bootstrap",
      "title": "Empirical Bootstrap for QTT Curves",
      "topics": [
        "qtt_empirical_bootstrap"
      ]
    },
    {
      "page": "qtt_pte_aggregations",
      "title": "Aggregate Group-Time Quantile Treatment Effects",
      "topics": [
        "qtt_pte_aggregations"
      ]
    },
    {
      "page": "setup_pte",
      "title": "Generic Setup Function",
      "topics": [
        "setup_pte"
      ]
    },
    {
      "page": "setup_pte_basic",
      "title": "Basic Setup Function",
      "topics": [
        "setup_pte_basic"
      ]
    },
    {
      "page": "two_by_two_rcs_subset",
      "title": "Two Period Two Group Repeated Cross Sections Subset",
      "topics": [
        "two_by_two_rcs_subset"
      ]
    },
    {
      "page": "two_by_two_subset",
      "title": "Two Period Two Group Subset",
      "topics": [
        "two_by_two_subset"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bcallaway11/ptetools/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bcallaway11/ptetools/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "BMisc",
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "DRDID",
    "farver",
    "fastglm",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pbapply",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "splines2",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "trust",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "ptetools",
  "_universes": [
    "bcallaway11"
  ],
  "_previous": "1.0.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-25T22:17:44.000Z",
      "distro": "noble",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "f007474318c76ef77bf6ce8cc98777d9683f9f9c0c9a27d5c59cb465e699b546",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-25T22:17:21.000Z",
      "distro": "noble",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "6c954dee7d5de44c8aa2c30bc4495e39842cc8f70c2225873f4b25390829b6d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-25T22:16:46.000Z",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "a2aa4a877f5640448cc09c4559a72b893fc339e61a222f7b8ad1129f388f110e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-25T22:17:15.000Z",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "808c28f50d3ff48bbc704a773539464e2a1d4ebc31f673e5f740d8a7e72501d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-25T22:17:28.000Z",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "28b8120010cf747b8ac7d17d1fe3f5feb114475044d96b76ff156ce7fdf023e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-25T22:17:05.000Z",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "3e634637a60e601e920c9571317c127748020f470a1b2fc723442434f66f2080",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-25T22:16:30.000Z",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "bb6825d13128438850e8a0d51a3678cc7af3abd052fdabea3307424998b68cfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-25T22:17:20.000Z",
      "commit": "915cc31099cf2df158f09375f8e639379d99c9a0",
      "fileid": "8e49080b47474e5d823561640a11f06045b822e5dd4184448fe5e1cb10967222",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421788807"
    }
  ]
}