Directions:
The Armed Forces Qualification Test (AFQT) is a multiple-choice test designed to measure an individual’s reasoning and verbal skills to assess their suitability for various military service roles. Throughout the 1970s the test was applied very broadly, which led to percentile scores on it becoming a commonly used measure of general intelligence.
afqt <- read.csv("https://remiller1450.github.io/data/AFQT.csv")
The data provided above are a random sample of \(n=2584\) Americans who took the AFQT in 1979, then were interviewed in 2006 about their income and educational attainment (number of years of formal education).
AFQT (x-axis) and the
outcome Income2005 (y-axis). Do these variables appear
related? If so, describe the direction, strength, and form of the
relationship.AFQT to predict Income2005. Print a summary of
the model and interpret the fitted slope coefficient.AFQT scores are
associated with higher incomes and higher amounts of education. If
higher educational attainment is also associated with a higher income,
do you expect the marginal effect of AFQT on
income to be larger or smaller than the adjusted effect
(adjusting for differences in education)? Briefly explain your
reasoning.AFQT and Educ to predict
Income2005. Print a summary of this model and interpret the
fitted slope coefficient of AFQT.\(~\)
The Indoor Obstacle Course Test (IOCT) is an obstacle course that all Cadets at West Point Academy are tested on and must successfully complete prior to graduation. The data set below records IOCT completion times for 384 graduates of the academy:
ioct = read.csv("https://data.scorenetwork.org/data/ioct_west_point.csv")
height and IOCT_Time. Based upon this
correlation, do taller Cadets tend to finish the course faster or slower
than shorter Cadets? Briefly explain.IOCT_Time ~ height and interpret the slope coefficient that
describes the effect of changes in height on the expected completion
time in the fitted model.sex and height
are associated in these data. Using your visualization, briefly explain
whether or not you believe these variables are associated.sex and
IOCT_Time are associated in these data. Using your
visualization, briefly explain whether or not you believe these
variables are associated.IOCT_Time ~ height + sex and interpret the slope
coefficient that describes the effect of height on the expected
completion time in the fitted model.height, sex, and
weight to predict IOCT_Time. Interpret the
coefficient of sexM in this model.height changes
substantially depending upon whether sex and
weight are included in the model, but the coefficient of
sex tends to be similar (between -80 and -90) regardless of
which other predictors are in the model. Explain why the estimated
effect of height depends so strongly on the other variables included in
the model, while the estimated effect of sex changes relatively
little.