júní 13, 2011

Describing Data

We have seen how to browse data. Suppose now we want to get into more details of the data variables, variable labels, data types, data formats, e.t.c

This iis pretty easy in Stata. With the help of .describe command, one is able to catch a glimpse of whole data set or just a few variable.

Syntax:

.describe

this will give a description of all variables in the data set

(Assuming we are still using the Students Excel format already loaded here)

. describe

output

describe

For just defined variables

.describe gender this describes only the gender variable

.describe gender state this describes the gender and state variables only.

Other similar  Commands: browse, summary, codebook

Engin ummæli:

Skrifa ummæli