ढाल के लिए सिमुलेशन-आधारित CI

R में Linear Regression के लिए Inference

Jo Hardin

Professor, Pomona College

R में Linear Regression के लिए Inference

परम्यूटेशन बनाम बूटस्ट्रैप वैरिएबिलिटी

परम्यूटेड डेटा से ढालें

बूटस्ट्रैप्ड डेटा से ढालें

R में Linear Regression के लिए Inference

परम्यूटेशन बनाम बूटस्ट्रैप कोड

परम्यूटेशन:
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 में Linear Regression के लिए Inference

सैंपलिंग डिस्ट्रीब्यूशन: रैंडमाइज़ेशन बनाम बूटस्ट्रैप

परम्यूटेड डेटा से ढालें

बूटस्ट्रैप्ड डेटा से ढालें

R में Linear Regression के लिए Inference

अभ्यास करते हैं!

R में Linear Regression के लिए Inference

Preparing Video For Download...