Skip to main content

Gtools Macro 💯 Proven

* Temporary variable for calculations tempvar tempvar * Apply if/in conditions marksample touse, novarlist mark `touse' `if' `in' * Create initial copy quietly gen `tempvar' = `oldvar' if `touse'

program define gtools_macro version 15 syntax [varlist] [if] [in] [, /// RECode(numlist) /// GENerate(string) /// LABel(string) /// CUTpoints(numlist) /// BINs(integer 5) /// STDize /// LOG /// SQRT /// SQUare /// RANK /// Center /// PErcentile(integer 10) /// TOPcode(real 99) /// BOTtomcode(real 1) /// MISSing(real .) /// REPLace /// DROPold /// VERBose /// SAVe(string) /// APPend(string) /// STATistics /// HELP /// ] gtools macro

*! gtools_macro.ado *! Full-featured data transformation and recoding tool *! Version 1.0 * Temporary variable for calculations tempvar tempvar *

unia flaga
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Essential
Essential cookies
These cookies are necessary for the correct operation of the website and therefore cannot be disabled on this level; the use of these cookies does not involve the processing of personal data. While you can disable them via your browser settings, doing so may prevent the website from working normally.
Accept
Marketing
These cookies are designed to track the users' web traffic and display advertisements that may be of interest to some users. Cookies may come from third parties and be used by them to profile your preferences. Their operation is subject to the user's consent.
Facebook
Accept
Decline
Analytical cookies
These cookies are particularly intended to enable the website administrator to monitor the website traffic statistics, as well as the sources of traffic. Such data is typically collected anonymously.
Google Analytics
Accept
Decline
Save