| Date: | Sat, 7 Nov 1998 11:54:54 -0500 |
| Reply-To: | "David F. Greenberg" <dg4@IS3.NYU.EDU> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU> |
| From: | "David F. Greenberg" <dg4@IS3.NYU.EDU> |
| Subject: | Re: Natural Log |
|
| In-Reply-To: | <v01540b01b269b242795c@[198.59.107.100]> |
| Content-Type: | TEXT/PLAIN; charset=US-ASCII |
|---|
It is not clear to me that this questioner was asking how to calculate the
reciprocal of a logarithmic function. He may have been asking for the
inverse function, the function that will "undo" the logarithm. That
function is the exponential. - David Greenberg, Sociology Department, New
York University, New York, NY
On Sat, 7
Nov 1998, Douglas J. Anderson wrote:
> >
> >To:Tom Brewer <tb4108@CNSVAX.ALBANY.EDU>
> >From:Douglas.Anderson@enmu.edu (Douglas J. Anderson)
> >Subject:Re: Natural Log
> >
> >>Does anyone know the SPSS Syntax that will calculate the inverse of the
> >>natural logarithm (ln)?
> >>
> >><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> >><html>
> >>Does anyone know the SPSS Syntax that will calculate the <i>inverse</i>
> >>of the natural logarithm (ln)?</html>
> >_______________________________________________________________________________
> >
> >Tom:
> >
> >If the variable that I wish to calculate is named (whatever it is),
> >inverse, then I would compute it as follows:
> >
> >COMPUTE inverse=1/(LN(inverse)).
> >
> >This assumes that you need to compute the log normal first, followed by
> >the inverse, hence the parentheses around the entire second expression.
> >If you've already calculated your variables as log normal, then simply
> >write as follows:
> >
> >COMPUTE inverse=1/inverse.
> >
> >Douglas Anderson
>
|