Richard Williams, Instructor

NOTE:  These are the Fall 2004 course notes for the first semester of my graduate statistics courses.  The notes for the second semester course, Sociology 63993, are also available.  These pages make extensive use of Stata and SPSS. If you are mostly interested in learning how to use Stata, the Stata Highlights page lists several of the most relevant handouts from both courses.  Some pages are more "stand alone" than others, so adjacent handouts may help clear up any questions you have.

These pages will be updated whenever I complete another session of the course, and possibly sooner.  Notes from the current semester when the course is being taught can be found here.

Feel free to email Richard Williams if you have comments or suggestions.

NOTE: The following special types of files are used on this web page.

SPSSWIN files.

Stata 8 files.

Useful sites for learning about Stata and SPSS

 Rich Williams' Stata Highlights Page Ben Jann's estout/esttab support page (esttab & estout are great for formatting output from Stata)

PART I: Descriptive statistics, probability, distributions, confidence intervals, intro to hypothesis testing.

Subscripts and Summations (Excerpt from Harnett; read part A-1 only.  Reviews mathematical notation you may or may not already be familiar with)

Using Stata for Descriptive Information and Statistics (from UCLA; skim)

univar.sps - Simple SPSS univariate statistics program used in handout (you can run this yourself if you want)

Simple Stata univariate statistics program used in handout (you can run this yourself if you want)

Homework # 1 (Due Sept. 8)

hw01-ans.sps - SPSS solutions to problems 1 & 2

hw01-ans.do - Stata solutions to problems 1 & 2

Homework # 2 (Due Sept 15)

ci-II.dta and ci-III.dta -- Stata raw data files used for Case II and III in the CI handout

Homework # 3 (Due Sept 22)

PART II: Hypothesis testing.

1sample-II.dta and 1sample-III.dta -- Stata raw data files used for Case II and III in the one sample tests handout

Homework # 4 (Due Oct 6)

2sample.sps - Shows how to use SPSS for cases II, III, IV, and a way to approximate case V

2sample-II.dta, 2sample-III.dta, 2sample-IV.dta, 2sample-V.dta -- Stata raw data files used for Cases II, III, IV and V in the two sample tests handout

Homework # 5 (Due Oct 13)

hw05-ans.sps - Spss program for solving homework 5

Categ.sps - Shows how to use SPSS for Categorical Data Analysis

categ-I.dta, categ-II.dta, categ-III.dta-- Stata raw data files used for Cases I. II, III,  in the categorical data analysis handout

Multiple/Post Hoc Group Comparisons in Anova (New topic added in 2004 - and hopefully correct!)

oneway.sps - Shows how to use SPSS for One-Way ANOVA

oneway.dta - Data file used in the Stata One-Way ANOVA handout

Homework # 6 (Due Oct 27)

hw06-8c.dta - Optional data files you can use for hw #6

hw06-ans.sps - Spss program for solving homework 6

twoway.sps - Shows how to use SPSS for Two-Way ANOVA

twoway.dta - Data file used in the Stata Two-Way ANOVA handout

Homework # 7 (Due Nov 3)

hw07.sav hw07.dta-- You can either use these or enter the data by hand for HW #7

hw07-ans.sps - Spss program for solving homework 7

PART III: Bivariate and multivariate regression

reg01.sav - Data file used in the SPSS Regression handout

reg01.dta - Data file used in the Stata Regression handout

bivar.sps - Shows how to use SPSS for bivariate regression

Homework # 8 (Due Nov 10)

hw08.sps - You need this to do HW # 8

hw08-ans.sps - SPSS Solutions to HW #8

Homework # 9 (Due Nov 17)

hw09.sps - You need this to do HW # 9

hw09-1.dta, hw09-2.dta, hw09-5.dta -- Stata data files for HW # 9

hw09-ans.sps - SPSS Solutions to HW #9

Supplemental Notes on Standardized coefficients

Supplemental notes on Semipartial correlations

Homework # 10 (Due 12/8)

hw10.sps - You need this to do HW # 10

hw10-2.dta -- Stata data file for HW # 10