Skip to content

Roadmap

jmshapir edited this page May 20, 2023 · 39 revisions

Short term

  • Review functioning of package with static models and make EventStudyPlot() work with them.
  • Create an independent function to check status of the panel (including unit tests) to replace this code in EventStudy. See related comment here.
  • Clean up EventStudyOLS and EventStudyFHS. In each if we currently declare the entire estimation, whereas it'd be more efficient to go over ifs on top of the script and declare estimation once at the bottom. See related comment here.
  • Re-check comparison of SEs to xtevent
  • Re-check behavior of EventStudy when only one unit has enough time-periods to estimate all event study coefficients. See here.
  • Consider making PrepareModelFormula() return a string, and transforming that string into a formula before estimation. See this thread.

Someday

Methods

Code

  • Allow arbitrary types for the time variable in the panel dataset by allowing the user to optionally request that the package create a masked time variable that consists of increasing integer values. For more context, see discussion here.
  • Add a function to produce a latex table or show in an example how to use existing packages to do so.
  • Consider allowing alternatives to estimatr package, such as fixest
  • Consider checking and displaying our code coverage
  • Consider using renv for managing and shipping the R packages used in eventstudyr
  • Consider renaming the function PreparePlottingData() to something that better describes its functionality. It prepares the event-time labels, so perhaps the name PrepareEventTimeLabels()
  • Consider the lifecycle package for if/when we release newer versions of our exported functions

Resources

  • Create a website for the package using the R package pkgdown since it says "you'll get a decent website without any additional work" and you can "get a basic website up and running in just a couple of minutes"

Submit to Journals

Clone this wiki locally