阅读背景:

在R上进行chisq测试的置换数据和随机模拟

来源:互联网 

I am new to R and I am trying to compare a table of observed values with one of expected values and calculate chisq. As a part of my assignment, I need to compare the expected values table with a set of 999 tables that I created using random permutations from the observed values. I need to calculate the chisq value for each table (nsim=999) and then plot a histogram of all chisq values along with the actual chisq from observed data. Here is the data and codes I am using:I am new to R and I am trying to compare a tabl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: