Categories
 Data (7)
 Learning Resources (8)
 Python (7)
 SAS (11)
 Stata (15)
 Uncategorized (2)

Recent Posts
 Stata commands to do Heckman two steps
 The calculation of average credit rating using ratings from three rating agencies
 Stata commands to test equality of mean and median
 Stata command to display combined Pearson and Spearman correlation matrix
 Stata command to convert string GVKEY to numerical GVKEY or vice versa
Recent Comments
Archives
Meta
Monthly Archives: August 2018
The calculation of average credit rating using ratings from three rating agencies
I was doing something in Finance and wanted to calculate the average rounded credit rating. Basically, I need to translate textual grades (e.g., AAA, Baa) to a numerical value. I found a clue in the following paper: Becker, B., and … Continue reading
Stata commands to test equality of mean and median
UCLA IDRE has posted an article (link) that may provide a bit more explanation. UCLA IDRE is a great resource for learning statistical analysis. A big thank you to them.
Posted in Stata
Leave a comment
Stata command to display combined Pearson and Spearman correlation matrix
Oftentimes we would like to display Pearson correlations below the diagonal and Spearman correlations above the diagonal. Two builtin commands, pwcorr and spearman, can do the job. However, we have to manually combine Stata output tables when producing the correlation table … Continue reading
Posted in Stata
Leave a comment