R में संख्यात्मक डेटा के लिए Inference
Mine Cetinkaya-Rundel
Associate Professor of the Practice, Duke University
किसी दिन, Craigslist Manhattan पर "by owner" सूचीबद्ध अपार्टमेंट्स में से बीस 1 BR अपार्टमेंट्स को रैंडम चुना गया।
मैनहैटन में सामान्य किराए का बेहतर माप कौन सा है: mean या median?

sample median = $2,350


एक bootstrap sample लें - मूल सैंपल से, उसी आकार का, with replacement लिया गया रैंडम सैंपल।
bootstrap statistic निकालें - mean, median, proportion आदि जैसा कोई आँकड़ा, bootstrap samples पर गणना करें।
चरण (1) और (2) कई बार दोहराएँ और bootstrap distribution बनाएँ - bootstrap statistics का वितरण।
library(infer)
___ %>% # data frame से शुरू करें
specify(response = ___) %>% # रुचि वाला वैरिएबल बताएँ
library(infer)
___ %>% # data frame से शुरू करें
specify(response = ___) %>% # रुचि वाला वैरिएबल बताएँ
generate(reps = ___, type = "bootstrap") %>% # bootstrap samples जनरेट करें
library(infer)
___ %>% # data frame से शुरू करें
specify(response = ___) %>% # रुचि वाला वैरिएबल बताएँ
generate(reps = ___, type = "bootstrap") %>% # bootstrap samples जनरेट करें
calculate(stat = "___") # bootstrap statistic निकालें
library(infer)
___ %>% # data frame से शुरू करें
specify(response = ___) %>% # रुचि वाला वैरिएबल बताएँ
generate(reps = ___, type = "bootstrap") %>% # bootstrap samples जनरेट करें
calculate(stat = "___") # bootstrap statistic निकालें

library(infer)
___ %>% # data frame से शुरू करें
specify(response = ___) %>% # रुचि वाला वैरिएबल बताएँ
generate(reps = ___, type = "bootstrap") %>% # bootstrap samples जनरेट करें
calculate(stat = "___") # bootstrap statistic निकालें

R में संख्यात्मक डेटा के लिए Inference