Hi all. Apologies in advance if this is a terribly simple query (new to Stata), but it has been bugging me... I imagine it will have a very quick answer.
I am trying to generate the log of a bunch of glucose values (e.g. log(glu), but the command doesn't seem to give me the answer I would expect.
e,g:
di log(4.8)
= 1.5686159
However when I calculate log(4.8) on calculator I get 0.68124 (e.g. http://www.webconversiononline.com/l...ype=log&of=4.8 )
Trying to figure out why the Stata result seems to be different... am I putting in the command incorrectly, or misinterpreting log?
Thanks in advance!
Patrick
I am trying to generate the log of a bunch of glucose values (e.g. log(glu), but the command doesn't seem to give me the answer I would expect.
e,g:
di log(4.8)
= 1.5686159
However when I calculate log(4.8) on calculator I get 0.68124 (e.g. http://www.webconversiononline.com/l...ype=log&of=4.8 )
Trying to figure out why the Stata result seems to be different... am I putting in the command incorrectly, or misinterpreting log?
Thanks in advance!
Patrick
Comment