Home · Command reference

RainbowStats™ · Command reference

LOG — Natural logarithms

Take the natural logarithm of positive values.

Syntax

LOG(series)
LOG(seriesList)

Inputs and results

A series returns a series of natural logarithms. A series list returns a list with each series transformed separately.

Example

x = SERIES_SINCE(INDPRO,20010101)
LINE_CHART(LOG(x))

Notes and interpretation

Use positive values. LOG is the natural logarithm, not base 10. LOG transforms levels; LOGDIFF measures changes in logarithms.

Learn more

Detailed guide and examples