If you use R, then it is quite easy. Like
x<-matrix(nrow=30, ncol=10, byrow=FALSE)#define the structure to store the data
for (i in 1:10){x[,i]=rchisq(30, 1,1)}#x from Chisquare (1)
x#is what you wanted
楼主: 八神小弟
|
7309
9
[问答] 请问如何生成独立同分布的卡方分布或者指数分布数据 |
大专生 53%
-
|
|
抱怨没有用,只有不断
|
|
| ||
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明