Stata Inspect

-inspect- describes a numeric variable.


Usage

inspect foo
insepct foo if bar==1
insecpt foo in 1/10

The output includes:

As an example:

. webuse auto
(1978 automobile data)

. inspect mpg
mpg:  Mileage (mpg)                     Number of observations
                                     Total    Integers    Nonintegers
       #                  Negative       -           -              -
       #                  Zero           -           -              -
       #                  Positive      74          74              -
   #   #
   #   #   #              Total         74          74              -
   #   #   #   #   .      Missing        -
12                   41                 74
  (21 unique values)


See also

Stata manual for -inspect-


CategoryRicottone

Stata/Inspect (last edited 2025-10-24 17:17:09 by DominicRicottone)