Looking at what you have
Before you analyse anything, find out what is actually in the file.
What we have
- Lists every column: its name, what kind of thing it holds, and what it means.
- Goes through variables one at a time and says what is really in them.
- Prints the actual rows to the screen.
- Counts rows — all of them, or only those meeting a condition.
- Counts the blanks (missing values) in each column.
- Finds rows that appear more than once.
- Stops with an error unless something you believe is true of every row.
- Checks that a column (or a set of them) identifies each row uniquely.
Coming later
compact— accepted, but the full form is printed anywaycompressformat— the display format is shown but there is no command to change itinspect, Stata's quick look at a variable's valuesmisstable patterns— accepted, but it prints the summary insteadset mincelldoes not reachlist, so it can still show one person's row- the display options:
noobsis accepted but changes nothing
describeLists every column: its name, what kind of thing it holds, and what it means.
codebookGoes through variables one at a time and says what is really in them.
listPrints the actual rows to the screen.
countCounts rows — all of them, or only those meeting a condition.
misstableCounts the blanks (missing values) in each column.
duplicatesFinds rows that appear more than once.
assertStops with an error unless something you believe is true of every row.
isidChecks that a column (or a set of them) identifies each row uniquely.