

Professor B. Jones
Department of Political
Science
Office Hours: M: 12:45-1:50,
T: 10-11:30 (NOTE CHANGE FROM SYLLABUS!)
NOTE: ERROR on
Syllabus: FINAL EXAM is THURSDAY DEC. 11 at 3:30 PM!
Course Syllabus
Problem Sets:
Homework 1: Fermi Questions (Due Oct.
6)
Analysis of Iowa Political
Stock Market Data (Will be posted on Monday, 10/13)
Homework
2: Iowa Stock Price Data, Hypotheses, and Visual Displays
Simulations and Sampling
(Due Nov. 12)
Homework
3: Simulations and Sampling
Interpreting and Plotting
Univariate Statistics (Due Nov. 26)
Homework
4: Univariate Statistics and Plotting
Data for HW 4 (Excel .csv format)
Data for HW 4 (Plain Text format)
Homework
5: Bivariate Statistics (Due day of Final Exam)
Lecture Slides
(Powerpoint/Beamer format)
Preliminaries
Some Data from the Election (as of Oct. 8)
An Introduction to R (written by M. Easton)
Measurement
and Related Issues
Surveys,
Sampling, and Probability
Univariate
Statistics and Plots of Variables in R
R
code for plots, z-scores, p-values, etc.
Hypothesis
Testing and the 1-sample t
Old Exams
Study Guide for Final Exam
Data:
Congressional Control
Pricing Data (to be used with Homework 2; note, you
will not use Excel or Stata.
Simply download these data to a working directory.) For
assistance, see R code below
using the Iowa Presidential Market data.
That could can
be adapted for this
assignment.
Excel Version (congress_price_data.csv)
Stata v. 10 (congress_price_data.dta)
Plain Text (congress_price_data.txt)
R Scripts, Examples, Output,
and Data Sets
Iowa
WTA Presidential Market: R Script in a Plain Text File
Iowa
WTA Presidential Market: Actual R script (.R file)
Plot
obtained from R script (in jpeg format)
Iowa
WTA Presidential Market Data (Stata v. 10; just download into working
directory)
R
Script for Sampling Used in Some Slide Sets
Information on R
R is a freely available
statistical computing environment.
To use R:
1. Download package (choose
Mac, Windows, etc.)
2. The program should be
self-executing.
3. Open R. You’ll see
a blank console.
4. Move cursor to
“file” in toolbar and click.
5. Then click on “New
Script.”
6. A window will open.
7. Type your R code there.
8. To run the code, highlight the text of
the code and right click and
select “run line or
selection.”
9. This will execute the
commands.
10. Output will show up in
console window.
11. I will post my R
script. You can cut and paste that
into the script window and
run it if you want to.
To access R, see the website
below.
Websites we will use this quarter:
<\bold>
The R Project
Iowa Political
Stock Market