STATA 11 for Windows SAMPLE SESSION - Food Security Group ...
STATA 11 for Windows SAMPLE SESSION - Food Security Group ...
STATA 11 for Windows SAMPLE SESSION - Food Security Group ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Stata <strong>11</strong> Sample Session Section 1 - Basic functions: Files, Descriptives, Data Trans<strong>for</strong>mations<br />
executed.<br />
+-------------------+<br />
| Key |<br />
|-------------------|<br />
| frequency |<br />
| row percentage |<br />
| column percentage |<br />
+-------------------+<br />
The Stata command is:<br />
tabulate ca2 ca4, column row<br />
The Key box in the Review window specifies which<br />
statistics appears on each row in the cells.<br />
relation to | sex<br />
head | m f | Total<br />
---------------+----------------------+----------<br />
head | 321 21 | 342<br />
| 93.86 6.14 | 100.00<br />
| 41.42 2.88 | 22.74<br />
---------------+----------------------+----------<br />
wife/husband | 2 306 | 308<br />
| 0.65 99.35 | 100.00<br />
| 0.26 41.98 | 20.48<br />
---------------+----------------------+----------<br />
son/daughter | 374 336 | 710<br />
| 52.68 47.32 | 100.00<br />
| 48.26 46.09 | 47.21<br />
---------------+----------------------+----------<br />
mother/father | 1 5 | 6<br />
| 16.67 83.33 | 100.00<br />
| 0.13 0.69 | 0.40<br />
---------------+----------------------+----------<br />
other relative | 77 61 | 138<br />
| 55.80 44.20 | 100.00<br />
| 9.94 8.37 | 9.18<br />
---------------+----------------------+----------<br />
Total | 775 729 | 1,504<br />
| 51.53 48.47 | 100.00<br />
| 100.00 100.00 | 100.00<br />
How many cases are included? Only 1,504 cases are<br />
included in this table. What about cases with missing<br />
values?<br />
1. Return to the dialog box and place a ✓mark in<br />
the box next to “Treat missing values like other<br />
values”.<br />
2. Click on the copy button, switch to the Do-File<br />
Editor and paste the command. Write a comment<br />
38