IGP 304: Stata Labs

Some words from the instructor

Knowing the software is vital to your learning of statistics and your course performance. If you learn statistics without knowing the software, you will become crippled, armed with theory and methods and ideas but not knowing how to put them into practice.

These exercises are designed as stimulants to learning Stata and exploring its capabilities. These exercises will be treated the same way as assigned reading materials, and I will check if you have tried these exercises by randomly picking some of you to tell us how you would carry out the procedures.

If you don't have Stata installed on your own computers or lab computers, you can have access to it at College of Arts & Science Microcomputer Labs. [The labs are open to all with Vanderbilt ID but you may not be able to enter the buildings at night. At least you can go there during the day. The version they have is version 8, not 9. Version 8 should do all we want to do, probably with the same commands but somewhat different menu setup.]

If you have chosen software packages other than Stata, please let me know.

Source of data sets and examples

  • Some of materials were copied/modified from course materials of Biostatistics, M.P.H. program at Vanderbilt University, and the course textbook, "Statistical Modeling for Biomedical Researchers", 2nd Ed., in press, by William Dupont. [WD] refers to William Dupont's book

Assigned on 01/15

See Table 4.1
  • enter a dataset displayed in Table 4.1
  • assign the data description
  • make a note which documents the source of the data and the date of creation
  • label each variable
  • use codebook, describe, and summarize

Assigned on 01/17

Practice what you learned about graphing using STATA
  • download Haemoglobin and use infile command to inport the data: infile id hemo using "C:\Teaching\IGP\data\haemoglobin.txt", clear
  • make a box plot : go to Stata pulldown menus --> Graphics --> Box plots, choose hemo in the box called "Variables"

Assigned on 01/19

You can modify the code provided in Stata notes for classes.
  • make Fig. 3.8: put the title
  • make Fig. 3.10-3.11: put x and y axis labels and tick marks, and put the main, x and y axis titles
  • make Fig. 3.12: put the main and y axis titles

Assigned on 01/22

Use Haemoglobin in Table 3.2
  • calculate the mean and standard deviation for haemoglobin as learned in the class.
  • compare the results with the output using summarize

Assigned on 01/24

Assigned on 01/26

Assigned on 01/29

Assigned on 01/31

Assigned on 02/02

Assigned on 02/05

Assigned on 02/07

Assigned on 02/09

Assigned on 02/12

Assigned on 02/14

Assigned on 02/16

Assigned on 02/19

Assigned on 02/21

Assigned on 02/23

Assigned on 02/26

Edit | Attach | Print version | History: r22 | r10 < r9 < r8 < r7 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r9 - 09 Jan 2007, LeenaChoi
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback