I'm trying to perform a Chi Square Test on R but not getting a correct rejection rate?

前端 未结 0 1321
醉酒成梦
醉酒成梦 2020-11-27 06:34
ChiTest = function(bin,sample) {
  observed <- hist(sample,breaks=seq(0,4,by=1/bin),plot=FALSE) ;
  return((bin/length(sample))*sum((observed$counts-length(sample         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题