Categories
- Data (9)
- Learning Resources (9)
- Python (9)
- SAS (14)
- Stata (24)
- Uncategorized (1)
-
Recent Posts
Recent Comments
- Amy on Link FactSet and CRSP
- Kai Chen on Link FactSet and CRSP
- Amy on Link FactSet and CRSP
- Sylvia on Commonly used Stata commands to deal with potential outliers
- jianchen shi on Calculate delta (pay-performance sensitivity), vega (risktaking incentives), and firm-specific wealth (inside equity) for executives on Execucomp
Archives
- February 2022
- January 2022
- August 2021
- March 2021
- September 2019
- August 2019
- July 2019
- May 2019
- April 2019
- March 2019
- August 2018
- July 2018
- December 2017
- November 2017
- October 2017
- September 2017
- April 2017
- September 2016
- April 2016
- December 2015
- November 2015
- September 2015
- August 2015
- June 2015
- March 2015
- February 2015
Meta
Monthly Archives: July 2019
The art of regular expression
Regular expression is a powerful tool to do text search. It is the foundation of a lot of textual analysis research, though today’s textual analysis in computer science has gone far beyond text search. Regular expression operations are programming language … Continue reading
Stata commands to change variable names or values of string variables to all lowercase
Stata is a case-sensitive application. Sometimes this will cause a trouble. So, we may want to change variable names or values of variables to all lowercase before we start processing data. This post gives a fast way to do this. … Continue reading
Posted in Stata
2 Comments
Common commands to deal with date in Stata
egen compdatadate=eom(fiscalmonth fiscalyear) format compdatadate %td To be continued …
Posted in Stata
Leave a comment
Stata command to order tabulation result with only top values shown
tabulate varname command is handy in Stata, but sometimes it returns a too long result, if varname contains too many unique values. The third-party command, groups, will solve the problem by showing top values only. Please use ssc install groups … Continue reading
Posted in Stata
Leave a comment