CSSS 508: Introduction to R for Social Scientists: Spring 2005


Syllabus | Week 1 | Week 2 | Week 3 | Week 4 | Week 5 | Week 6 | Week 7 | Week 8 | Week 9 | Week 10 | Final Exam

Description

This course will familiarize graduate students in the social sciences with the R environment for statistical computing.

Instructor

Cori Mar
Raitt Hall 218C
cmmar@u.washington.edu
(206) 616-6183

Time and Location

Friday 10:30am to 11:20am Savery Hall 149

Optional Lab

Friday 2 to 3:30 Savery Hall 135

Textbook

Dalgaard, Peter (2002). Introductory Statistics with R.
Springer-Verlag New York, ISBN 0-387-95475-9

Homework

Weekly reading and R assignments

Grading

Homework and final exam

Office Hours

TBA and by appointment


Schedule

Week 1 Overview

Overall structure of the language, strengths and weaknesses. Finding information and resources about R online. Installing and getting started with R. R workspace and command line interface.

Week 2 Basics

Objects and functions Vectors, arrays, and data frames Matrix operations Functions that operate on vectors Reading in and writing out data

Week 3 Distributions

Random sampling from a distribution The pdf, cdf, and quantile functions Simple loops.

Week 4 Writing functions

Passing parameters and returning results Loops and conditional statements

Week 5 More on functions

Doing repeated sampling simulations

Week 6 Plotting

Scatterplots, lines, boxplots, histograms etc

Week 7 More on plotting

Finer control of plotting parameters

Week 8 Linear regression

Using lm, plotting diagnostics

Week 9 More complex functions

Putting it all together

Week 10 Review

Final exam example

   CONTACT CSDE                                         UW LINKS: MyUW | Web Pine | Libraries | Computing | UWired | UW Directory | Campus Maps