All posts - Page 5 | Johan Osterberg - Product Engineer
Profile picture

Written by Johan Osterberg who lives and works in Gothenburg, Sweden as a developer specialized in e-commerce. Connect with me on Linkedin

  1. May 07, 2019

    The two main commands used in Stata when working with strings are tostring, destring, encode and decode. For this example, let's load the…

  2. May 06, 2019

    Instead of using the split command for string manipulation we can use the word function. Looking at a previous example of transforming the…

  3. May 05, 2019

    Let's look at another example of recoding in Stata, this time using the split command. For this example we'll use the variable make in the…

  4. April 29, 2019

    Creating binary variables in Stata is useful for many purposes, for example if you quickly need to get an overview of a variable with a…

2026 © Johan Osterberg