júní 13, 2011

My Codebook

Either type codebook  in the Command window and press Enter or navigate the menus to Data > Describe data > Describe data contents (codebook), and click OK. We get a large amount of output that is worth investigating. Look it over to see that much can be learned from this simple command. You can scroll back in the Results window to see earlier results, if need be. I will focus on specific variables, here the variable id

Syntax:

.codebook id (I assume you have loaded our data set)

Output

codebook

The codebook commands gives the variable name(id) Variable label (ID), type(whether numeric, String, e.t.c) number of unique values(here 30) ,mean, standard deviation, and major percentiles.

Use codebook when you want to know more about a variable.

Other similar Commands: describe, summary, browse

Engin ummæli:

Skrifa ummæli