{smcl}
{hline}
help for {hi:nscore}
{hline}

{title:Transforming to and from normal scores}

{p 4 8 2}
{cmdab:nscore}
{it:varlist}
[{cmd:if} {it:exp}]
[{cmd:in} {it:range}]
{cmd:,} {opt gen:erate(newvarlist)}

{title:Description}

{pstd}
The command {cmd:nscore} transforms one or more continuous variables
to normal scores, storing the results in the variables given by
{it:newvarlist}. If the {opt gen} option is given as {opt gen(root)}
or {opt gen(root*)}, new variables called root1 root2 etc will be
created as necessary.

{pstd}
The command {cmd:invnscore} converts back from a normal score to the
original scale of the variable, if the normal score is not missing but
the original variable is. It is designed for use in imputation,
where imputing a normally distributed variable may be more reliable
than imputing a variable with an unusual distribution.

{pstd}
Typically, {cmd:nscore} and {cmd:invnscore} would be used as follows:

{cmd:. nscore var1 var2 var3, gen(nscore)}
{cmd:. ice nscore* using imputed_data, m(5)}
{cmd:. use imputed_data, clear}
{cmd:. invnscore var1 var2 var3}

{pstd}
These commands will replace missing values of var1 var2 and var3 with
imputed values.

{title:Options}

{phang}
{opt gen:erate(newvarlist)} Gives a list of variables in which to
store the normal scores of the variables in {it:varlist}. This option
must be given.

{title:Author}

{p 4 4 2}
Mark Lunt, Arthritis Research UK Epidemiology Unit

{p 4 4 2}
The University of Manchester

{p 4 4 2}
Please email {browse "mailto:mark.lunt@manchester.ac.uk":mark.lunt@manchester.ac.uk} if you encounter problems with this program

