LoslegenKostenlos loslegen

Test for a difference in median test scores

The High School and Beyond survey is conducted on high school seniors by the National Center of Education Statistics. We randomly sampled 200 observations from this survey, and these data are in the hsb2 data frame (which is already loaded for you). Among other variables, this data frame contains scores on math and science scores of each sampled student.

Diese Übung ist Teil des Kurses

Inference for Numerical Data in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Add a column, diff, of math minus science
hsb2 <- hsb2 %>%
  ___
Code bearbeiten und ausführen