Transforming Data in SPSS
In this guide we will enter some data and then perform atransformation of the data. Transforming data is performed for awhole host of different reasons but one of the most common is toapply a transformation to data that is not normally distributed sothat the new, transformed data is normally distributed.Transforming a non-normal distribution into a normal distributionis performed in a number of different ways depending on theoriginal distribution of data but a common technique is to take thelog of the data. In this example we will show you how SPSS allowsyou to do this.
There are an infinite possible ways to tranform data,although there are some approaches that are much more common thanothers. We will add extra examples of transforming data in the nearfuture.
Data to Transform
36324541292218361040
Your data should end up looking like the following:
Remember that each individual's results go on a separateline (row) in SPSS.
Published with written permission fromSPSS Inc, an IBM Company.
Rename the variable "Data" instead of thedefault "VAR00001". You can name it somethingelse if you wish.
Click on Transform >Compute Variable... in the top menu.
Published with written permission fromSPSS Inc, an IBM Company.
You need to first select the function you would like to use. Todo this click "All" in the "Functiongroup:" box then scroll down in the "Functions and SpecialVariables:" box and click "Lg10" to selectit.
Transfer the Lg10 function into the "NumericExpression:" box by pressing the
button.
Click the Data variable in the lefthand box and then click the
button which will resultin the expression you see in the "NumericExpression:" box below.
All to do now is to give this new variable a name. We havecalled the new variable "TrData". Type this nameinto the "Target Variable:" box in the top lefthandcorner.
Published with written permission fromSPSS Inc, an IBM Company.
Click on the
button.
You will be presented with the SPSS Data Editor which will nowshow the log transformed data under the new variable name"TrData" that you defined.
Published with written permission fromSPSS Inc, an IBM Company.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。