{
  "name": "csdid method() and key options: definitions from the Stata help file",
  "description": "Compiled from the csdid help file and postestimation help file (stpackages repository): the 2x2 estimator keywords of method() and the main control-group, base-period, standard-error and aggregation options, with their stated defaults.",
  "page": "https://casrai.org/guides/csdid-stata",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-18T02:43:53Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Option or keyword",
      "unit": "",
      "description": ""
    },
    {
      "name": "Group",
      "unit": "",
      "description": ""
    },
    {
      "name": "What the help file says it does",
      "unit": "",
      "description": ""
    },
    {
      "name": "Stated default",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Option or keyword": "method(dripw)",
      "Group": "Estimator",
      "What the help file says it does": "Sant'Anna and Zhao (2020) doubly robust DiD estimator using stabilised inverse probability weighting and ordinary least squares",
      "Stated default": "Default when covariates are given"
    },
    {
      "Option or keyword": "method(drimp)",
      "Group": "Estimator",
      "What the help file says it does": "Sant'Anna and Zhao (2020) improved doubly robust estimator using inverse probability of tilting and weighted least squares",
      "Stated default": "No"
    },
    {
      "Option or keyword": "method(reg)",
      "Group": "Estimator",
      "What the help file says it does": "Outcome-regression DiD estimator based on ordinary least squares",
      "Stated default": "Default when no covariates are given"
    },
    {
      "Option or keyword": "method(stdipw)",
      "Group": "Estimator",
      "What the help file says it does": "Inverse probability weighting DiD estimator with stabilised weights",
      "Stated default": "No"
    },
    {
      "Option or keyword": "method(ipw)",
      "Group": "Estimator",
      "What the help file says it does": "Abadie (2005) inverse probability weighting estimator; may not perform well with unbalanced panel data",
      "Stated default": "No"
    },
    {
      "Option or keyword": "method(rc1)",
      "Group": "Estimator",
      "What the help file says it does": "With drimp or dripw, doubly robust but not locally efficient repeated cross-section estimators; not available with panel data",
      "Stated default": "No"
    },
    {
      "Option or keyword": "notyet",
      "Group": "Control group",
      "What the help file says it does": "Use never-treated and not-yet-treated observations as controls",
      "Stated default": "Never-treated only; notyet applies automatically if no never-treated units exist"
    },
    {
      "Option or keyword": "long",
      "Group": "Base period",
      "What the help file says it does": "Estimate long rather than short gaps for pre-treatment periods",
      "Stated default": "Short gaps"
    },
    {
      "Option or keyword": "long2",
      "Group": "Base period",
      "What the help file says it does": "Same as long with the sign flipped; closest to standard event-study effects",
      "Stated default": "Short gaps"
    },
    {
      "Option or keyword": "asinr",
      "Group": "R replication",
      "What the help file says it does": "Use all not-yet-treated cohorts for pre-treatment not-yet-treated ATTGTs, as the R DID package does",
      "Stated default": "Stata uses cohorts not treated at time G"
    },
    {
      "Option or keyword": "pscoretrim(#)",
      "Group": "Estimator",
      "What the help file says it does": "Trim control observations with extreme propensity score values",
      "Stated default": "0.995"
    },
    {
      "Option or keyword": "wboot",
      "Group": "Standard errors",
      "What the help file says it does": "Multiplicative wild-bootstrap standard errors; reps(#) sets repetitions, wtype can select Rademacher weights",
      "Stated default": "Off: robust asymptotic standard errors via influence functions; 999 repetitions with Mammen weights when on"
    },
    {
      "Option or keyword": "agg(aggtype)",
      "Group": "Aggregation",
      "What the help file says it does": "Aggregation shown as command output: attgt, simple, group, calendar or event",
      "Stated default": "attgt"
    }
  ],
  "sources": [
    {
      "title": "csdid help file (stpackages repository)",
      "url": "https://raw.githubusercontent.com/friosavila/stpackages/main/csdid/csdid.sthlp",
      "accessed": "2026-11-17"
    },
    {
      "title": "csdid postestimation help file, version 2.1",
      "url": "https://raw.githubusercontent.com/friosavila/stpackages/main/csdid/csdid_postestimation.sthlp",
      "accessed": "2026-11-17"
    }
  ]
}