Question
Let's start by creating a table of summary statistics for the test score variable and key student and teacher characteristics. Again, only focusing on the
Let's start by creating a table of summary statistics for the test score variable and key student and teacher characteristics. Again, only focusing on the kingergarten class.
First, create the test score variable and new female, white and freelunch indicators using the information in gender, ethnicity and lunchk. Note: Although ethnicity has six categories, all but a few students are either White or Black.
R Code
STAR2 <- STAR2 %>% mutate(white = case_when(ethnicity == "" ~ 1, TRUE ~ 0), #race female = case_when(gender == "" ~ 1, TRUE ~ 0), #gender freelunch = case_when(lunchk == "" ~ 1, TRUE ~ 0)) #lunch
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started