gdaccum: Accumulate results from gdprdif
----------------------------------------

This program saves the results from -gdprdif- to a matrix. The -gdaccum-
command is automatically called by -gdprdif- to hold the predictions.
You can also use -gdaccum- to list the results that have been accumulated.

SYNTAX

gdaccum, MATrix(string) [ cval(string) rownm(string) title(string)
    GSave(string) GCur(string) print printonly skip NOVal NOSig Bounds
    makevars reset debug ]

OPTIONS

matrix(string)     Name of matrix to hold accumulated results.

reset              Initialize the matrix to hold results. If matrix
                        already exists, it is replaced with empty matrix.
cval(string)       Value of the control variable; if not specified, the
                       value of the control variable is listed as missing,

rownm(string)      Name to label matrix row for current set of results.

title(string)      Title to label matrix when printed.

print              Print matrix.

printonly          Print matrix and nothing else.

skip               Skip a row in the output matrix.

noval              Do not print the values column.

nosig              Do not print the column indicating if a differences is
                       significant.
bounds             Print upper and lower bounds for predictions for each
                       groups. Note bounds are save to matrix even when
                       they are not printed.

makevars           Transform matrix into variables; variables are named
                       as name of matrix followed by column name.

debug              Print results for debugging.

GLOBALS

-gdaccum- uses results stored in globals from -gdprdif- and -gdset-.

EXAMPLE

gdprdif2, reset matrix(tm3)
foreach art of numlist 0(10)50 {
    local cis "art=`art' year=7 prestige=3"
    local lbl "art_`art'"
    gdprdif2, cis(`cis') cval(`art') matrix(tm3) rownm(`lbl')
}

gdaccum2, matrix(tm3) makevars print

HISTORY

2008-01-26

exit