Login or Register
Log in with
Forums
FAQ
Search in titles only
Search in General only
Advanced Search
Search
Home
Forums
Forums for Discussing Stata
General
You are not logged in. You can browse but not post. Login or
Register
by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the
FAQ
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Filtered by:
Clear All
new posts
Jane McGrath
Join Date:
Aug 2023
Posts:
13
#1
Natural Log Code
17 Aug 2023, 22:02
Is turning a variable from its current for to natural log form just done using
gen newvar = log(var)
Daniel Schaefer
Join Date:
Mar 2020
Posts:
822
#2
17 Aug 2023, 22:34
Yes. See:
Code:
help log()
Comment
Post
Cancel
Nick Cox
Join Date:
Mar 2014
Posts:
35778
#3
18 Aug 2023, 02:31
Code:
. di log10(10) 1 . di log(10) 2.3025851 . di ln(10) 2.3025851
See
https://journals.sagepub.com/doi/pdf...867X1101100308
for an introductory review of functions.
Comment
Post
Cancel
Previous
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment