0
在這個binom測試中,樣本估計的含義是什麼。他們似乎沒有改變porbability of success
的變化。我試圖在文檔和Google上找到它的含義,但看不到它。我也試着手動計算它,檢查它是否意味着任何事情,但我仍然看不到它的真正含義。 有什麼想法?R中的這個binom測試中的樣本估計值是什麼意思?
binom.test(60,300,0.3)
Exact binomial test
data: 60 and 300
number of successes = 60, number of trials = 300, p-value = 0.0001137
alternative hypothesis: true probability of success is not equal to 0.3
95 percent confidence interval:
0.1562313 0.2498044
sample estimates:
probability of success
0.2
binom.test(60,300,1/6)
Exact binomial test
data: 60 and 300
number of successes = 60, number of trials = 300, p-value = 0.1216
alternative hypothesis: true probability of success is not equal to 0.1666667
95 percent confidence interval:
0.1562313 0.2498044
sample estimates:
probability of success
0.2
binom.test(60,300,0.5)
Exact binomial test
data: 60 and 300
number of successes = 60, number of trials = 300, p-value < 2.2e-16
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
0.1562313 0.2498044
sample estimates:
probability of success
0.2
你從哪裏看到「樣本估計」這個術語?我沒有在幫助文件中看到它。無論如何,通過執行''binom.test',你會看到函數調用,比如'binom.test(60,300,0.3)'對零假設'H_0:p = 0.3'進行測試。在零假設下,概率分佈是「二項式(300,0.3)」,並且觀察到的成功概率是「60/300 = 0.2」。所以在上面的所有例子中,我們都有相同的觀測概率「60/300」。假設是什麼在改變。讓我知道如果這有助於需要進一步澄清。 – jav