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
LNonCASEPLOT, any differencing requested on that command will be done on the log-transformed variable. - There are no additional specifications on
LNorNOLOG. - Only the last
LNorNOLOGsubcommand on aCASEPLOTcommand is executed. - If a natural log transformation is requested, any value less than or equal to zero is set to system-missing.
-
NOLOGis generally used with anAPPLYsubcommand to turn off a previousLNspecification.
Example
CASEPLOT VARIABLES = TICKETS
/LN.
- In this example, TICKETS is transformed using the natural logarithm before plotting.