Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Ozer Erdem
    Participant
    Post count: 14

    Hi Dr. Shah,
    Regarding the decimals and number formatting:
    Does use of “c2_tzok c2_dec(10)” changes global formatting?
    For example in a regression, I use c2_tzok c2_dec(10) c3_tzok c3_dec(10) r2_dec(10)

    When I run a ttest several days later on, even though I don’t use the above conditions, I get the same formatting in my table as the regression table.

    Is there a way to make those changes temporary so that when I run an unrelated command, I get default formatting rather than the ones that I used somewhere else?
    Thank you.

    Attaullah Shah
    Moderator
    Post count: 70

    As mentioned here, permanent options are set only in the asdocx_defaults.ado file. Other options, such as decimal points, fonts, and number formatting, are either specific to a particular command or specific to the Stata session. These session-specific options will reset to the default values when Stata is restarted. If you’ve been running Stata for several days without shutting down your computer, these options might have remained in the memory. At any point in your Stata session, if you wish to reset these formattings to default, you may use the command

    asdocx resetfmt
    Ozer Erdem
    Participant
    Post count: 14

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.