Announcement

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

  • #16
    Even faster would be

    Code:
    mata : st_store(., st_addvar(c("obs_t"), "id3"), (1::st_nobs()))
    but the time savings compared to generate would be eaten up by typing this. Also, it gets much more complicated to do this stuff in Mata by groups.


    FWIW, I think that c(obs_t) not appearing in creturn list is a "bug"; it has been around since version 14 and it is part of the pdf documentation, so it should be listed.

    Comment

    Working...
    X