Announcement

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

  • Stata 14 option stat() not allowed

    Hi all,

    I am running some descriptive stats and crosstabs which worked perfectly well when using the Stata 17 trial.
    However today I am back to using Stata 14 however I keep getting an error.

    HTML Code:
    . table v1, stat(mean v2 v3)
    option stat() not allowed
    r(198);
    Any idea why this would happen?
    Thanks!

  • #2
    the -table- command was heavily re-written for version 17 - not exactly sure why you want this, but you might investigate -tabstat-

    Comment


    • #3
      Hi Janet, the -table- command was reinvented with Stata 17, so the new syntax can't work with older versions. You will need to adapt accordingly.

      If -v1- is categorical, then this could work

      Code:
      table v1, contents(mean v2 mean v3)

      Comment

      Working...
      X