help mest (User-written stata packages: mtab)

Title

mest -- Store the results in matrix for regression models

Syntax

mest
[if] [in]
[, options
]

Options
Col indicates a number list of results that should be exported and stored in matrix.

Description

Command mest export and store the results (coefficient and confidence level) in matrix.

Options

col specify a number list of results that should be exported and stored in matrix.
If the option base is added at the end of the regression, the number is counted from the top to the bottom at the coefficient table; Alternatively, immediately after the regression model, you run the commend "mat list r(table)"
and number can be counted from the left to the right.
The number list allows standard number-list notation. There are a number of shorthand conventions to reduce the amount of typing necessary. For instance: see numlist.

Examples

1. load an oneline data

.webuse lbw

2. logistic regression (remeber to add the option base at the end of regression)

.logistic low i.race, base

.mest, c(1/3)

.mest, c(2/3)

3. Linear regression (remeber to add the option base at the end of regression)

.regress bwt age i.race, base

.mest, c(1)

.mest, c(3/4)

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, mtab1, mtab2, msum, mmat, mexcel, and mobs