help statout1 (2011-06-03)

Title

statout1 Revising and formattng collected matrices

Syntax

statout [collect-matrix]
,
[options]

collect-matrix Name of matrix with collected results. The
matrix does not need to be created by statsto.
If no name is specified, the matrix StatSto is assumed.

Operations on rows and columns

You can rearrange, select, and rename columns or rows in
the collect matrix. Commands for columns are listed; corresponding
commands for rows begin with r (e.g., calpha is ralpha).

calpha Arrange columns by alphabetical order of the
column names. This is done after other options in this section.
Hence if columns are renamed with crename() the renamed
columns are alphabetized.

cdrop(col-list) Drop the columns
in col-list.

ckeep(col-list) Keep the columns in
col-list.

cnumber Numbers are added to the front of the
column names. For example, if the column is named
x1EST it would be renamed 1_x1EST.

corder(col-list) Columns are reordered to match
the col-list. Columns not in the
list are deleted. For example, corder(1 7 5) drops all
columns except for 1, 5 and 7 and places these columns in
the order 1-7-5. Numbers or
names can be used in the column list.

crename(current-name=new-name... | list-of-new-labels)
Columns are renamed. Either you can list the current name equal to
a new name (repeating as often as you want) or you can supply a
list of namesfor all columns.

Listing the collect matrix

colnames List the column names.

list List the collect matrix. You can use this
option along with other options or as the only option
(e.g., statout mymatrix, list).

preview Preview the changes to the collect matrix but do
not retain the changes. This lets you check what statout
options do or lets list a matrix using the row and column
options without modifying the original collect matrix.

rownames List the row labels.

title(string) Title used when listing matrix.

transpose Transpose the matrix before listing. The
original matrix is not change.

Formatting the listed numbers

format(string) The format used for listing
the matrix. For example, format(%10.2f).
See format for details.

width(integer) The column width for
listing the matrix. For example, to
list each column with a width of 12, width(12).

decimals(integer) The number of decimal digits
used when the matrix is listed. For example, to
list with three digits, decimals(3).

Generating variables and saving matrices

generate(col-list) Variables
are generated from the columns in col-list;
_all selects all columns. If the transpose option is used,
the matrix is transposed before generating variables. Hence
variables are created from the rows.

genstub(gstub)
Variables are named gstub+column-name.

save(new-matrix) The current matrix is saved as
matrix new-matrix. Operations from the current statout command
are completed before saving the matrix.

Specifying rows or columns

You can specify columns using column indices or column names.
For example, to specify the 1st, 7th and 4th column you can use the
column numbers: 1 7 4. Assuming the columns are named Col#,
you can select the same columns as: Col1 Col7 Col4. You can mix
names and numbers: 1 7 Col4. Adjacent columns can be selected using
a dash. For example to select columns 3 through 9 you could use any of the
following: 3-9 or Col3-Col9 or Col3-9 or 3-Col9.
The abbreviation _all selects all columns. The same methods can be
used to select rows. For example, Row10 Row1 3-5 Row7-8 9-Row13
translates into the indices 10 1 3 4 5 7 8 9 10 11 12 13

Examples

References

Jann, B. 20xx.

Authors

statsto, statout, graphsto, and statout are not
official Stata command. If you use the commands, please cite them as:

If you use these commands, please cite: Wolfe , Joseph D. and J. Scott Long
(2011) Collecting statistical results. For futher information (eventually...),
see the Collecting site.

Also see

Commands: statout, graphsto, graphout

Manual: [R] regress

Help: [R] regress postestimation,
[R] regress postestimation time series