__Title__

**ml score** -- Generating scores after maximum likelihood estimation

__Syntax__

Syntax for the scores from a specified equation:

**ml** **score** *newvar* [*if*] [*in*] [**,** __eq__**uation(***eqname***)** __miss__**ing** ]

Syntax for the scores from all equations:

**ml** **score** *newvarlist* [*if*] [*in*] [**,** __miss__**ing**]

**ml** **score** [*type*] *stub****** [*if*] [*in*] [**,** __miss__**ing**]

__Description__

**ml** **score** creates new variables containing the equation-level scores. The
variables generated by **ml** **score** are equivalent to those generated by
specifying the **score()** to **ml** **maximize** (and **ml** **model** ... **,** ... **maximize**).

__Options__

**equation(***eqname***)** identifies from which equation the observation scores
are to come. This option may be used only when generating one
variable.

**missing** specifies that observations containing variables with missing
values not be eliminated from the estimation sample.

__Remarks__

**ml** **score** is always allowed when used after estimation commands that use
method lf likelihood evaluators.

It is an error to call **ml** **score** after estimation commands that do not use
method lf, d1, or d2 likelihood evaluators.

__Examples__

Single-equation model:

**. poisson accidents**
**. ml score score**

Two-equation model (generates variables **sc_1** and **sc_2**):

**. nbreg deaths coh2 coh3, exposure(obstime)**
**. ml score sc_***

or

**. nbreg deaths coh2 coh3, exposure(obstime)**
**. ml score sc_1, equation(#1)**
**. ml score sc_2, equation(#2)**