Finger Exercises --- Due Tuesday, March 17, 1998
Please prepare answers for these exercises, to be turned in. Your grade will be based on how many questions you made a reasonably strong effort to answer, not how many questions you get right or partially right. There is no partial credit, but the grader may give you additional written feedback on each question you attempt.Feel free to discuss these exercises with each other and with me. You will get the most benefit from the grader's remarks, however, if the work you turn in is your own.
This hw, like most material for this course, is posted on the World Wide Web at URL http://www.stat.cmu.edu/~brian/402/ ; you can cut and paste data directly out of the TeX file if you wish. Look for something under week8 or week9.
There are three problems.

The following parts should be done more or less together.
402 > vote int2 op1 int1 yes no 1 int21 op11 int11 129 3 2 int22 op11 int11 1 2 3 int21 op12 int11 11 23 4 int22 op12 int11 0 1 5 int21 op11 int12 1 0 6 int22 op11 int12 12 11 7 int21 op12 int12 1 1 8 int22 op12 int12 2 68then we could fit logistic regression models as follows,
402 > attach(vote) 402 > YN _ cbind(yes,no) 402 > mymod <- glm(YN ~ [model terms invloving op1, int1, int2],family=binomial)