Coder Social home page Coder Social logo

xtevent's Introduction

xtevent

GitHub release (latest by date)

Stata package xtevent estimates linear panel event-study models.


Description

xtevent is a Stata package to estimate linear panel event-study models. It includes three commands: xtevent for estimation; xteventplot to create event-study plots and; xteventtest for post-estimation hypotheses testing.

  • Last version: 2.0.0 (24jun2022)
  • Current SSC version: 2.0.0 (24jun2022)

Updates

  • Version 2.0.0 (24jun2022):
    • Add impute option for imputing missing values in the policy variable according to several available rules. See the help file to know more about the available imputation rules.
    • The option nonstaggered has been depreciated. The default option is now not to impute missing values or endpoints. You should now choose any of the imputation rules in the impute option. To get results using imputation consistent with staggered adoption, as in version 1.0.0 you should use impute(stag).
    • Now the option trend allows for trend adjustment by either OLS or GMM.
    • Fixed several bugs present in version 1.0.0
    • See here for the complete update list.

Installation

To install version 2.0.0 from SSC:

ssc install xtevent

To update from an older version:

adoupdate xtevent, update

To install the last version in this repository, use the github command:

First, install the github command:

net install github, from("https://haghish.github.io/github/")

Then execute:

cap github uninstall xtevent
github install JMSLab/xtevent

The github command will also install all the necessary dependencies.

If you have an older version and want to update:

github update xtevent

To install using net:

cap ado uninstall xtevent
net install xtevent, from("https://raw.githubusercontent.com/JMSLab/xtevent/master")

To get started

help xtevent


Citation

Simon Freyaldenhoven, Christian Hansen, Jorge Pérez Pérez, and Jesse M. Shapiro. "Visualization, Identification, and Estimation in the Panel Event-Study Design." NBER Working Paper No. 29170, August 2021.

xtevent's People

Contributors

constantino-carreto-romero avatar jorpppp avatar rayhuang11 avatar jmshapir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.