editing data

Getting Started with Stata Tutorial #10: Four Commands to Create New Variables in Stata

April 29th, 2025 by

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