Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to obtain the sample size used by csdid2?

    Dear all:

    I am using csdid2 (net install csdid2, from("https://friosavila.github.io/stpackages")) and would like to know how to obtain the sample size used in the estimation. Is there an option or stored result that reports the number of observations actually used by csdid2? Thank you.

    Code:
    *ssc install csdid
    *ssc install drdid
    *net install csdid2, from("https://friosavila.github.io/stpackages")
    
    *ssc install frause
    
    frause mpdta, clear
    
    csdid lemp, ivar(countyreal) time(year) gvar(first)
    estat event
    estat simple
    
    csdid2 lemp, ivar(countyreal) tvar(year) gvar(first)
    estat event
    estat simple
Working...
X