Date: Sat, 7 Nov 1998 11:54:54 -0500 "David F. Greenberg" "SPSSX(r) Discussion" "David F. Greenberg" Re: Natural Log To: "Douglas J. Anderson" 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 >

Back to: Top of message | Previous page | Main SPSSX-L page