Date: Tue, 18 Aug 1998 10:50:37 -0500
Reply-To: "Matheson, David" <davidm@SPSS.COM>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: "Matheson, David" <davidm@SPSS.COM>
Subject: Re: Transformations
Douglas,
For w = reciprocal square root of x ,which I'm interpreting as simply
1/(square root of x):
compute w = 1/sqrt(x) .
For w = log base 2 of x:
compute w = ln(x)/ln(2).
where ln is the natural log function. For the log to other
bases, replace 2 in the denominator with the required base.
You can run both of the above transformations from the
Transform->Compute menu in versions of SPSS with
a graphic user interface (GUI).
David Matheson
SPSS Statistical Support
> -----Original Message-----
> From: Douglas J. Anderson [SMTP:Douglas.Anderson@ENMU.EDU]
> Sent: Tuesday, August 18, 1998 1:30 AM
> To: SPSSX-L@UGA.CC.UGA.EDU
> Subject: Transformations
>
> SPSS Users:
> >
> >Is there a place I'm overlooking where I can transform variables using a
> >reciprocal square root function and log base 2 function? Or some method
> >of writing a compute expression to produce these results?
> >
> >Thanks.
> >
> >Douglas Anderson
> >Masters Candidate in Anthropology
> >Eastern New Mexico University
> >Portales, New Mexico
> >Douglas.Anderson@enmu.edu
> >
|