We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In chapter 13.3 is the definition of the dummy variable "race" not correct.
# generate subset with kindergarten data STARK <- STAR %>% transmute(gender, ethnicity, stark, readk, mathk, lunchk, experiencek, schoolidk) %>% mutate(black = ifelse(ethnicity == "afam", 1, 0), race = ifelse(ethnicity == "afam" | ethnicity == "cauc", 1, 0), boy = ifelse(gender == "male", 1, 0))
In the ifelse() statement, the values 0 and 1 should be switched, according to the definition in the textbook.
ifelse()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In chapter 13.3 is the definition of the dummy variable "race" not correct.
In the
ifelse()
statement, the values 0 and 1 should be switched, according to the definition in the textbook.The text was updated successfully, but these errors were encountered: