Syllabus

Introduction to Statistical Computing in Clinical Research BIOSTAT212

Date/Time Activity Topic/Content Faculty Locations
Tues 8/4/2009
1:15 PM-2:45 PM
Lecture

Introduction to STATA

What is STATA? Role of STATA in comparison to Microsoft Access and Microsoft Excel. Comparison with other statistical software packages. Tour of STATA windows and features. How to run a command and get results. How to load STATA dataset. How to begin describing and analyzing your data with STATA.

Required Reading:

  1. GSS Chapters 1-7
  2. ISHR Chapters 1-4, 10 (more detail than you will understand)

Note/Slide Files: Course_Overview_2009.doc (82 KB) Lecture 1 - Intro to Stata.ppt (63 KB)

Assignment Files: Final Project.doc (34 KB) How to decipher Stata commands.doc (28 KB) List of commands.doc (47 KB) Using the Stata Server with RDP.doc (225 KB)

M PletcherCB 6702
Tues 8/4/2009
3:00 PM-4:00 PM
Lab

Lab session

Complete Lab 1: Practice loading and analyzing a dataset with STATA

Assignment:
Lab 1, due 8/11/09

Assignment Files: Lab 1.doc (63 KB)

STATA Files: Coronary Calcium.dta (408 KB)

U TBA
U TBA
CB 6702
CB 6704
Tues 8/11/2009
1:15 PM-2:45 PM
Lecture

Do files, log files, and workflow in STATA

Workflow for a research project; the importance of documentation and replicability; using Do and Log files. Importing and cleaning data.

Required Reading:

  1. GSS Chapters 14, 16
  2. ISHR Chapter 6

Note/Slide Files: Lecture 2 - Do, log, workflow.ppt (508 KB)

M PletcherCB 6702
Tues 8/11/2009
3:00 PM-4:00 PM
Lab

Lab session

Complete Lab 2: Do and Log file exercise Start Lab 3: Load data from Excel, set up do/log files

Assignment:
Lab 2, due 8/18/09

Assignment Files: Lab 2.doc (53 KB)

U TBA
U TBA
CB 6702
CB 6704
Tues 8/18/2009
1:15 PM-2:45 PM
Lecture

Generating variables and manipulating data with STATA

The need to clean your data; generating new variables, manipulating and labeling them

Required Reading:

  1. GSS Chapters 8-13
  2. ISHR Chapters 5, 7, 8

Note/Slide Files: Lecture 3 - Generating vars, manip data.ppt (172 KB)

M PletcherCB 6702
Tues 8/18/2009
3:00 PM-4:00 PM
Lab

Lab session

Complete Lab 3: Generate, manipulate, and label new variables, finish do and log files

Assignment:
Lab 3, due 8/25/09

Assignment Files: Intoxication.xls (131 KB) Lab 3.doc (85 KB)

U TBA
U TBA
CB 6702
CB 6704
Tues 8/25/2009
1:15 PM-2:45 PM
Lecture

Using Excel

The difference between a spreadsheet and a database; what is a formula; how to make a formula; cutting and pasting in Excel; different types of formulas; building a user-friendly spreadsheet; using Excel for Tables and Figures.

Required Reading:

  1. Online Excel tutorial

Note/Slide Files: Lecture 4 - Using Excel.ppt (50 KB)

M PletcherCB 6702
Tues 8/25/2009
3:00 PM-4:00 PM
Lab

Lab session

Complete Lab 4: Practice using Excel for repetitive and/or complex calculations, and for a simple figure

Assignment:
Lab 4, due 9/1/09

Assignment Files: Lab 4 Extra Credit Puzzler.doc (31 KB) Lab 4.doc (44 KB)

U TBA
U TBA
CB 6702
CB 6704
Tues 9/1/2009
1:15 PM-2:45 PM
Lecture

Basic epidemiologic analysis with STATA

Using the epitab commands in STATA; interpretation of STATA output; looking for confounding and interaction using STATA; testing for trends, and an introduction to logistic regression.

Required Reading:

  1. Pull-down menu: Help/Stata command/ “epitab” and “logistic”
  2. ISHR Chapters 12-14 (more than you will understand)

Note/Slide Files: Lecture 5 - Epi Analysis.ppt (189 KB)

M PletcherCB 6702
Tues 9/1/2009
3:00 PM-4:00 PM
Lab

Lab session

Complete Lab 5: Practice epidemiologic analysis of a clean dataset

Assignment:
Lab 5, due 9/8/09

Assignment Files: Lab 5.doc (73 KB)

U TBA
U TBA
CB 6702
CB 6704
Tues 9/8/2009
1:15 PM-2:45 PM
Lecture

Dates, Loops, etc.

How to use STATA’s graphical commands to create a publication-quality figure; How to write loops and other advanced programming tips

Required Reading:

  1. VGSG Chapter 1
  2. ISHR Chapter 11

Note/Slide Files: Lecture 6, part 0 - Intro.ppt (38 KB) Lecture 6, part 1 - Making a Figure.pdf (458 KB) Lecture 6, part 2 - Dates, etc.ppt (354 KB)

Dataset Files: Lecture 6, part 2 - practicedates.xls (26 KB)

J CocohobaCB 6702
Tues 9/8/2009
1:15 PM-2:45 PM
Lecture

Making a figure with STATA

How to use STATA’s graphical commands to create a publication-quality figure; How to write loops and other advanced programming tips

Required Reading:

  1. VGSG Chapter 1
  2. ISHR Chapter 11

Note/Slide Files: Lecture 6, part 0 - Intro.ppt (38 KB) Lecture 6, part 1 - Making a Figure.pdf (458 KB) Lecture 6, part 2 - Dates, etc.ppt (354 KB)

Dataset Files: Lecture 6, part 2 - practicedates.xls (26 KB)

A ChoiCB 6702
Tues 9/8/2009
3:00 PM-4:00 PM
Lab

Lab session

Complete Lab 6: Create publication-quality figures with Stata

Assignment:
Lab 6, due 9/15/09

Assignment Files: Lab 6.doc (64 KB)

STATA Files: Neonatal.dta (14 KB)

U TBA
U TBA
CB 6702
CB 6704
Tues 9/15/2009
1:15 PM-2:45 PM
Lecture

Organizing a project, making a Table

How to manage a project with STATA; when to create a new dataset; making a Do/Log file for each table/figure; how to format a table

Note/Slide Files: Lecture 7 - Projects, Tables.ppt (180 KB)

Assignment Files: Sample Table.doc (58 KB) Sample Table.xls (18 KB)

STATA Files: Sample Table, done.do (1 KB)

M PletcherCB 6702
Tues 9/15/2009
3:00 PM-4:00 PM
Lab

Lab session

Work on the Final Project

Assignment:
Final Project, due 9/22/09

U TBA
U TBA
CB 6702
CB 6704