1
我使用的是BayesFactor
包,但我用兩個非常相似的代碼得到的相同的數據兩種不同的輸出。我想知道哪一個是正確的?BayesFactor包裝R:兩個不同的輸出
if(!require(BayesFactor)){install.packages('BayesFactor')}
require(BayesFactor)
##################################################
exp(ttest.tstat(t= 2 , n1=40, n2=40, nullInterval =c(0, Inf), rscale = sqrt(2)/2,
complement = FALSE, simple = FALSE)$bf) ### !CHECK THIS OUTPUT! ###
exp(ttest.tstat(t= 2 , n1=40, n2=40, nullInterval =c(0, Inf), rscale = sqrt(2)/2,
complement = FALSE, simple = TRUE)) ### !CHECK THIS OUTPUT! ###