Introduction

Dataset source: https://onlinestatbook.com/2/case_studies/binge.html

Key concepts/commands:

  1. use: load in a dataset

    use "https://learndata.net/binge.dta"
  2. clear: empty out any dataset so a new one can be loaded in

    clear
  3. To make a simple comment in a do-file, use // or *

    // This is a note to myself, called a "comment"
    * Here is another way to leave a note
  4. To make a multi-line (or partial-line) comment, use /* to start and */ to end

    /*
    Here is a rather long comment.
    Maybe it is a note about how some of
    the variables were measured.
    */