Announcement

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

  • The commands that work in Stata-16 and not in 17.

    Hello everyone,
    I used some commands in my do-file in Stata-16 and now they do not work in Stata-17. For example:
    1. table country countryID region
    2. table isic growth, contents(mean emp_growth_p) by(sector_MS) format(%9.1f), if ownership==1
    Any idea how I can update these 2 commands to get the same result? My dataset is attached.
    Attached Files

  • #2
    Table does not support character variables in Stata 17 (a surprising limitation in an update, but Stata 17 includes a new table function with lots of other featuers).

    You can solve issues with character variables in tables by using
    Code:
    version 16:
    ahead of your command.

    Following up on OP's chosen title for the post:
    Are there other features in version 16 that currently are not supported in version 17?
    Last edited by Christopher Bratt; 26 Jun 2021, 02:55.

    Comment


    • #3
      Thanks a lot.
      Its very helpful. However, if you want to export the table to MS-Word format by using ‘collect export’ in Stata-17, you have to update your table command.
      Regarding your question, I have used Stata-17 for a few days and ‘Table’ is the only syntax that I found different by now.

      Comment

      Working...
      X