Stata 15 help for set cformat

[R] set cformat -- Format settings for coefficient tables

Syntax

set cformat [fmt] [, permanently]

set pformat [fmt] [, permanently]

set sformat [fmt] [, permanently]

where fmt is a numerical format.

Description

set cformat specifies the output format of coefficients, standard errors, and confidence limits in coefficient tables.

set pformat specifies the output format of p-values in coefficient tables.

set sformat specifies the output format of test statistics in coefficient tables.

Option

permanently specifies that, in addition to making the change right now, the setting be remembered and become the default setting when you invoke Stata.

Remarks

The maximum format widths for set cformat, set pformat, and set sformat in coefficient tables are 9, 5, and 8, respectively.

Example

Use a %9.2f format for coefficients, standard errors, and confidence limits

. set cformat %9.2f

Reset the format to the command-specific default

. set cformat


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index