Title

mlistat -- List r(at) matrix computed by margins

General syntax

mlistat [your_matrix],
[
atvars(select_at_variables)
nosplit
noconstant
novary
saveconstant(matname)
savevarying(matname)
allbaselevels
fvexpand
quietly
roweqnm(row_eq_name_to_add)
decimals(decimal_digits)
width(column_width)
]

Overview

Following the margins command, the r(at) matrix
holds the values of the predictors
at which predictions are computed.
mlistat presents constant and varying values separately for greater clarity, and allows you to list values for selections of variables.

Options

atvars(varlist)
list only the at variables specified. For example,
atvars(k5 wc) or atvars(1(1)3).

nosplit do not divide output into constant and varying at() values.

noconstant do not print at() values that are constant.

novary do not print at() values that vary.

saveconstant(matname) save constant at() values as matrix matname.

savevarying(matname) save varying at() values as matrix matname.

allbaselevels print column values for base levels and other omitted variables.

fvexpand print factor variables as set of indicator variables.

quietly results are not printed.

coleqnm(colstub)
add the equation name colstub to the columns in the matrix where
the results are saved.
For example, coleqstub("Model 1") adds add "Model 1" above
columns with the results.

roweqnm(rowstub) add the equation name rowstub to the rows where results are saved.

decimal(numlist) set the number of decimal digits
for each column when listing the matrix.
Columns can have different numbers of decimal digits.
For example, mlistat, decimal(3 2 2).

width(number) specify the width of the columns.

Examples

Using mlistat after margins

. spex logit

. margins, at(wc=(0 1) hc=(0 1) lwg=3 inc=50)

. mlistat

. mlistat, noconstant

. mlistat, atvar(1.wc)