Announcement

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

  • Question about the number of obs using csdid2

    Dear forum,

    I have a quick question about getting the number of obs after running csdid2. I can see the number of observations is reported when using csdid, and I can use e(N) from eretrun list to obtain the number of obs as well. However, when using csdid2, it seems not to report the number of obs as csdid does. And when I run the code:

    Code:
    ereturn list, all
    I would get the following output:

    Code:
    macros:
                   e(base) : "Base Universal"
                  e(cntrl) : "Not yet treated"
                 e(method) : "reg"
              e(estat_cmd) : "csdid2_estat"
                e(cmdline) : "csdid2 ln_dailywage if max_tenure >= 1095, ivar(worker_n.."
                    e(cmd) : "csdid2"
    It does not include e(N). Is there any way I could get the number of obs from csdid2? I would appreciate any help. Thanks in advance!

  • #2
    No, Getting the right number of observations used was tricky, and never went around getting that from the matrices.

    Comment


    • #3
      Originally posted by FernandoRios View Post
      No, Getting the right number of observations used was tricky, and never went around getting that from the matrices.
      Thank you so much for your kind reply!

      Comment

      Working...
      X