Announcement

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

  • display exact number of distinct values

    Hi there
    I'm using the ssc command -distinct- to count the number of distinct values of "type", but my number of distinct values is so high that it is displayed with scientific notation (i.e. 3.66e+08).
    Does anyone know if there is a way to display the exact value?
    My current command is:
    Code:
    distinct type
    Thanks

  • #2
    Code:
    distinct
    is to be cited please as published and maintained through the Stata Journal. Blame me if you like for not maintaining the SSC version in parallel.

    Even the latest version from Stata Journal 23(4) will I suspect do that, which is a matter of Stata internals rather than programmer choice.

    I note this as a wish for future versions.

    There's also a typo in the help for the latest version. Sorry about that.

    Comment

    Working...
    X