
POSTGRADUATE CORNER 

Year : 2010  Volume
: 1
 Issue : 2  Page : 126127 


Data transformation
S Manikandan
Assistant Editor, JPP, Pondicherry, India
Date of Web Publication  10Nov2010 
Correspondence Address: S Manikandan Department of Pharmacology, Indira Gandhi Medical College and Research Institute, Kadirkamam, Pondicherry India
 3 
DOI: 10.4103/0976500X.72373 PMID: 21350629
How to cite this article: Manikandan S. Data transformation. J Pharmacol Pharmacother 2010;1:1267 
Preparing the data facilitates statistical analysis and this includes data checking, computingderived data from the original values, statistically adjusting for outliers and data transformation. The initial three methods have been explained previously in this series. ^{[1]} Data transformation also forms part of initial preparation of data before statistical analysis.
When to do Transformation?   
The pattern of values obtained when a variable is measured in large number of individuals is called a distribution. ^{[2]} Distribution can be broadly classified as normal and nonnormal. The normal distribution is also called 'Gaussian distribution' as it was first described by K.F. Gauss. This is called normal distribution as most of the biological parameters (such as weight, height and blood sugar) follow it. There are a very few biological parameters which do not follow normal distribution, for example antibody titre, number of episodes of diarrhoea, etc. The beginners should not be confused with the term 'normal' as it does not necessarily imply clinical normality and there is nothing abnormal in the 'nonnormal' distributions.
One of the assumptions of the statistical test used for testing hypothesis is that the data are samples from normal distribution.^{[3]} Hence it becomes essential to identify skewed/normal distributions. There are some simple ways to detect skewness. ^{[4]}
 If the mean is less than twice the standard deviation, then the distribution is likely to be skewed.
 If the population follows normal distribution, then the mean and the standard deviation of the samples are independent. This fact can be used for detecting skewness. If the standard deviation increases as the mean increases across groups from a population, then it is a skewed distribution.
Apart from these simple methods, normality can be verified by statistical tests like Kolmogorov  Smirnov test.
Once skewness is identified, every attempt should be made to convert it into a normal distribution, so that the robust parametric tests can be applied for analysis. This can be accomplished by transformation.
Transformations can also be done for the ease of comparison and interpretation. The classical example of a variable which is always reported after logarithmic transformation is the hydrogen ion concentration (pH). Another example where transformation helps in the comparison of data is the logarithmic transformation of doseresponse curve. When the doseresponse relationship is plotted it is curvilinear. When the same response is plotted against log dose (log doseresponse plot) it gives an elongated Sshaped curve. The middle portion of this curve is a straight line and comparing two straight lines (by measuring their slope) is easier than comparing two curves. Hence transformation can assist in the comparison of data.
In a nutshell, transformation can be carried out to make the data follow normal distribution or at times for ease of interpretation/comparison.
Which Type of Transformation to USE?   
Many a times, the transformation which makes the distribution normal also makes the variance equal. Even though there are many transformations like logarithm, square root, reciprocal, cube root, square, the initial three are more commonly used. The following are the guidelines for the selection of a method of transformation. ^{[5]}
 If the standard deviation is proportional to the mean, the distribution is positively skewed and logarithmic transformation is the ideal one.
 If the variance is proportional to the mean, square root transformation is preferred. This happens more in case of variables which are measured as counts e.g., number of malignant cells in a microscopic field, number of deaths from swine flu, etc.
 If the standard deviation is proportional to the mean squared, a reciprocal transformation can be performed. Reciprocal transformation is carried out for highly variable quantities such as serum creatinine.
Among these three transformations, logarithmic transformation is commonly used as it is meaningful on back transformation (antilog). ^{[3],[6]}
Caution
A small cautionary note for the beginners performing transformation is that all calculations should be done in the transformed scale and back transformation should be done only at the end.
Many researchers think that transformation of data is 'data deceiving'. They are assured that transformation is a statistically approved method and it is universally valid.
How to Report?   
While reporting the results, the summary statistics of the raw data should be mentioned. The transformation done should be clearly mentioned along with the reason for transformation. One should not forget to mention that all the statistical analyses were carried out on the transformed data. ^{[7]} Finally the back transformation value (especially for 95% confidence interval) should also be mentioned.
References   
1.  Manikandan S. Preparing to analyse data. J Pharmacol Pharmacother 2010;1:645. 
2.  Altman DG, Bland JM. Statistics notes: The normal distribution. BMJ 1995;310:298. [PUBMED] [FULLTEXT] 
3.  Bland JM, Altman DG. The use of transformation when comparing two means. BMJ 1996;312:1153. [PUBMED] [FULLTEXT] 
4.  Altman DG, Bland JM. Detecting skewness from summary information. BMJ 1996;313:1200. [PUBMED] [FULLTEXT] 
5.  Bland JM, Altman DG. Transforming data. BMJ 1996;312:770. [PUBMED] [FULLTEXT] 
6.  Bland JM, Altman DG. Transformations, means and confidence intervals. BMJ 1996;312:1079. [PUBMED] [FULLTEXT] 
7.  Swinscow TD, Campbell MJ. Statistics at square one. 10 ^{th} ed. (Indian). New Delhi: Viva Books Private limited; 2003. 
This article has been cited by  1 
Incidence and associated factors of difficult tracheal intubations in pediatric ICUs: a report from National Emergency Airway Registry for Children: NEAR4KIDS 

 Ana Lia Graciano,Robert Tamburro,Ann E. Thompson,John Fiadjoe,Vinay M. Nadkarni,Akira Nishisaki   Intensive Care Medicine. 2014;   [Pubmed]   2 
When Ignorance is Bliss: Explicit Instruction and the Efficacy of CBMA for Anxiety 

 Ben Grafton,Bundy Mackintosh,Tara Vujic,Colin MacLeod   Cognitive Therapy and Research. 2013;   [Pubmed]   3 
Authoręs reply. 

 Manikandan S   J Pharmacol Pharmacother. 2011; 2(44): 45   [Pubmed]   4 
Data transformation. 

 Manikandan S   Journal of pharmacology & pharmacotherapeutics. 2010; 1(2): 1267   [Pubmed]   5 
Prognostic value of serum lactic dehydrogenase (SLDH) in multiple myeloma. 

 Simonsson B, Brenning G, Källander C, Ahre A   European journal of clinical investigation. 1987; 17(4): 3369   [Pubmed]  



