help mtab1 (User-written stata packages: mtab)

Title

mtab1 -- Store the results (frequencies and percentages) in matrix for one-way table

Syntax

mtab1
varlist
[if] [in]
[, options
]

Options
nolabel display numeric codes rather than value labels

missing treat missing values like other values

Description

Command mtab1 makes an one-way table and store the results (frequencies and percentages) in matrix.

Options

nolabel causes the numeric codes to be displayed rather than the value labels.

missing requests that missing values be treated like other values in calculations of counts, percentages.

Examples

1. load an oneline data

.webuse lbw

2. makes an one-way table and store the results (frequencies and percentages)

.mtab1 smoke

.mtab1 low

.mtab1 low if smoke==1

More examples

click on her

Author

Chunsen Wu, the University of Southern Denmark; Odense University Hospital, Denmark

cwu@health.sdu.dk

chunsen.wu@rsyd.dk

Also see

Help: mtab, mtab2, msum, mest, mmat, mexcel, and mobs