Eğim için simülasyon tabanlı GA

R'de Doğrusal Regresyon için Çıkarım

Jo Hardin

Professor, Pomona College

R'de Doğrusal Regresyon için Çıkarım

Permütasyon vs. bootstrap değişkenliği

Permüte veriden eğimler

Bootstrap veriden eğimler

R'de Doğrusal Regresyon için Çıkarım

Permütasyon vs. bootstrap kodu

Permütasyon:
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")
R'de Doğrusal Regresyon için Çıkarım

Örnekleme dağılımı: rastgeleleştirme vs. bootstrap

Permüte veriden eğimler

Bootstrap veriden eğimler

R'de Doğrusal Regresyon için Çıkarım

Hadi pratik yapalım!

R'de Doğrusal Regresyon için Çıkarım

Preparing Video For Download...