BookmarkSubscribeRSS Feed
Prateek1
Obsidian | Level 7

hi,

Why do we do Transformation before data Analysis? Why should one take the log of the Distribution ?

 

 

6 REPLIES 6
Reeza
Super User

@Prateek1 wrote:

hi,

Why do we do Transformation before data Analysis? 

 

 


You don't have to. 

PeterClemmensen
Tourmaline | Level 20

You don't have to log transform your data and in many cases you should not. 

 

But in some cases this can be convenient. In finance eg, you will often assume that prices are log normally distributed (which may or may not be true), which makes log(1 + r_i) normally distributed. This is neat becasue much of classic statistics assume normality.

user24feb
Barite | Level 11

Why: Because a time series has to be stationary (=time-invariant) to be modeled (with ARIMA). Stationarity includes variance stationarity.

Why log: Because it is easy and it is often able to stabilize the variance.

ballardw
Super User

Sometimes to reduce the effect of valid extreme values, the log will have smaller range and the transform less likely to have "excessive" influence on a model.

SASKiwi
PROC Star

Yet another - if you data contains an exponential growth trend then a log transformation will turn this into a straight line trend which can be easier to model.

Ksharp
Super User
Because most of statistical mode need variable conform to Normal distribution, 
LOG it is to make it more like Normal distribution.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 3400 views
  • 0 likes
  • 7 in conversation