R 中的线性回归推断
Jo Hardin
Professor, Pomona College

置换数据的斜率

自助抽样数据的斜率

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")
置换数据的斜率

自助抽样数据的斜率

R 中的线性回归推断