Stata 15 help for level

[R] level -- Set default confidence level

Syntax

set level # [, permanently]

# is any number between 10.00 and 99.99 and may be specified with at most two digits after the decimal point.

Description

set level specifies the default confidence level for confidence intervals for all commands that report confidence intervals. The initial value is 95, meaning 95% confidence intervals.

Option

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

Remarks

To change the level of confidence intervals reported by a particular command, you need not reset the default confidence level. All commands that report confidence intervals have a level(#) option. When you do not specify the option, the confidence intervals are calculated for the default level set by set level or for 95% if you have not reset it.

Note concerning estimation commands

All estimation commands can redisplay results when they are typed without arguments; see estcom. The width of the reported confidence intervals is a property of the display, not the estimation. For example,

. sysuse auto . regress mpg weight displ (output appears)

. regress, level(90) (output reappears, this time with 90% confidence intervals)

Examples

. set level 90

. set level 99, permanently


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