{
  "_id": "6a40690c4f09e15ead752ead",
  "Package": "cfcompare",
  "Title": "Compare DID, SDID, Matrix Completion and the Triply Robust Panel\nEstimator",
  "Version": "0.1.0",
  "Authors@R": "person(\"Takuma\", \"Iwasaki\", email = \"iwasakit@stanford.edu\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "A comparison toolkit for binary-treatment panel causal\ninference. Runs difference-in-differences (two-way fixed\neffects), synthetic difference-in-differences, synthetic\ncontrol, matrix completion, and the Triply RObust Panel (TROP)\nestimator of Athey, Imbens, Qu and Viviano (2026)\n<doi:10.1002/jae.70061> on the same data, and returns their\naverage treatment effects on a single tidy schema with shared\nplots. TROP, DID and matrix completion are implemented\nnatively; synthetic difference-in-differences and synthetic\ncontrol are obtained through the 'synthdid' package, and an\nalternative matrix-completion / interactive fixed-effects\nestimator through 'gsynth'. This is an unofficial, independent\nimplementation and is not affiliated with or endorsed by the\nauthors of the TROP estimator.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://github.com/takuma1102/cfcompare",
  "BugReports": "https://github.com/takuma1102/cfcompare/issues",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "synth-inference/synthdid",
    "ebenmichael/augsynth"
  ],
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://takuma1102.r-universe.dev",
  "Date/Publication": "2026-06-27 23:25:37 UTC",
  "RemoteUrl": "https://github.com/takuma1102/cfcompare",
  "RemoteRef": "HEAD",
  "RemoteSha": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-28 00:13:55 UTC",
    "User": "root"
  },
  "Author": "Takuma Iwasaki [aut, cre]",
  "Maintainer": "Takuma Iwasaki <iwasakit@stanford.edu>",
  "MD5sum": "b02a57542cd5a580a1ab8e03cfd2a447",
  "_user": "takuma1102",
  "_type": "src",
  "_file": "cfcompare_0.1.0.tar.gz",
  "_fileid": "15cad2dcfcdaa86a68a95fb4b570bab295b47197ad349dc062916336fa2ad5a6",
  "_filesize": 271619,
  "_sha256": "15cad2dcfcdaa86a68a95fb4b570bab295b47197ad349dc062916336fa2ad5a6",
  "_created": "2026-06-28T00:13:55.000Z",
  "_published": "2026-06-28T00:21:32.544Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83862306522,
      "time": 352,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7929405059"
    },
    {
      "job": 83862306511,
      "time": 353,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7929405124"
    },
    {
      "job": 83862306532,
      "time": 245,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7929394898"
    },
    {
      "job": 83862306512,
      "time": 257,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7929395899"
    },
    {
      "job": 83862128071,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7929371375"
    },
    {
      "job": 83862306509,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7929387073"
    },
    {
      "job": 83862306524,
      "time": 424,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7929412533"
    },
    {
      "job": 83862306518,
      "time": 350,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7929404942"
    },
    {
      "job": 83862306520,
      "time": 380,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7929407772"
    }
  ],
  "_buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/takuma1102/cfcompare",
  "_commit": {
    "id": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
    "author": "takuma1102 <takuma.iwasaki1102@gmail.com>",
    "committer": "takuma1102 <takuma.iwasaki1102@gmail.com>",
    "message": "update for future CRAN review\n",
    "time": 1782602737
  },
  "_maintainer": {
    "name": "Takuma Iwasaki",
    "email": "iwasakit@stanford.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "synthdid",
      "role": "Suggests"
    },
    {
      "package": "gsynth",
      "role": "Suggests"
    },
    {
      "package": "augsynth",
      "role": "Suggests"
    },
    {
      "package": "did",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "takuma1102",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 37
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "takuma1102",
      "count": 37,
      "uuid": 94999658
    }
  ],
  "_userbio": {
    "uuid": 94999658,
    "type": "user",
    "name": "Takuma Iwasaki",
    "followers": 0,
    "description": "Stanford Law School - JSD candidate"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cfcompare"
  },
  "_devurl": "https://github.com/takuma1102/cfcompare",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cfcompare.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "as_att",
    "autoplot",
    "panel_compare",
    "panel_rmse",
    "plot_counterfactual",
    "rmse_curve",
    "rmse_curves",
    "sim_panel",
    "sim_semisynthetic",
    "trop",
    "trop_control",
    "trop_matrix",
    "trop_sensitivity"
  ],
  "_help": [
    {
      "page": "as_att",
      "title": "Coerce estimator output to the cfcompare ATT schema",
      "topics": [
        "as_att"
      ]
    },
    {
      "page": "autoplot.cf_comparison",
      "title": "Forest plot of ATT estimates across methods",
      "topics": [
        "autoplot.cf_att_tbl",
        "autoplot.cf_comparison"
      ]
    },
    {
      "page": "autoplot.cf_rmse_curve",
      "title": "Line plot of estimation RMSE versus a design dimension",
      "topics": [
        "autoplot.cf_rmse_curve"
      ]
    },
    {
      "page": "autoplot.cf_rmse_curves",
      "title": "Autoplot for paired RMSE curves",
      "topics": [
        "autoplot.cf_rmse_curves"
      ]
    },
    {
      "page": "autoplot.cf_rmse_tbl",
      "title": "Bar chart of out-of-sample RMSE across methods",
      "topics": [
        "autoplot.cf_rmse_tbl"
      ]
    },
    {
      "page": "autoplot.cf_trop_grid",
      "title": "Heatmap of the TROP penalty-sensitivity grid",
      "topics": [
        "autoplot.cf_trop_grid"
      ]
    },
    {
      "page": "autoplot.trop",
      "title": "Synthetic-control-style trajectory plot for a single TROP fit",
      "topics": [
        "autoplot.trop"
      ]
    },
    {
      "page": "panel_compare",
      "title": "Compare DID, SDID, MC and TROP on the same panel",
      "topics": [
        "panel_compare"
      ]
    },
    {
      "page": "panel_rmse",
      "title": "Out-of-sample RMSE across panel estimators",
      "topics": [
        "panel_rmse"
      ]
    },
    {
      "page": "plot_counterfactual",
      "title": "Plot observed vs predicted counterfactual trajectories",
      "topics": [
        "plot_counterfactual"
      ]
    },
    {
      "page": "plot.cf_rmse_curve",
      "title": "Plot one or both estimation-RMSE curves",
      "topics": [
        "plot.cf_rmse_curve",
        "plot.cf_rmse_curves"
      ]
    },
    {
      "page": "rmse_curve",
      "title": "Estimation-RMSE curve over one design dimension",
      "topics": [
        "rmse_curve"
      ]
    },
    {
      "page": "rmse_curves",
      "title": "Estimation-RMSE curves over both design dimensions",
      "topics": [
        "rmse_curves"
      ]
    },
    {
      "page": "sim_panel",
      "title": "Simulate a panel from a low-rank factor model",
      "topics": [
        "sim_panel"
      ]
    },
    {
      "page": "sim_semisynthetic",
      "title": "Build a semi-synthetic panel from real data",
      "topics": [
        "sim_semisynthetic"
      ]
    },
    {
      "page": "trop",
      "title": "Triply RObust Panel (TROP) estimator",
      "topics": [
        "trop"
      ]
    },
    {
      "page": "trop_control",
      "title": "Control settings for 'trop()'",
      "topics": [
        "trop_control"
      ]
    },
    {
      "page": "trop_matrix",
      "title": "TROP estimate on matrix input",
      "topics": [
        "trop_matrix"
      ]
    },
    {
      "page": "trop_sensitivity",
      "title": "TROP penalty-sensitivity grid (heatmap data)",
      "topics": [
        "trop_sensitivity"
      ]
    }
  ],
  "_readme": "https://github.com/takuma1102/cfcompare/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cfcompare.Rmd",
      "filename": "cfcompare.html",
      "title": "Comparing panel estimators with cfcompare",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem",
        "A simulated panel",
        "Comparing estimators",
        "Plots",
        "One estimator at a time",
        "Recovering special cases",
        "Bringing your own results",
        "Designs and inference",
        "Performance",
        "Reference"
      ],
      "created": "2026-06-26 14:37:58",
      "modified": "2026-06-27 19:59:10",
      "commits": 5
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "cfcompare",
  "_universes": [
    "takuma1102"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-28T00:16:56.000Z",
      "distro": "resolute",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "5b90cddf22e0addf292d2506b1868461a9a7e2c8996266b487ff360e7a995608",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-28T00:17:00.000Z",
      "distro": "resolute",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "2c6d06e4be0b0fc6757dbed9b2cc667dd7b58ef898b3b4cd9d5a921d421e92ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-28T00:16:13.000Z",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "eb56c5be0fb9583f10fe14cca3140dd92090f8ac678c0195e2981959a9604781",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-28T00:16:27.000Z",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "a2331430dc988024cedb389a93750471f33528236ab47a7becf8442addb3323a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-28T00:16:52.000Z",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "d35f24886a9c29e95dac755e0a220d1fb6356059d2635fb327699a90c6848aeb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-28T00:17:57.000Z",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "b5cca5c8f13d9bb8482af67ad111dac2f226bf8daf2d7f7b61841996440e63e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-28T00:16:39.000Z",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "fcb2af1c93e39722a145332e04069a221b4e0533348c2697081d5af7d1bd0045",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-28T00:17:28.000Z",
      "commit": "3b1568bbe38f2fccc0f03f0032dda618a6b69a2a",
      "fileid": "f3d33ed4329b66f4430d21b4f621853734903505a2d0a57848d878a69b70a90a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28305991171"
    }
  ]
}