Numeric Variables

Getting Started with Stata Tutorial #12: Changing Variables to and from Strings

May 29th, 2025 by

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…)


Getting Started with Stata Tutorial #11: Editing Variables Using recode and recast

May 12th, 2025 by

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…)