Page 1 of 1

Logarithm of a Variable

PostPosted: Fri Dec 11, 2009 12:30 am
by Maren
Hi everyone,

sorry to bother you guys with a simple question, however I was not able to answer it myself. How do I take the logarithm of a variable in dynare?? The Dynare Guide by Mancini explains how to take the exponential of a variable but does not give the command for the logarithm.

Thanks,
Maren

Re: Logarithm of a Variable

PostPosted: Fri Dec 11, 2009 1:57 pm
by AssiaEzzeroug
Hi,

you can take the logarithm of x by simply writing: log(x)

best

Re: Logarithm of a Variable

PostPosted: Mon Dec 14, 2009 1:43 pm
by Maren
Ok, thank you so much!