Course Outline

list High School / Advanced Statistics and Data Science I (ABC)

Book
  • High School / Advanced Statistics and Data Science I (ABC)
  • High School / Statistics and Data Science I (AB)
  • High School / Statistics and Data Science II (XCD)
  • College / Introductory Statistics with R (ABC)
  • College / Advanced Statistics with R (ABCD)
  • College / Accelerated Statistics with R (XCD)"
  • Skew the Script: Jupyter
  • CKHub: Jupyter made easy

10.8 Chapter 10 Review Questions

require(coursekata) set.seed(7) newborns <- sample(Gestation, 500) newborns$inc <- recode(newborns$inc, "0-2500" = "$0-12,500", "2500-5000" = "$0-12,500", "5000-7500" = "$0-12,500", "7500-10000" = "$0-12,500", "10000-12500" = "$0-12,500", "12500-15000" = "$12,500-22,500", "15000-17500" = "$12,500-22,500", "15000+" = "$12,500-22,500", "17500-20000" = "$12,500-22,500", "20000-22500" = "$12,500-22,500") newborns$income <- factor(newborns$inc, levels = c("$0-12,500", "$12,500-22,500")) newborns <- select(newborns, gestation, wt, age, ed, dage, ded, income, smoke) newborns <- filter(newborns, smoke == "never"|smoke == "now") newborns <- filter(newborns, income != "NA") # run your code here
CK Code: C1_Code_Review1_01
require(coursekata) set.seed(7) newborns <- sample(Gestation, 500) newborns$inc <- recode(newborns$inc, "0-2500" = "$0-12,500", "2500-5000" = "$0-12,500", "5000-7500" = "$0-12,500", "7500-10000" = "$0-12,500", "10000-12500" = "$0-12,500", "12500-15000" = "$12,500-22,500", "15000-17500" = "$12,500-22,500", "15000+" = "$12,500-22,500", "17500-20000" = "$12,500-22,500", "20000-22500" = "$12,500-22,500") newborns$income <- factor(newborns$inc, levels = c("$0-12,500", "$12,500-22,500")) newborns <- select(newborns, gestation, wt, age, ed, dage, ded, income, smoke) newborns <- filter(newborns, smoke == "never"|smoke == "now") newborns <- filter(newborns, income != "NA") # run your code here
CK Code: C1_Code_Review1_02

Responses