Once you’ve imported, examined, and cleaned your data, a common next step would be to make some visual displays or graphs. In this article we’ll go over the details of creating, naming, saving, and exporting graphs in Stata.
We will do all of this using syntax, rather than Stata’s “Graphics” menu. If you want a quick lesson on using the menus to make graphs in Stata, check out this article. (more…)
Splines provide a useful way to model relationships that are more complex than a simple linear function. They work with a variety of regression models.
(more…)
This month we are featuring a 9-module software tutorial by Kim Love: An Introduction to Data Analysis using R.
It’s perfect for people who:
- have never used R before
- need to refresh their R skills after not using it for while
- have figured out R on their own and would like a more systematic tutorial
(more…)
From the last post in this series, you should know how to change between numeric types and easily change numeric data. We’ll now expand your type-changing skills to include changing string variables with two new commands. (more…)
From our last posts in this series, you should be comfortable with how Stata handles data editing, as well as with making your own variables. In this post, we’ll talk about commands that edit the content or storage type of your variables in Stata: recode and recast. Let’s start off with the recode command.
(more…)
From our last article, you should feel comfortable with the idea of editing and saving data sets in Stata. In this article, we’ll explain how to create new variables in Stata using replace, generate, egen, and clonevar.
(more…)