Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 4
Stat209/Ed260 D Rogosa
1/18/09
Assignment 2.
Experiments and Observational Studies
Formulation for causal inference
1. NeymanHollandRubin formulation
Create some counterfactual data (following Holland 1988 appendix)
from Thursday lecture ma
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 2
Stat209/HRP239/Ed260 D Rogosa
1/12/09
Assignment 1.
Review and some extensions: Multiple Regression
1. Yule's Data via Freedman (deep review regression)
Yule (1899), An investigation into the causes of changes in pauperism in England,
chiefly
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 10
Stat209/ Ed260
3/9/09
Solutions
Week 9 Exercises: Lord's Paradox, Repeated measures anova, Growth Curves
1. Lord's paradox example
Basic idea here is to illustrate the contrast between adressing the
descriptive question: who changed? or who c
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 4
Stat209/Ed260
3/9/09
Week 9 Exercises: Lord's Paradox, Repeated measures anova, Growth Curves
1. Lord's paradox example
a. construct a twogroup prepost example with 20 observations in
each group that mimics the description in Lord (1967):
st
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 3
Stat209/Ed260 D Rogosa
2/26/09
Assignment 8.
Matching and propensity score methods
cf Lab 4 for aditional matching exercises
Problem 1.
Matching to increase precision: Randomized blocks designs
From NeterWasserman problem DENTAL PAIN.
An anes
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 2
Stat209/Ed260 D Rogosa
2/28/09
Solutions Assignment 7.
Compliance and experimental protocols; intent to treat
Problem 1
> library(vcd)
# visualizing categorical data is a package that gives many odds ratio
capabilities. In base R fisher.test g
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 3
Stat209/Ed260 D Rogosa
2/20/09
Assignment 7.
Compliance and experimental protocols; intent to treat
Problem 1
In the linked materials from Michael P. LaValley Boston
University "Intenttotreat Analysis of Randomized Clinical
Trials" the class
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 3
Stat209/Ed260 D Rogosa
2/20/09
Solutions Assignment 6.
Instrumental variable methods, simultaneous equations
see also Lab3 exercises
Problem 1. Schneider et al Public School choice
reprinted paper also available Jstor
Institutional Arrangemen
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 1
Stat209/Ed260 D Rogosa
Assignment 6.
2/14/09
Instrumental variable methods, simultaneous equations
see also Lab3 exercises
Problem 1.
Freedman section 8.7, Schneider et al Public School choice
From the text description and reprinted paper (ba
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 8
Stat209/Ed260 D Rogosa
2/20/09
Solutions Assignment 5.
The many uses and forms of analysis of covariance
Problem 1
The prediction equation to work from is
S = 1900 + 230*B + 18*A + 100*E + 490*D + 190*Y + 50*T  2400*X
The coefficient of T in
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 3
Stat209/Ed260 D Rogosa
Assignment 5.
2/8/09
The many uses and forms of analysis of covariance
1.Background: categorical predictors
A study of several hundred professors' salaries in a large
American university in 1969 (AER, 1973, p.469) yield
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 6
Stat209/Ed260 D Rogosa
1/31/09
Solutions Assignment 4.
Multilevel data, ecological fallacy
Problem 1
Following p.750 Greenland and Robins American Journal of
Epidemiology Vol. 139, No. 8: 747760
Reading through their exposition probably is he
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 2
Stat209/Ed260 D Rogosa
Assignment 4.
1/30/09
Multilevel data, ecological fallacy
NOTE: R multilevel (random effects) modelling (lme) exercises in Lab 2
Problem 1. Ecological fallacy: Is Radon good for you?
Consider the artificial data exampl
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 1
Stat209/Ed260 D Rogosa
Assignment 3.
1/25/09
Path Analysis
problem 1. Freedman, BlauDuncan example
(computations: replicate class handout, plus questions
scan of pp.8081 at
http:/wwwstat.stanford.edu/~rag/stat209/DAFtextp8081.pdf
includes s
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 4
Stat209/Ed260 D Rogosa
1/25/09
Solutions
Assignment 2.
Experiments and Observational Studies. Formulation for causal inference
1. NeymanHollandRubin formulation
Create some counterfactual data (following Holland 1988 appendix)
100 (experime
Understanding Statistical Models and their Social Science Applications
STATS 209

Winter 2009
Page 1 of 6
Stat209/ D Rogosa
1/18/09
Solutions Assignment 1.
Assignment 1.
Review regression, properties of regression coefficients
1. Yule's Data via Freedman (deep review regression)
The purpose here is just to get started reading in data and
doing sta