Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Engineering Mathematics

Authors: Erwin Kreyszig

10th edition

470458364, 470458365, 978-0470458365

More Books

Students also viewed these Mathematics questions