Section outline

  • Introduction to Statistical Computing

    What is statistical computing and how does it relate to the overall research process? The importance of reproducible research. What is Stata? Stata compared to other statistical software packages. Tour of Stata windows and features.

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • Lecture 1 2021 File
      Not available unless: You belong to a group in Registered Students Only
    • Stata commands from lecture 1 / used in hw 1 2021 File

      Commands covered in Lecture 1 Stata demo

      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students):

    • Lecture 1 2021 Media Resource
      Not available unless: You belong to Registered Students Only
    • Stata L1 demo week 1 2021 Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • L1 Large Group Session Slides File
      Not available unless: You belong to Registered Students Only
    • Additional Resources:

    • [Book] An Introduction to Stata for Health researchers

      • Ch. 1. Getting started
      • Ch. 4. Command Syntax
      • Ch. 6. Getting data in and out of Stata
    • Stata User's guide 16--Chapters 1, 3, 4

    • Assignment:
    • YOU MUST COMPLETE MINI QUIZ 1 IN ORDER TO GAIN ACCESS TO AND SUBMIT YOUR ASSIGNMENT!

      Be sure to turn in a do file and a log file!

    • Assignment Due Date: 7/27/2021 by 1 pm PST

    • Assignment Answer Key (Access restricted to registered students):

    • HW1 Answer Key File
  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  Zoom

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais, Nizar Hakam, Eric Smith

    Location:  Zoom


  • Stata Basics and Organization

    Project organization, workflow, and working directories; Intro to STATA projects; Importing/Exporting data, Do-file best practices; Saving Data; Log files

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • Lecture 2 2021 File
      Not available unless: You belong to a group in Registered Students Only
    • Stata demo code week 2 2021 File
      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students):

    • Lecture 2 part 1 2021 - Stata basics Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 2 part 2 2021 - Project Organization Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 2 part 3 2021 - Basic data exploration Media Resource
      Not available unless: You belong to Registered Students Only
    • Stata demo week 2 2021 Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • L2 Large Group Session Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Additional Resources:

    • [Book] An Introduction to Stata for Health researchers

      • Ch. 4. Command Syntax
      • Ch. 5. Variables
    • [eBook] Biostatistics in Public Health Using STATA

    • Assignment:

    • Assignment 2 File
    • acupuncture_baseline.dta File
      Not available unless: The activity Mini Quiz 2 is marked complete
    • Assignment Due Date: 8/3/2021 by 1 pm PST

    • Turn in Assignment 2 here
      Be sure to turn in a do file and a log file!
      Not available unless: The activity Mini Quiz 2 is marked complete
    • Assignment Answer Key (Access restricted to registered students):

    • HW2 Answer Key File
  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  MH-1400 and online

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais, Cozie Gwaikolo, Emily Murphy

    Location:  Zoom


  • Data management and cleaning part 1

    Renaming variables, generating new variables, modifying the codebook and recoding variables, if statements, data cleaning best practices and shortcuts

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • Lecture 3 2021- data cleaning part 1 File
      Not available unless: You belong to a group in Registered Students Only
    • Lecture 3 2021 - Stata Demo do-file
      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students):

    • Lecture 3 2021 part 1 - modifying existing variables, labels Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 3 2021 part 2 - creating new variables, keep/drop Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 3 2021 part 3 - outliers, string variables Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • L3 Large Group Session Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Additional Resources:

    • [Book] An Introduction to Stata for Health researchers

      • Ch. 8. Calculations
      • Ch. 9. Commands affecting data structure
      • Ch. 10 Taking good care of your data

      Stata data management manual

    • Assignment:

    • Midterm assignment and data Folder
      Not available unless: You belong to a group in Registered Students Only
    • Assignment Due Date:

    • Assignment Answer Key (Access restricted to registered students):

    • Midterm Answer Key Folder
      Not available unless: You belong to a group in Registered Students Only
  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  MH-1400 and online

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais, Nizar Hakam, Ridhima Jain

    Location:  Zoom


  • Data management and cleaning part 2

    Missing values, duplicates, and working with multiple datasets. Merging and appending data. Converting between wide and long. Using Stata's frames.

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • BS 212 2021 Lecture 4 slides File
      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students): 

    • BS 212 2021 Lecture 4 part 1 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 4 part 2 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 4 part 3 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 4 part 4 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 4 part 5 Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • Recommended readings:

    • No Assignment. Continue to work on your Midterm, due 8/17 @ 1PM PDT. 

  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  online

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais, Emily Murphy, Eric Smith

    Location:  Zoom


  • Data Visualization and dyndoc

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • BS 212 2021 Lecture 5 slides File
      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students): Available soon

    • BS 212 2021 Lecture 5 part 1 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 5 part 2 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 5 part 3 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 5 part 4 Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • L5 Large Group Session Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Recommended readings:

        • Ch. 11. Description and simple analysis 
        • Ch. 12. Regression analysis 

    • Assignment:

    • Assignment Due Date: 8/24 @ 1PM PST

    • Turn in the do, log, and word files you created in assignment 3.

    • Assignment Answer Key (Access restricted to registered students):

  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  online

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais, Cozie Gwaikolo, Ridhima Jain

    Location:  Zoom


  • Tables in STATA

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • BS 212 2021 Lecture 6 Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students): Available soon

    • BS 212 2021 Lecture 6 part 1 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 6 part 2 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 6 part 3 Media Resource
      Not available unless: You belong to Registered Students Only
    • BS 212 2021 Lecture 6 part 4 Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • L6 Large Group Session Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Recommended readings:

    • Assignment:

    • Assignment Due Date: 8/31 @ 1PM PST

    • Assignment Answer Key (Access restricted to registered students):

  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  online

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais

    Location:  Zoom


  • Basic Epi commands

    Faculty:  Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    • Lecture Slides:

    • BS 212 2021 Lecture 7 Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Lecture Audio/Video Recording (Access restricted to registered students): Available soon

    • Lecture 7 part 1 Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 7 part 2 Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 7 part 3 Media Resource
      Not available unless: You belong to Registered Students Only
    • Lecture 7 part 4 Media Resource
      Not available unless: You belong to Registered Students Only
    • Large Group Discussion (Access restricted to registered students): Brief formal review of lecture followed by question and answer discussion. Recorded lecture should be viewed prior to this session.

    • L7 Large Group Session Slides File
      Not available unless: You belong to a group in Registered Students Only
    • Additional Resources:

  • Computer Lab

    Live online session in which students have access to course faculty for questions on current or prior curriculum, assignments and software implementation

    Faculty: Crystal Langlais, Cozie Gwaikolo, Nizar Hakam, Ridhima Jain, Emily Murphy, Eric Smith

    Location:  online

  • Office Hours 

    Course faculty are available to address questions on course content including prior problem sets.

    Faculty: Crystal Langlais, Cozie Gwaikolo, Ridhima Jain, Emily Murphy, Nizar Hakam, Eric Smith

    Location:  Zoom


  • Final Project

    Due: 

    • Final project instructions 2021 File
      Not available unless: You belong to a group in Registered Students Only
    • Example Final Project File
      Not available unless: You belong to a group in Registered Students Only
    •  Turn in: 

      - .docx or .pdf with the table, figure, and short description; 

      - .do file