Programming the statistical procedures from SAS

Transform to Natural log

Reply
Frequent Learner
Posts: 1

Transform to Natural log

Using the least squares regression line to determine R-squared 

then have to transformt he explanatory variable x to ln(x) (using proc reg)

How do you transform the variable? 

PROC Star
Posts: 7,416

Re: Transform to Natural log

Couldn't you just do the transformation using the log() function in a data step prior to using proc reg?

 

Art, CEO, AnalystFinder.com

 

Ask a Question
Discussion stats
  • 1 reply
  • 155 views
  • 0 likes
  • 2 in conversation