<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/a-one-day-course-in-using-stata-and-r-together-running-twice-in-2018/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://robertgrantstats.wordpress.com/2018/04/17/a-one-day-course-in-using-stata-and-r-together-running-twice-in-2018/"> R – Dataviz – Stats – Bayes</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>I am going to be <a rel="nofollow" href="http://www.timberlake.co.uk/courses/using-stata-and-r-together.html" target="_blank">giving this course on 10 August and 6 December this year</a>. It is organised by Timberlake Consultants, the distributors of Stata for UK and Ireland, and will take place at <a rel="nofollow" href="https://www.cass.city.ac.uk/" target="_blank">Cass Business School’s excellent facilities</a> in the City of London.<img data-orig-file="https://robertgrantstats.files.wordpress.com/2018/04/cassbuilding.jpg?w=326&amp;h=441&amp;fit=326%2C441&amp;resize=326%2C441" data-orig-size="444,600" data-medium-file="https://robertgrantstats.files.wordpress.com/2018/04/cassbuilding.jpg?w=326&amp;h=441&amp;fit=326%2C441&amp;resize=326%2C441?w=222" data-attachment-id="6396" data-image-meta="{" data-image-description="" src="https://robertgrantstats.files.wordpress.com/2018/04/cassbuilding.jpg?w=326&h=441&fit=326%2C441&resize=326%2C441" data-permalink="https://robertgrantstats.wordpress.com/2018/04/17/a-one-day-course-in-using-stata-and-r-together-running-twice-in-2018/cassbuilding/" data-large-file="https://robertgrantstats.files.wordpress.com/2018/04/cassbuilding.jpg?w=326&amp;h=441&amp;fit=326%2C441&amp;resize=326%2C441?w=444" alt="Cassbuilding" data-image-title="Cassbuilding" sizes="(max-width: 326px) 100vw, 326px" width="326" data-comments-opened="1" class="wp-image-6396" data-recalc-dims="1" height="441"></p>
<p>I am excited to offer this new course because I think there is a real gap in the market here. Lots of people want to tap into both Stata as a commercial package with a lot of well-constructed and thoroughly tested tools for analysis and graphics, as well as R as a flexible, analysis-oriented programming language. Obviously you could run a bit of code here and a bit there and keep notes as to what you did (and heaven knows we’ve all been there), but it is safer, faster and more reproducible to integrate your workflow across both Stata and R. I’ll show you some ways of doing that and you’ll leave with some useful Stata commands and R functions that you can start using straight away.</p>
<p>Because of the many different ways in which you might have these two pieces of software set up on your computers, this needs to be a face-to-face course (for now at least; maybe we’ll be able to offer it online from next year).</p>
<p>And if you’re wondering why anyone would want to use both, here’s some pros and cons. Stata has an imperative scripting language (with macro substitution) that does a lot more than you probably think it does. R is a functional, highly vectorised programming language. What is hard in one is often quite easy in the other.</p>
<p>Some R advantages:</p>
<ul>
<li>faster graphics</li>
<li>sometimes more flexible graphics</li>
<li>have more than one data file open, plus various arrays</li>
<li>lists of diverse object types</li>
<li>useR communities + a lot of Stack Overflow <em>vel sim</em></li>
<li>functional programming can be handy…</li>
<li>magrittr piping</li>
<li>Rcpp integartion with C++</li>
<li>packages for hip stuff like Spark, H2O.ai, Keras etc etc…</li>
<li>rmarkdown, knitr etc for outputs</li>
<li>bespoke parallelisation</li>
</ul>
<p> </p>
<p>Stata advantages:</p>
<ul>
<li>simpler to bootstrap most estimation and modelling methods</li>
<li>simpler multiple imputation</li>
<li>imperative programming with macro substitution can be handy</li>
<li>most models are achieved with less typing</li>
<li>customer support + Statalist</li>
<li>Mata, and Java/C/C++ plugins</li>
<li>lots of economics/econometrics functionality</li>
<li>neat structural equation model building</li>
<li>webdoc, dyndoc etc for outputs</li>
<li>built-in parallelisation (if you have MP flavor)</li>
<li>super-clean SVG output</li>
<li>margins and marginsplot are really good for communicating findings</li>
</ul>
<p>You can read more and book <a rel="nofollow" href="http://www.timberlake.co.uk/courses/using-stata-and-r-together.html" target="_blank">here</a>.</p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://robertgrantstats.wordpress.com/2018/04/17/a-one-day-course-in-using-stata-and-r-together-running-twice-in-2018/"> R – Dataviz – Stats – Bayes</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/Mrq4LRK5Lyk" height="1"></a></div>