Question #1

The Armed Forces Qualification Test (AFQT) is a multiple-choice aptitude test designed to measure an individual’s reasoning and verbal skills to determine their suitability for military service. Because the test has been so broadly applied, percentile scores are frequently used as a measure of general intelligence.

The data in this question are a random sample of \(n=2584\) Americans who were first selected and tested in 1979, then later re-interviewed in 2006 and asked about their education and annual income. The focus of this analysis will be modeling 2005 income of each respondent using AFQT scores (from 1979). The data contain the following variables of interest:

afqt <- read.csv("https://remiller1450.github.io/data/AFQT.csv")

\(~\)

Question #2

The “email spam” data set contains roughly 4000 emails received by the Gmail Account of the statistician David Diez in the early months of 2012. Additional details on the data can be found here; however, this question focuses on the variables below:

emails = read.csv("https://remiller1450.github.io/data/email_spam.csv")