All posts - Page 4 | 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 19, 2019

    The webuse command is used to load datasets directly from the Stata website. This is convenient as you dont have to download datasets…

  2. May 18, 2019

    The bysort command in Stata is used as a prefix before other commands, and it allows you to perform those commands within groups of…

  3. May 11, 2019

    The notes command is used for attaching notes to a variable. Can be useful in when it might be hard to interpret a variable, or when any…

  4. May 10, 2019

    Looping in Stata is mainly achieved by use of the foreach command. Using the nlsw88 dataset we'll generate a new variable with observations…

2026 © Johan Osterberg