Describing numeric fields | Other Commands | How to... |
describe [variable1] [variable2...][/Quiet][/N /Nomissing]
des
The describe command will generate a descriptive distributional statistic for the indicated variable(s).
Variable(s) must be numeric.
If not variable names are indicated, describe will generate a descriptive summary of all numeric variables in the current data file.
With des, you must use * to indicate ALL variables
Note percentiles are weighted for distance bettwen observations.
Output:
For each variable total number of records used in calculations plus Sum, Mean 95% Conf. Interval, Minimum value, Percentiles (5,10,25,50=Median, 75,
90 and 95) and Maximun value are diplayed
Describe AGE (Generate a descriptive of AGE, assuming AGE is a numeric variable)
Describe AGE BMI (Generate a descriptive of AGE and BMI, assuming both are numeric variable)
Quiet N /Nomissing |
Quiet performs the calculations but no output will be displayed Records with missing in any variable are excluded |
$variable# $Missing# $Obs# $Sum# $mean# $var# $sd# $cfil# $cfih# $stdErr# $min# $p05# $p10# $p25# $p50# $p75# $p90# $p95# $max# # |
Variable Name Number of record with missing value Number of observations (records) included in calculation Sum of all values Average Varianza Standard Deviation Lower limit of the Con. Interval Upper limit of the Con. Interval Standard Error Minimun value Percentil 5 Percentil 10 Percentil 25 Percentil 50. Median Percentil 75 Percentil 90 Percentil 95 Maximun Value A sequential value different for each nuemeric variable |
set table design stat=line[box][filled][...] |
Allow you to set the table design |
Bland M.Introduction to Medical Statistics, Oxford, 1995. Second Ed. p 55 |