R 中的線性迴歸推論
Jo Hardin
Professor, Pomona College

置換資料的斜率

Bootstrap 資料的斜率

twins %>%
specify(Foster ~ Biological) %>%
hypothesize(null = "independence") %>%
generate(reps = 100, type = "permute") %>%
calculate(stat = "slope")
twins %>%
specify(Foster ~ Biological) %>%
generate(reps = 100, type = "bootstrap") %>%
calculate(stat = "slope")
置換資料的斜率

Bootstrap 資料的斜率

R 中的線性迴歸推論