Announcement

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

  • Set number of decimals in the whole do file

    Hi everyone,

    In order to improve visualization, I was wondering whether if there existed any command to set the amount of decimal numbers in all the analysis (do file) instead of setting it at each command

    Grateful in advance

  • #2
    Not entirely clear what you mean. If you want to set the number of decimal points in regression output tables once and for all, see the help for

    Code:
    set cformat
    set pformat
    set sformat
    commands.

    Comment


    • #3
      I mean not in a reression output, but in all kinds of outputs the do file will execute (tabulate, difference tests..)

      Comment


      • #4
        There is no such overarching setting.

        One problem is that it wouldn't really be what anyone wanted. How would it work? Display all numbers whatsoever to 3 decimal places, or 3 significant figures? Just as a start I might want sample sizes as integers, correlations to 3 decimal places, regression coefficients to 3 significant figures: that's 3 rules already and we've only just started.

        Comment


        • #5
          I am new member here. I need help !
          I want to change the decimal of percentages in one-tabulation to only one decimal (e.g. tab gender) . If you have any idea , please kindly help.
          Last edited by Chhim Srean; 19 May 2016, 03:10.

          Comment


          • #6
            Code:
            format gender %2.1f

            Comment

            Working...
            X