討論串[問題] 請問如何用R做Z-test
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
#現在作一個function,參數有x,sigma,conf.level(直接設定為0.95)n是x這個array的長度、xbar是x這個array的meanalpha是1 - conf.levelzstar是常態分配機率為(1-alpha/2)的數值SE是sigma/根號n這行就是把上面定義的乘一
(還有188個字)
內容預覽:
Create 15 random numbers that are normally distributed with mean 10 and s.d. 5. Find a 1-sample z-test at the 95% level. Did it get it right?. 這是我們的作業
(還有274個字)
首頁
上一頁
1
下一頁
尾頁