STAT 213: Homework and Quizzes

- Textbook: 5.14, 5.20, 5.22, 5.28, 7.12
- Note: For 5.22, in addition to the questions in the book, write down the model in two forms: (1) standard ANOVA form, and (2) standard regression form using binary indicator variables, and interpret the coefficients in each form.
- SLOs: I1-I4, J1-J5

- SLOs: F2-F7
- Also graded on four “Application and Integration” dimensions

- Textbook: 6.14 (see note), 6.28 (see note)
- Note: For 6.14, in addition to the question in the book, fill in a complete ANOVA table and interpret the results (there is no context given for this data, so just interpret it in terms of the factors “Sex” and “Substance”)
- Note: For 6.28, In addition to the questions in the book, write down the model in standard ANOVA form and interpret the coefficients.
- SLOs: I5, K1-K5, L1-L5

- SLOs: C5, C6, E3-E4, most of F-L

- An opportunity to revisit several earlier concepts and replace earlier grades

- You may revise and resubmit one of the two projects from earlier in the semester. Note that in the case of project 2 you will likely not have feedback until the Friday before this is due.

- Sign up for a 10-minute individual meeting with me here if you haven’t taken a course with me before
- Take the background survey here

- Work through the handout here. Solutions are on Blackboard. You do not need to turn anything in.
- Alternatively (or in addition) you could do the first chapters of some or all of the Data Camp tutorials linked on the Resources page
- This homework consists of one of the R intro labs from STAT 113 and will guide you through installation of R and RStudio, and get you familiar with the RStudio environment and some basic R syntax. If you took STAT 113 with me, you did this all already. If you took STAT 113 or 114 with someone else, or you otherwise have experience with R, you are likely familiar with most of the ideas, but may want to skim it and try out parts that seem unfamiliar. If your intro stat experience did not involve R at all, you will probably want to do the whole thing.

- Work through the handout here. Solutions are on Blackboard.
- This homework is an introduction to simple linear regression modeling in R. It is a combination of two other STAT 113 labs, and so again, if you took STAT 113 with me, you did this all already. If you took STAT 113 or 114 with someone else, or you otherwise have experience with R, you are likely familiar with most of the ideas, but may want to skim it and try out parts that seem unfamiliar. If your intro stat experience did not involve R at all, you will probably want to do the whole thing.

- Textbook 0.12, 0.17, 0.19, 1.6, 1.8, 1.10(a-b), 1.26
- Note: In question 0.17, write out the prediction equations for your models, and interpret each coefficient.
- SLOs: A1, A2, B1, B2, C1
- Note: all datasets mentioned in bold in the book are in the
`Stat2Data`

package in R.

- SLOs: some of A1, A2, B1, B2, C1

- Textbook: 1.10(c), 1.30, 2.14, 2.35(a-b)
- SLOs: C3, C4, D1-D2
- Note: all datasets mentioned in bold in the book are in the
`Stat2Data`

package in R.

- SLOs: some of C3, C4, D1-D2

- Textbook: 2.34, 2.35(c-d), 2.36, 3.6(a-b). For all models that you define, indicate what each coefficient represents (this is not asked for in the book)
- In 2.36, give a clear interpretation of the confidence and prediction intervals discussed in part (b)
- SLOs: D3, D6

- SLOs: D3, D6, revisit C1, D2

- Textbook: 3.6(c), 3.7, 3.8, 3.20
- SLOs: A4-A5, D1, E2

- SLOs: A4-A5, B4-B5, E2

- Textbook: 3.16, 3.22, modified 3.36 in this handout, 4.2(a-b), 4.14.
- Note: For 4.14, write out the prediction equations for each model and interpret the coefficients.
- In general, you should always interpret each quantity that you provide in context (for example, R squared). The textbook does not always explicitly ask for this.
- SLOs: A2, A6, B2, B6, D3-D5, E1, E2

- SLOs: Many from A-E, except E3-E5
- Specifically: A1-A6, B1-B6, C1-C4, D1, D2, D6, E1

- Textbook: 4.2(c), 3.23, 3.31
- SLOs: C5, D3, D4

- SLOs: C5, C6

- Textbook: 4.4, 4.7, 4.8
- SLOs: E3-E5

- SLOs: E3-E5

- SLOs: C2, C3, C4, D7, E5
- Also graded on 4 “Application + Integration” dimensions

- Textbook: 9.1-9.4, 9.6, 9.8, 9.14, 9.16. In 9.14 and 9.16, interpret the coefficients in terms of the
*odds*of the relevant outcome, and in the case of 9.14, find and interpret corresponding confidence intervals for the baseline odds / change in odds. - SLOs: F1-F3, G1, H1, H2, H3

- SLOs: Some of F1-F3, G1, H1, H2

- Modified 10.8 in this handout, 10.17, 10.18. In 10.17-10.18, find and interpret confidence intervals for the probability of survival for the patient with ID 4.
- SLOs: F2-F6, G1-G3, H1, H2, H4, H5

- SLOs: Some of F2-F6, G1-G3, H1, H2, H4, H5, likely emphasis on those SLOs not on Quiz 7