Course Notes for 431
Working with These Notes
- This document is broken down into multiple chapters. Use the table of contents on the left side of the screen to navigate between chapters, or use the right side to navigate within the current chapter.
- You can also search the document, using an automated index.
- Any of the code provided in the document can be copied to the clipboard using the Copy icon at the top right of the code block.
- If you find a typo or other problem, please tell us about it through Campuswire.
- This is a draft document. The publication date is shown above. Later drafts (including, eventually, all three parts) will appear irregularly between now and December, so you’ll need to stay current.
- If, for some awful reason, you want to print or save this document, we recommend waiting until the semester is over to do so, when a more “final” version will be available.
What You’ll Find Here
These Notes provide a series of examples using R to work through issues that are likely to come up in PQHS/CRSP/MPHP 431. What you will mostly find are brief explanations of a key idea or summary, accompanied (most of the time) by R code and a demonstration of the results of applying that code.
While these Notes share some of the features of a textbook, they are neither comprehensive nor completely original. The main purpose is to give 431 students a set of common materials on which to draw during the course. In class, we will sometimes:
- reiterate points made in this document,
- amplify what is here,
- simplify the presentation of things done here,
- use new examples to show some of the same techniques,
- refer to issues not mentioned in this document,
but what we don’t do is follow these notes very precisely. We assume instead that you will read the materials and try to learn from them, just as you will attend classes and try to learn from them. We welcome feedback of all kinds on this document or anything else.
The 431 Course online
The online home for Dr. Love’s 431 course in Fall 2023 is
https://thomaselove.github.io/431-2023/.
Go there for all information related to the course.
All of the code and text in these Notes is posted online as HTML, and it is also possible to download PDF and ePub versions of the document from the down arrow next to the title (Notes for 431) at the top left of this screen. All data and R code related to these notes are also available to you through our course web site.
By the end of the semester, you will also have access to the Quarto files which generate everything in the document, including all of the R results. You will also use Quarto during the semester to complete your assignments, and so we will demonstrate the use of Quarto and RStudio (the “program” we use to interface with the R language) in class.