Reputation: 257
Is it possible to view the source code of Stata commands and functions? I am wondering how the lnskew0
command is implemented in Stata.
The source code could help to adapt functions to other languages, such as Python and R:
How to use Zero-skewness log transform in Python.
Upvotes: 0
Views: 2035
Reputation:
For functions you can only see the inner workings of those relating to the egen
command.
However, you can see the source code of commands/programs using the viewsource
command:
viewsource lnskew0.ado
Typing help viewsource
will provide further details.
Upvotes: 3