Simulační IS pro sklon

Inference for Linear Regression in R

Jo Hardin

Professor, Pomona College

Inference for Linear Regression in R

Permutace vs. bootstrap – variabilita

Sklony z permutovaných dat

Sklony z bootstrapovaných dat

Inference for Linear Regression in R

Permutace vs. bootstrap – kód

Permutace:
twins %>% 
  specify(Foster ~ Biological) %>% 
  hypothesize(null = "independence") %>% 
  generate(reps = 100, type = "permute") %>% 
  calculate(stat = "slope")
Bootstrap:
twins %>% 
  specify(Foster ~ Biological) %>%  
  generate(reps = 100, type = "bootstrap") %>% 
  calculate(stat = "slope")
Inference for Linear Regression in R

Výběrové rozdělení: randomizace vs. bootstrap

Sklony z permutovaných dat

Sklony z bootstrapovaných dat

Inference for Linear Regression in R

Pojďme procvičovat!

Inference for Linear Regression in R

Preparing Video For Download...