Announcement

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

  • tabcount stored result

    First, thank you very much Dr. Cox for providing such a tool.
    Tabcount works very well for me and solves the restriction of tabstat.
    Now what I want to do is, refering to the stored result provided by tabcount.

    In the other words, for regress command, I can do something like
    : regress v1 v2
    matrix coef = e(b)
    and then whenever I need any element from e(b), I can refer to coef[i, j].

    So I am finding the e(b) equivalent for the case of tabcount, too.
    Thank you for your help in advance.

  • #2
    Thanks for the appreciation!

    tabcount is from SSC; it was discussed in


    Code:
    SJ-3-4  pr0011  . . . . . . . .  Speaking Stata: Problems with tables, Part II
            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N. J. Cox
            Q4/03   SJ 3(4):420--439                                 (no commands)
            reviews three user-written commands (tabcount, makematrix,
            and groups) as different approaches to tabulation problems


    Please note our request at https://www.statalist.org/forums/help#stata 12.1 to explain where community-contributed commands you refer to come from.

    tabcount is not an e-class or r-class command -- as would be documented if that were so -- but as explained in the help

    reduced datasets and/or matrices containing the frequencies may .... be saved
    on which see the replace and matrix() options.
    Last edited by Nick Cox; 22 Jul 2024, 01:53.

    Comment


    • #3
      Thank you so much, matrix() option did work. I just have visited the help note of which you provided the link.
      Have a nice day!

      Comment

      Working...
      X