KNOWLEDGEBASE - ARTICLE #828

Can Prism transform my data to log base 2 or some other base?

Prism 8 introduces a built in function for logarithm base 2. 

With earlier releases of Prism, there is no built in logbase 2 function. But you can create a user-defined function that does the job:

Y=log(Y)/log(2)

or

X=log(X)/log(2)

It's that simple.

 

More generally for log base K, 

Y=log(Y)/log(K)

or

X=log(X)/log(K)

Download an example file. 



Keywords: base two log2

Explore the Knowledgebase

Analyze, graph and present your scientific work easily with GraphPad Prism. No coding required.