LN and NOLOG Subcommands (CASEPLOT command)
LN
transforms
the data using the natural logarithm (base e) of the variable and is used to remove varying amplitude
over time. NOLOG
indicates that
the data should not be log transformed. NOLOG
is the default.
- If you specify
LN
onCASEPLOT
, any differencing requested on that command will be done on the log-transformed variable. - There are no additional specifications on
LN
orNOLOG
. - Only the last
LN
orNOLOG
subcommand on aCASEPLOT
command is executed. - If a natural log transformation is requested, any value less than or equal to zero is set to system-missing.
-
NOLOG
is generally used with anAPPLY
subcommand to turn off a previousLN
specification.
Example
CASEPLOT VARIABLES = TICKETS
/LN.
- In this example, TICKETS is transformed using the natural logarithm before plotting.