Welcome to STAT 770/BIOS 805, Categorical Data Analysis. This page contains updates to the course syllabus, computer notes from class, homework assignments and important notices. Send any questions to grego@stat.sc.edu

- Syllabus
- Notices
- Project draft is due Wednesday, April 21
- Project oral presentations are Friday, April 23 and Monday, April 26
- Alan Agresti's support web site

- Project draft is due Wednesday, April 21
- Homework
- Exercises
- Section 1.2 group exercise (Categorical data distributions)
- Section 1.3-1.4 group computer exercise (Binomial/Poisson inference)
- Section 1.5 group exercise (Multinomial inference)
- Chapter 2 group exercise (2x2 design)
- Sections 3.1-3.3 group exercise (2-way table test for independence)
- Chapter 3 group computer exercise (Tests of ordinal association)
- Section 3.5 group exercise (Distribution of IxJ table under independence and fixed marginals)
- Chapter 4 group computer exercise (Poisson regression)
- Section 5.3 group computer exercise (Logit Models)
- Section 5.4 group exercise (Multiple Logistic Regression)
- Section 6.2 exercise and data (ROC Curve)
- Section 6.6 exercise and data (Probit regression)
- Section 7.2 in-class exercise (Cumulative Logit Models)
- Chapter 8 group exercise (Loglinear Models)

- Section 1.2 group exercise (Categorical data distributions)
- SAS code and notes
- SAS documentation
- SAS code for Chapter 2 contingency table (Measures of Association)
- SAS code for Sections 3.1-3.3 group exercise on Christmas Bird Count data (Chi-squared Test of Independence)
- SAS code for Section 3.1-3.4 partitioning of Christmas Bird Count data
- SAS code for partitioning of Binge drinking data
- SAS code for Exact test with SIC data and OSHA SIC search website .
- SAS code for Horseshoe Crab data (Poisson Regression)
- SAS code for Horseshoe Crab data residual analysis
- SAS code to demonstrate ZIP model fitting for Poisson data without and with a covariate
- SAS code for logistic regression exercise with factors
- SAS data set for logistic regression exercise with factors
- SAS stepwise code to start HW 5.27
- SAS code for Section 6.3 Cochran-Mantel-Haenszel in-class demo
- SAS code for Section 6.2 and 6.6 exercise (ROC; Logistic and Probit Regression)
- Section 7.1 SAS code (Multinomial Logit Models)
- SAS code for proportional odds and non-proportional odds models
- SAS code for loglinear models using GSS data
- SAS code for a linear-by-linear association model.
- SAS code for marginal homogeneity models using polygraph data
- SAS code for symmetry and quasi-symmetry models using polygraph data
- SAS code for a population-averaged marginal model using GSS data
- SAS code from a student project with some useful macro programming.

- SAS documentation
- R code and notes
- Don Edward's R primer
- Poisson Likelihood plot (Section 1.3)
- Poisson Likelihood-based CI (Section 1.3)
- Exact coverage for Clopper-Pearson CI (Section 1.4)
- Verifying the rank of a Multinomial covariance matrix
- R code for a set of functions and sample session demonstrating Clogg, Lindsay, and Rudas's method for mixing an independent table and fully nonparametric table.
- R code for Feral Hog contingency table
- R code for Exact test with SIC data
- R code for the pexact function used in class and on the midterm
- R function for Section 6.5 sample size calculation
- R code for Section 6.5 sample size contour plot
- R code for Section 6.6 exercise (Probit and Logistic Regression)
- R code to simulate multinomial probabilties for GPA/OIR example.
- R code to simulate multinomial data for polygraph examples.
- R code to compute conditional MLE's for marginal effects in a 2^T table.
- R code to compute conditional MLE's for marginal effects in a capture-recapture experiment.
- R code to compute unconditional MLE's for marginal effects in a capture-recapture experiment.

- Don Edward's R primer
- Data sets and other code
- Powerpoint file of feral hog foraging activity
- Tomonori Ishikawa's Excel worksheet for HIV-AIDS Bayes posterior probabilities (See overview of Rapid HIV testing for recommendations on specificity, prevalence and sensitivity and other details
- Roger Berger's Unconditional 2x2 web site and some supporting documentation
- General information on horseshoe crabs

- Powerpoint file of feral hog foraging activity
- Midterm Exam
- Final Exam
- 2004 final exam
- Tab-delimited text file for Problem 1 of Final Exam
- 2007 final exam
- Tab-delimited text file for Problem 1 of 2007 Final Exam
- 2010 final exam
- Tab-delimited text file for Problem 1 of 2010 Final Exam
- Space-delimited text file (no variable names) for Problem 5 of 2010 Final Exam

- 2004 final exam
- Project information

Return to Department of Statistics Home Page