{"id":33,"date":"2015-02-26T04:30:35","date_gmt":"2015-02-26T09:30:35","guid":{"rendered":"https:\/\/kchen032.wordpress.com\/?p=33"},"modified":"2020-10-11T00:22:41","modified_gmt":"2020-10-11T04:22:41","slug":"33","status":"publish","type":"post","link":"https:\/\/www.kaichen.work\/?p=33","title":{"rendered":"Which is better for archival accounting research, SAS or Stata?"},"content":{"rendered":"<p>The short answer is: we need both.<\/p>\n<p>When we do archival accounting research, we often need to merge data across various databases, such as COMPUSTAT, CRSP, and EXECUCOMP. Stata can by no means beat SAS in this regard. SAS supports full SQL (a language specifically designed\u00a0for database query), whereas Stata only has a &#8220;baby&#8221; merge functionality (really, &#8220;baby&#8221;!).<\/p>\n<p>When we get all data and start to do data analysis, such as statistics, correlations, and regressions, this work can be done much more efficiently by Stata than by SAS. Not mention many handy packages developed by Stata user community, an ecosystem like Apple&#8217;s App Store.<\/p>\n<p>So, the best strategy is to use different software at different research stages. The learning cost is not as high as this strategy sounds like\u2014Stata is easy to learn (in fact, way easier than SAS). Anyone can command Stata very quickly.<\/p>\n<p>I have attached a PPT on this topic in a bit more details (<a href=\"http:\/\/www.kaichen.work\/wp-content\/uploads\/2015\/06\/BBLG-SAS-vs-STATA.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">BBLG SAS vs STATA<\/a>).<\/p>\n<p>Finally, I use the following quote to conclude (thanks to <a href=\"http:\/\/www.wrds.us\/index.php\/tutorial\/view\/14\" target=\"_blank\" rel=\"noopener noreferrer\">WRDS.US<\/a> Tutorials Series):<\/p>\n<blockquote><p>Even though data management and regression can be performed in SAS, some users prefer to use another package to do the &#8216;final&#8217; steps. For example, SAS can be used to retrieve and manage the data. The final dataset created in SAS can then be converted for example to STATA format (using StataTrans). STATA can then be used to create the tables with descriptive statistics, correlation tables, and perform (final) regressions and other statistical tests.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The short answer is: we need both. When we do archival accounting research, we often need to merge data across various databases, such as COMPUSTAT, CRSP, and EXECUCOMP. Stata can by no means beat SAS in this regard. SAS supports &hellip; <a href=\"https:\/\/www.kaichen.work\/?p=33\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,8,9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":14,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":1467,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions\/1467"}],"wp:attachment":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}