1
我有一個關於如何在jstat庫中使用分配函數的問題。具體來說,我關注的是學生。如何調用jstat的studentt方法來獲取結果?
我已經試過這樣:
var alphaLevel = 0.05;
var degreesOfFreedom = 18;
// the answer I want to get is 2.100922
tStat = jStat.studentt(alphaLevel,degreesOfFreedom);
// but all that is returned is an object with
// members _a,_b,_c (_a=alphaLevel, _b=degreesOfFreedom,_c=undefined).
由於在jstat github上的網站解釋說,有靜態和實例函數之間的差異。然而,這是超過我的經驗與JavaScript如何做到這一點。
任何人都可以解釋如何正確調用studentt函數並獲得正確的結果嗎?
謝謝!
大,就足以讓我渡過了難關。善良謝謝! – user2324047