*! version 0.5.0 26May2009
help gcprgen: creates variables to plot for comparing groups \ 0.5.0 2009-05-26.

Title

gcprgen -- Computes predicted probabilities across groups over
a sequence of values of one variable holding other variables constant. It is the GC
counterpart to the SPost prgen command.

Syntax

gcprgen variable
,
from(start-value)
to(end-value)
[{ cmd:gap(}value) | ncases(value) ]
gen(string)
x(variable=value...)
matrix(string)
print
nomakevars
noisily

variable is the variable from the model that will change from the the start-value
to the end-value.

Description

gcprgen computes group differences in predicted probabilities as one
variable changes from a start value to an end value holding other variables
constant. It generates variables suitable for plotting.

Options

from() sets the start value for variable that changes.

to() sets the end value for variable that changes.

gap() is the amount of increament from the start value.

ncases() alternatively, indicates the number of predictions to
compute between the start and end values.

gen() is the stem for the variables that are created to hold the predictions.

x() specifies the levels of variables as with prvalue.

matrix() is the name of the matrix to hold the predictions.

print will print the results matrix even if no new values are being
added.

nomakevars will print the matrix but not make new variables from
the columns of the matrix.

noisily will show lots of output as predictions are computed.

Examples

. gcprgen...

Saved globals and variables

Globals

a ...to be added

b ...to be added

Variables

a ...to be added

b ...to be added